From: Don S. <do...@se...> - 2003-04-08 14:41:56
|
Sounds good to me. Where is myPictureFunction() to be defined? Don. On Tue, 8 Apr 2003, Matthew McNaney wrote: > > 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 > > > |