Revision [19585]

This is an old revision of LatestAction made by JavierWilson on 2008-02-22 15:34:43.

 

Latest Action


See also:
This is the development page for the latest changes action.
 


<?php
if(!defined('REVISION_DATE_FORMAT')) define('REVISION_DATE_FORMAT', 'd M Y');
$max = 5;
$readable = 0;
$j = 0;
if ($pages = $this->LoadRecentlyChanged()) {
  foreach ($pages as $i => $page) {
    if (($j <= $max) && $this->HasAccess('read', $page['tag'])) {
      $readable++;
      list($day, $time) = explode(' ', $page['time']);
      $dateformatted = date(REVISION_DATE_FORMAT, strtotime($day));
      echo '&nbsp;'.$this->Link($page['tag'], '', '', 0).'<span class="datetime"> '.$dateformatted.'</span><br />'."\n";
      $j++;
    }
  }
}
?>
There is one comment on this page. [Display comment]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki