From: <g7c...@sn...> - 2001-03-24 22:59:19
|
----- Original Message ----- From: "Todd Owen to...@ow... XXXXXXXXXXXXXXXXXXX" <XXXXXXXXXXXXXXXXXXXXXXXXX> >Steven, could you elaborate on your XML idea? > --Todd Sure, here is an example of what I mean (this is a sample from phpweblog, which uses XML as it's layout format): Then you could design a "Layout/Theme Admin" page that would simply use PHP's XML facilities to read/write the theme files. You would only need one php script then, which would simply read in the appropriate XML file. Does that make sense? I am not an XML nor PHP wizard, but I think that XML would really help with making Themes easily designable. ------------------------------------------ ample ------------------------------------------- <?xml version="1.0"?> <layout> <info> <author>Stephen</author> <description>Steves Office</description> <version>0.5.0</version> </info> <item> <element>BgURL</element> <value></value> </item> <item> <element>LogoURL</element> <value>/images/StevesOffice.jpg</value> </item> <item> <element>FgColor</element> <value>#000000</value> </item> <item> <element>LinkColor</element> <value>#000000</value> </item> etc.. |