Ignore:
Timestamp:
Dec 25, 2010, 1:15:46 PM (13 years ago)
Author:
rvelices
Message:
  • simplified inneficient css rules
  • template language key
  • group picture scripts on the bottom of the page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r8170 r8299  
    597597      if (count($this->scriptLoader->inline_scripts))
    598598      {
    599         $content[]= '<script type="text/javascript">';
     599        $content[]= '<script type="text/javascript">//<![CDATA[
     600';
    600601        $content = array_merge($content, $this->scriptLoader->inline_scripts);
    601         $content[]= '</script>';
     602        $content[]= '//]]></script>';
    602603      }
    603604
     
    11711172        (isset($_SERVER['HTTP_CACHE_CONTROL']) && strpos($_SERVER['HTTP_CACHE_CONTROL'], 'max-age=0') !== false)
    11721173        || (isset($_SERVER['HTTP_PRAGMA']) && strpos($_SERVER['HTTP_PRAGMA'], 'no-cache'));
    1173       if ($is_reload)
     1174      if (is_admin() && $is_reload)
    11741175      {// the user pressed F5 in the browser
    11751176        if ($is_css || $conf['template_compile_check']==false)
Note: See TracChangeset for help on using the changeset viewer.