##################################################################### # EDIT THE EXPORT LINE BELOW TO FIT YOUR NEEDS, BUT DO NOT UNCOMMENT! # Export = Macro, date_time ##################################################################### # Plugin Name = Date & Time # Author = Marko Kleen # Copyright = GPL -> see http://www.8t88.de/ # Purpose = Display Date and Time as "a running clock" ##################################################################### # Plugin types are specified in the EXPORT line above. # global: Your plugin is applied on all output # articles: Your plugin is applied on all articles' output # responses: Your plugin is applied on guestbook entries and comments # override: Your plugin overrides one of 8t88's existing subroutines # macro: Your plugin adds a new macro with new functionality ##################################################################### my $res = span({-id => 'date_time', -style => 'white-space: nowrap;', -title => 'Anzeige: Serverzeit'}, 'JavaScript Uhr').script({-type => 'text/javascript'}, ''); return ($res); ##################################################################### # USAGE: # # To use this plugin simply drop it into your "8t88's CMS v2" plugins # directory. Then replace the pragma " - Uhr" # in your template with . # # That's all, enjoy! ##################################################################### # EOF