mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 12:41:30 +00:00
convert checkout date to readable date
This commit is contained in:
parent
81f091a44d
commit
993a8056ec
|
@ -206,7 +206,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Theme_Style {
|
|||
foreach($infos as $info) {
|
||||
$checkoutuser = $dms->getUser($info['userID']);
|
||||
echo "<div class=\"alert alert-info\">";
|
||||
echo "<a href=\"file://".$info['filename']."\">".getMLText('copied_to_checkout_as', array('date'=>$info['date'], 'filename'=>substr($info['filename'], strlen($checkoutpath)+1), 'username'=>($checkoutuser ? $checkoutuser->getFullName() : '')))."</a>";
|
||||
echo "<a href=\"file://".$info['filename']."\">".getMLText('copied_to_checkout_as', array('date'=>getLongReadableDate(makeTsFromLongDate($info['date'])), 'filename'=>substr($info['filename'], strlen($checkoutpath)+1), 'username'=>($checkoutuser ? $checkoutuser->getFullName() : '')))."</a>";
|
||||
echo "</div>";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user