From: Steven L. <st...@tu...> - 2003-04-08 21:15:03
|
+1 I like this idea. So the file would go in the base of the current theme's directory? Am I understanding this right? Then it could be "personalized" for any site. suggested file name: theme.php Steven >> Having the current date and time was brought up by someone else to me. >> Mike Windsor I believe. Definitely would be nice. > > How about if the displayTheme function included a preset file. > > file: extra.php (name unimportant) > > <?php > > $template["DATE"] = date("Ymd"); > $template["TIME"] = date("g:ia"); > $template["RANDOM_PIC"] = myPictureFunction(); > > ?> > > The template would be passed to the theme and all the admin would need to > do is create the appropiate {DATE} {RANDOM_PIC} tags. > > That way, the class would never have to change, people could create quick > and dirty php scripts to print in on their site. > > What do you think? > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Appalachian State University > Phone: 828-262-6493 > phpwebsite.appstate.edu > ess.appstate.edu > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |