Changeset 2513 for trunk/picture.php


Ignore:
Timestamp:
Sep 9, 2008, 11:53:31 AM (16 years ago)
Author:
rvelices
Message:
  • fix typing error in index.tpl
  • added template smarty function known_script (e.g.{known_script id="x" src"y.js"}) - useful to avoid double inclusion of a script such as prototype,jquery,... when a template and plugin need it independently (see the use in admin.tpl for example)
  • removed unused themeconf.template_dir
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r2512 r2513  
    623623if ($page['slideshow'])
    624624{
    625   // Add local-slideshow.css file if exists
    626   // Not only for ligth
    627   $css = PHPWG_ROOT_PATH . get_themeconf('template_dir') . '/theme/'
    628        . get_themeconf('theme') . '/local-slideshow.css';
    629   if (file_exists($css))
    630   {
    631     //TODO CORRECT THIS $template->assign_block_vars('slideshow', array());
    632   }
    633 
    634625  $tpl_slideshow = array();
    635626
Note: See TracChangeset for help on using the changeset viewer.