wb-archiv283/branches/2.8.x/wb/modules/droplets/example/ModifiedWhen.php @ 2100
1 |
//:Displays the last modification time of the current page
|
---|---|
2 |
//:Use [[ModifiedWhen]]
|
3 |
|
4 |
$sRetval = ''; |
5 |
if (($aPageDate = (($GLOBALS['wb']->page_id) ? $GLOBALS['wb']->page['modified_when'] : 0))) { |
6 |
$sRetval = 'This page was last modified on '.date('d/m/Y', $aPageDate).' at '.date('H:i', $aPageDate); |
7 |
}
|
8 |
return $sRetval; |