[Phplib-trackers] [ phplib-Feature Requests-526615 ] Template addition
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2002-04-11 16:30:14
|
Feature Requests item #526615, was opened at 2002-03-06 14:44 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403614&aid=526615&group_id=31885 Category: None Group: None >Status: Deleted Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Template addition Initial Comment: I would like a conditional flag for the set_file fuction that cleans all <html> to <body> tags and all </body to </html> tags. This would allow our designs to work in a regular html file with back grounds and standard CSS etc. while not duplicating the head info when parced. ---------------------------------------------------------------------- >Comment By: Layne Weathers (layne_weathers) Date: 2002-04-11 11:30 Message: Logged In: YES user_id=278685 The consensus among the PHPLib leadership has always been that logical elements should not be included in Template. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-03-07 19:46 Message: Logged In: NO Thank you, we use methods like that but we still rely on the designers etc. to do this consistently and constantly. Just would be nice to be able to clean with one boolean flag per file assignment instead. Looking at the comment I made, it makes more sence to clear everything from the begining of the file to the first occurence of '>' after '<body'. ---------------------------------------------------------------------- Comment By: Richard Archer (richardarcher) Date: 2002-03-07 14:41 Message: Logged In: YES user_id=279311 try something like: <!-- START HEAD --><html>...<body><!-- END HEAD --> <p>all your html here</p> <!-- START FOOT --></body></html><!-- END FOOT --> $t->set_block("the_page", "HEAD", head"); $t->set_block("the_page", "FOOT", "foot"); $t->set_var(array("head" => "", "foot" => "")); ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403614&aid=526615&group_id=31885 |