View Single Post
  #24  
Old 05-17-2004, 09:01 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

Line 1769 is the tricky one but I'm working on it... I almost broke it!

Ok.. I fixed it, here it is:

Open 2.6.2 smarty.class.php in a text or other editor.

At the bottom of the page find this:

Code:
/**#@-*/ } /* vim: set expandtab: */ ?>

and change it to this:


Code:
/**#@-*/ # # ADDED FOR WEBMASTER MODE # function webmaster_include($_smarty_compile_path, $tpl_file) { if ($this->webmaster_mode) { $tag = "div"; foreach ($this->tagsTemplates as $tmplt=>$t) { if (ereg("^$tmplt\$", $tpl_file)) { $tag = $t; break; } } if ($tag!="omit") { ?><<?php echo $tag?> id="<?php echo $tpl_file?>" onMouseOver='dmo(event)' onMouseOut='dmu(event)' style="margin:0px;"><?php } } include($_smarty_compile_path); if ($this->webmaster_mode && $tag!="omit") { ?></<?php echo $tag?>><?php } } # # / ADDED FOR WEBMASTER MODE # } /* vim: set expandtab: */ ?>

DONE! The rest of the codes are just smoke and mirrors my friends
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
Reply With Quote