On Tue, 2001-10-09 at 01:58, Robert Hart wrote: > My main problem with Obs::Html module, is the 'logic' that I used to > generate the various URL required for the add, show, remove, and admin > links. These started fairly simple, when I was just working on the obs > front-page, but got gradually more messy once, I had added djr, admin, and > sched (does this sched stuff actually do anything???).
No, the sched stuff was something I was tinkering with, but it never went anywhere. > Anyway, the code is in Obs::Html starting at lines 229, 287, 313, 337 for > example. I'll have to take a look at this in detail. I took a fleeting look at ui_branch last night, and it occurred to me that if the color/image constants were to be defined in a seperate module like Obs:HtmlDefs, we could have 'skin' support in Obs. We could write a program that takes an xml skin definition and then writes out the appropriate perl module with the constants and defines from the xml skin file. It wouldn't be possible to change skins on the fly, but anyone who can edit an xml file could change the skin... -- --ruaok Freezerburn! All else is only icing. -- Soul Coughing Robert Kaye -- [EMAIL PROTECTED] -- http://www.mayhem-chaos.net _______________________________________________ Obs-dev mailing list [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/obs-dev
