[commits] [Wiki] changed: CustomizingPreferencesH5

Wiki Guest wikiguest at horde.org
Thu Mar 6 09:33:33 UTC 2014


guest [194.95.66.21]  Thu, 06 Mar 2014 09:33:33 +0000

Modified page: http://wiki.horde.org/CustomizingPreferencesH5
New Revision:  6
Change log:  typo

@@ -89,9 +89,9 @@
  	return false;
  }
  </code>

-Save this function in a PHP file and use it in all hooks.php:
+Save this function in a PHP file and use it in all prefs_init()  
functions you need the user information, e.g. before the  
{{switch($prefs)}} statement:
  <code type="php">
      require_once(HORDE_BASE . '/lib/my_lib.php');
      $info = my_userinfo($username);
      if(!isset($info) || $info === false || $info == '') {



More information about the commits mailing list