1. 02 Mar, 2011 1 commit
  2. 11 Feb, 2010 1 commit
  3. 07 Feb, 2010 1 commit
  4. 21 Jul, 2009 1 commit
  5. 07 Jul, 2009 1 commit
  6. 27 May, 2009 1 commit
  7. 30 Mar, 2008 1 commit
  8. 24 Mar, 2008 1 commit
  9. 12 Oct, 2007 1 commit
    • nyloth's avatar
      [MOD] prefs and user prefs: $prefs array deployement in php + some small fixes · 86185302
      nyloth authored
      (Preliminary note : This is a deep modification in tikiwiki's prefs code. Please test first and send feedback if you can)
      
       * Now use the $prefs array everywhere (in php files also) instead of global vars. This will :
      
      	- allow to use prefs the same way in smarty and php ($prefs array),
      
      	- simplify all code parts that modifiy a preference, because when a pref is modified in php's $prefs array, it is also up-to-date in smarty $prefs array (everything is passed by reference now). So, no more need to reassign values in smarty each time,
      
      	- avoid duplication of values in memory,
      
      	- reduce risks of errors (e.g. collision in variables names, forget to add one of the "global $prefname", ...)
      
      
       * All user prefs are now retrieved in one query at tiki-setup stage (as site prefs) and also in session vars (when sessions are used). This will :
      
      	- reduce overhead and database queries after the first page
      
      
       * User prefs are now overriding $prefs. This will :
      
      	- simplify the whole usage of $prefs, because only one array is used (no more need, in general, to use tikilib's functions to get user prefs),
      
      	- set some $prefs['site_*'] (listed in the $user_overrider_prefs array of lib/setup/user_prefs.php) for some specific site prefs that needs to be accessed in php (for example when sending mails) and that could have been overrided with the corresponding user pref
      86185302
  10. 13 May, 2007 1 commit
  11. 13 Feb, 2007 2 commits
  12. 12 Feb, 2007 1 commit
    • nyloth's avatar
      [MOD] user contacts: · 9212b3c1
      nyloth authored
      - alter database structure for tables 'tiki_webmail_contacts_fields' and 'tiki_webmail_contacts_ext' in order to :
      	* add an 'order' field that will be used to store the position of each field in the contact list,
      	* add a 'show' field that will be used to specify if this field is shown in the contact list,
      	* add an auto_increment 'fieldId' field as the primary key of the 'tiki_webmail_contacts_ext' table, since it's better to use unique id instead of names,
      	* use a new field 'fieldId' in table 'tiki_webmail_contacts_fields' as the foreign key for the table 'tiki_webmail_contacts_ext' and remove the unuseful field 'name',
      
      - apply the default table look to 'User Contacts Preferences' -> 'Contacts Possible Fields' and use icons instead of text for actions,
      
      - don't show fields of a contact that are not listed in the user contacts possible fields (feel free to add it again if ou really need it)
      9212b3c1
  13. 08 Feb, 2007 1 commit
  14. 05 Feb, 2007 1 commit