Re: Fw: Re: Strip <HTML>,<BODY> and similar from the beginning
| From: | Monte Ohrt | Date: | Mon, 12 Mar 2001 15:57:55 +0000 |
| Subject: | Re: Fw: Re: Strip <HTML>,<BODY> and similar from the beginning | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-375@lists.php.net to get a copy of this message | ||
Victor wrote:
>
> > sub file:
> > {if not $included}
> > <HTML>
> > <HEAD>
> > ...
> > {/if}
>
> Tried that, but DreamWeaver doesn't like if I put things (text lines, not scripts) before
> <HTML> (or <BODY> for that matter). I was hoping to remove them at runtime...
>
> // Victor
>
Does dreamweaver care about comments before <HTML>? Change your
delimiter syntax:
<!--{if not $included}-->
<HTML>
<BODY>
<!--{/if}-->
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/