Last Updated Timestamp

From FundaWiki

Jump to: navigation, search

Insert the following some where in your index template.

   <?php
   
       $update = $parser->lastUpdate();
       if ($update["timestamp"]!=NULL) {
           print "Last updated on ".date("jS M Y", $update["timestamp"])." ".$parser->returnTime($update["timestamp"])." by ".email_filter("<a href=\"mailto:".$update["email"]."\">".htmlentities($update["fullname"])."</a>");
       }
   
   ?>

Note: this only works with the CVS head (and 2.1+)

Personal tools