[Solar-talk] layout generator
Paul M Jones
pmjones at solarphp.com
Fri Aug 4 06:47:47 PDT 2006
On Aug 2, 2006, at 1:54 PM, Rodrigo Moraes wrote:
> On 8/2/06, Jeff Surgeson wrote:
>> But I am looking foeward to Rodrigo's stuff, based on his other
>> helper it
>> should be good.
>
> Thanks for being so kind. :-)
>
> I've uploaded the OneTrueLayout app; please download it from here:
>
> http://wiki.tipos.org/doku.php?id=solar:index
Rodrigo wins the award for best inline comment of the week, in the
OneTrueLayout helper:
> // DANGER, OLD CODE!!! NEED REFACTORING! NO, A COMPLETE REWRITE!
> // DON'T LOOK! IT BURNS! AAAH! Ok. You were warned.
> Just put it in your SolarApp directory and then go to /onetruelayout.
> Voilá.
Problem in Layout/_one_true_css.php, you have short-open-tags.
Changed from <? to <?php and it works great. :-)
> ... and see five layouts without changes in the layout file itself.
Sweet!!! That's really cool.
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list