mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
pass name of user as parameter to checkout msg
This commit is contained in:
parent
c0377d4e34
commit
130afd7d25
|
@ -204,8 +204,9 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
$checkoutpath = sprintf($checkoutdir, preg_replace('/[^A-Za-z0-9_-]/', '', $user->getLogin()));
|
||||
}
|
||||
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)))."</a>";
|
||||
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 "</div>";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user