1. 29 May, 2017 1 commit
  2. 17 Mar, 2016 1 commit
  3. 09 Dec, 2015 2 commits
  4. 06 Feb, 2015 1 commit
  5. 29 Sep, 2014 1 commit
  6. 01 Sep, 2014 2 commits
  7. 20 Apr, 2014 1 commit
  8. 05 Jan, 2013 1 commit
  9. 11 Dec, 2012 1 commit
  10. 20 Sep, 2012 1 commit
  11. 17 Mar, 2012 1 commit
  12. 12 Jan, 2012 1 commit
  13. 14 Aug, 2011 1 commit
  14. 11 Aug, 2011 1 commit
  15. 10 Aug, 2011 1 commit
  16. 02 Mar, 2011 1 commit
  17. 19 Jan, 2011 1 commit
  18. 29 Jun, 2010 1 commit
  19. 23 Jun, 2010 1 commit
  20. 17 Jun, 2010 1 commit
  21. 16 Jun, 2010 1 commit
  22. 03 Mar, 2010 2 commits
  23. 19 Feb, 2010 1 commit
  24. 11 Feb, 2010 2 commits
  25. 08 Feb, 2010 1 commit
  26. 25 Nov, 2009 1 commit
  27. 27 May, 2009 1 commit
  28. 12 Dec, 2008 1 commit
  29. 01 Sep, 2008 1 commit
  30. 13 Jul, 2008 1 commit
  31. 05 Jul, 2008 1 commit
  32. 11 Jun, 2008 1 commit
  33. 30 Mar, 2008 1 commit
  34. 24 Mar, 2008 1 commit
  35. 14 Oct, 2007 1 commit
  36. 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