equal
deleted
inserted
replaced
163 $this->add_header(' |
163 $this->add_header(' |
164 <!--[if lt IE 7]> |
164 <!--[if lt IE 7]> |
165 <script language="JavaScript"> |
165 <script language="JavaScript"> |
166 function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6. |
166 function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6. |
167 { |
167 { |
168 var arVersion = navigator.appVersion.split("MSIE") |
168 var arVersion = navigator.appVersion.split("MSIE"); |
169 var version = parseFloat(arVersion[1]) |
169 var version = parseFloat(arVersion[1]); |
170 if (version >= 5.5 && typeof(document.body.filters) == "object") |
170 if (version >= 5.5 && typeof(document.body.filters) == "object") |
171 { |
171 { |
172 for(var i=0; i<document.images.length; i++) |
172 for(var i=0; i<document.images.length; i++) |
173 { |
173 { |
174 var img = document.images[i]; |
174 var img = document.images[i]; |
746 'TEMPLATE_DIR'=>scriptPath.'/themes/'.$this->theme, |
746 'TEMPLATE_DIR'=>scriptPath.'/themes/'.$this->theme, |
747 'THEME_ID'=>$this->theme, |
747 'THEME_ID'=>$this->theme, |
748 'STYLE_ID'=>$this->style, |
748 'STYLE_ID'=>$this->style, |
749 'JS_DYNAMIC_VARS'=>$js_dynamic, |
749 'JS_DYNAMIC_VARS'=>$js_dynamic, |
750 'UNREAD_PMS'=>$session->unread_pms, |
750 'UNREAD_PMS'=>$session->unread_pms, |
751 'URL_ABOUT_ENANO' => makeUrlNS('Special', 'About_Enano', true) |
751 'URL_ABOUT_ENANO' => makeUrlNS('Special', 'About_Enano', '', true) |
752 ); |
752 ); |
753 |
753 |
754 foreach ( $paths->nslist as $ns_id => $ns_prefix ) |
754 foreach ( $paths->nslist as $ns_id => $ns_prefix ) |
755 { |
755 { |
756 $tpl_strings[ 'NS_' . strtoupper($ns_id) ] = $ns_prefix; |
756 $tpl_strings[ 'NS_' . strtoupper($ns_id) ] = $ns_prefix; |