View Single Post
  #19  
Old 05-17-2004, 05:51 AM
 
cmtrade cmtrade is offline
 

Advanced Member
  
Join Date: Dec 2003
Location: Florida
Posts: 30
 

Default

I found this in /smarty-2.5.0/smarty.class.php. It was all the way at the bottom, and it was not in 2.6.2 at all.

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 #

I added it, but it did not do the trick, i am sure that there are more things that the xcart people changed in 2.5.0 that need changing in 2.6.2.
__________________
Dan.
KingWebmaster, LLC
Professional Website Development
http://www.kingwebmaster.com
http://www.autodataentry.com
Reply With Quote