From: Matthew M. <ma...@tu...> - 2003-04-08 14:39:28
|
> 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 |