Re: [PHP Template] Revised proposal

From: Date: Thu, 17 Feb 2000 23:33:06 +0000
Subject: Re: [PHP Template] Revised proposal
References: 1 2 3  Groups: php.template 
Request: Send a blank email to php-template+get-133@lists.php.net to get a copy of this message
I like it specifically because it is familiar to those who know html, and it has the same semantics -- if not found, display alt text. -dan Monte Ohrt wrote: > Dan Libby wrote: > > > > my system actually had an alt="value" tag for unknowns. So for example: > > > > Welcome to {{sitename alt="Mysite.com"}} > > > > This may be bit confusing to a designer, as "alt" already has a > set meaning in HTML. Maybe another attribute name? (default?) > > > I think it is a pretty clean way of handling it in the templates without any > > code changes required. There was also an option to autohide an entire > > section if it contained unknowns with no alt attributes. This is useful for > > example to hide a table when no results are returned. > > > > -dan

« previous php.template (#133) next »