From: <ad...@tu...> - 2003-04-09 17:10:05
|
+1 to this idea from me...sorry so slow :) Adam > 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 >> >> >> > > > ------------------------------------------------------- > 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 > -- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |