Strip-Function

From: Date: Wed, 18 Apr 2001 19:56:06 +0000
Subject: Strip-Function
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-551@lists.php.net to get a copy of this message
Hi, is there any interest on a function that strips out some delimited string in the compiled template. Our designers are using Dreamweaver and DW Templates. So we have such tags in the HTML-Smaty-Templatefile <!-- #BeginTemplate "/Templates/Index.dwt" --> <!-- #BeginEditable "doctitle" --> <title><!--{$PAGETITLE}--></title> <!-- #EndEditable --> it would be nice to have a functions that strips out the comments delimited by "<!-- #" and "-->". Mabybe something like $strip = array("<!--#"=>"-->", more tags to strip); Maybe this is interesting for others too. What do you think? cu/andi

« previous php.smarty.general (#551) next »