Changeset 8299 for trunk/include/template.class.php
- Timestamp:
- Dec 25, 2010, 1:15:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r8170 r8299 597 597 if (count($this->scriptLoader->inline_scripts)) 598 598 { 599 $content[]= '<script type="text/javascript">'; 599 $content[]= '<script type="text/javascript">//<![CDATA[ 600 '; 600 601 $content = array_merge($content, $this->scriptLoader->inline_scripts); 601 $content[]= ' </script>';602 $content[]= '//]]></script>'; 602 603 } 603 604 … … 1171 1172 (isset($_SERVER['HTTP_CACHE_CONTROL']) && strpos($_SERVER['HTTP_CACHE_CONTROL'], 'max-age=0') !== false) 1172 1173 || (isset($_SERVER['HTTP_PRAGMA']) && strpos($_SERVER['HTTP_PRAGMA'], 'no-cache')); 1173 if ( $is_reload)1174 if (is_admin() && $is_reload) 1174 1175 {// the user pressed F5 in the browser 1175 1176 if ($is_css || $conf['template_compile_check']==false)
Note: See TracChangeset
for help on using the changeset viewer.