1. 26 Mar, 2009 1 commit
  2. 22 Mar, 2009 1 commit
    • luciash's avatar
      no code changes - put <!-- START of {$smarty.template} --> and <!-- END of... · e941e88d
      luciash authored
      no code changes - put <!-- START of {$smarty.template} --> and <!-- END of {$smarty.template} --> comments at the start and end of every tpl *except for mail templates* (i'm sorry for the long list of files to svn up)
      this will allow better debugging of the final rendered documents for developers and theme creators (in the rendered source code comment it shows the tpl filename and place where the included template starts and ends and also distinguishes if it's default or custom theme tpl file)
      if anybody feels they shouldn't be rendered in the source or that it could slow down the overall tiki performance significantly they can be easily removed by script each time the release tarballs will be prepared
      e941e88d
  3. 05 Jun, 2008 1 commit
    • nyloth's avatar
      [ENH] featured links: auto-resize the iframe height with javascript to match... · a365a887
      nyloth authored
      [ENH] featured links: auto-resize the iframe height with javascript to match the content height and avoid vertical scrollbars (when using a relative link, i.e. on the same site) + changed default height from 600 to 700px + remove iframe border (to better fake a tiki content).
      
      It is only done if the url does not start with a protocol (e.g. http://, https://, ...) because web browsers generate a security alert when trying to do this with an iframe content that is not on the website (same domain name) of the page that includes the iframe.
      
      a365a887
  4. 24 Mar, 2008 1 commit
  5. 06 Oct, 2007 1 commit
    • nyloth's avatar
      [MOD] tiki-setup: reorganize and divide tiki-setup in multiple smaller pieces · 437b6fa7
      nyloth authored
      Tiki-setup.php is now requiring code only when needed in files placed in lib/setup (as done before with lib/setup/prefs.php). This is mainly done to have an easier to understand what is done in tiki-setup and to group parts of code that are related (instead of mixing everything). This should also reduce a bit the overhead, since files in lib/setup are mostly required if the features using them are activated.
      
      This commit also includes some tiny changes :
        * change byref_set_value() to use simple_set_value(), because both use refs now,
        * auto-detect prefs that needs to be serialized/unserialized based on default values (should avoid missing prefs and should be more transparent for developpers), because it's done at another level (in tikilib and in lib/setup/prefs) => so, don't use serialized values in lib/setup/prefs.php
        * small typo in headerlib (matatags -> metatags)
        * remove some optional php closing tags to reduce risks (e.g. headers sent too early due to carriage return after the closing tag)
        * remove some unuseful smarty assignations and calls to get_preference()
        * don't use $prefs. prefix for 'title' (for the moment it's also assigned as $title)
        * assign headerlib in lib/headerlib.php, as it's done for others libs
      437b6fa7
  6. 04 Oct, 2007 1 commit
    • nyloth's avatar
      [ENH] prefs: Manage preferences in an array stored in session · ae4cb014
      nyloth authored
      The impact is :
        * accelerate each page load when using sessions (prefs are not set again and again + no need to ask again for prefs in database)
        * reduce memory used by tikiwiki (the prefs array is assigned to smarty as a reference and not a copy)
        * get rid of two useless "foreach" on prefs (default values are directly defined in prefs array and are overrided by values from database)
        * reduce the risk of accidentally overrided var in smarty
      
      Be warned that :
        * now, preferences need to be called through the $prefs smarty variable (e.g. $prefs.feature_wiki)
        * prefs are not anymore in tiki-setup.php, but in a specific file in lib/setup/prefs.php (this is the first commit of tiki-setup.php cleaning).
      ae4cb014
  7. 16 Mar, 2006 1 commit
  8. 23 Dec, 2003 1 commit
  9. 25 Sep, 2003 1 commit
  10. 01 Aug, 2003 1 commit
  11. 28 Oct, 2002 1 commit
  12. 08 Oct, 2002 2 commits