mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-07 05:39:21 +00:00
Merge branch 'develop' into seeddms-5.1.x
This commit is contained in:
commit
c14aaf02a6
|
@ -229,7 +229,8 @@ class SeedDMS_View_Common {
|
|||
$url = $this->html_url($view, $urlparams);
|
||||
$tag = "<a href=\"".$url."\"";
|
||||
if($linkparams)
|
||||
array_walk($linkparams, function($v, $k) {$tag .= " ".$k."=\"".$v."\"";});
|
||||
foreach($linkparams as $k=>$v)
|
||||
$tag .= " ".$k."=\"".$v."\"";
|
||||
$tag .= ">".($hsc ? htmlspecialchars($link) : $link)."</a>";
|
||||
return $tag;
|
||||
} /* }}} */
|
||||
|
|
|
@ -38,6 +38,7 @@ if(!trim($settings->_encryptionKey))
|
|||
if($view) {
|
||||
$view->setParam('settings', $settings);
|
||||
$view->setParam('currenttab', (isset($_REQUEST['currenttab']) ? $_REQUEST['currenttab'] : ''));
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
|
@ -169,7 +169,7 @@ $(document).ready( function() {
|
|||
?>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a href="../out/out.RemoveGroup.php?groupid=<?php print $group->getID();?>" class="btn"><i class="icon-remove"></i> <?php printMLText("rm_group");?></a></td>
|
||||
<td><?php echo $this->html_link('RemoveGroup', array('groupid'=>$group->getID()), array('class'=>'btn'), '<i class="icon-remove"></i> '.getMLText("rm_group"), false); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
|
|||
echo "<tr>";
|
||||
echo "<td>";
|
||||
if ($currUser->hasImage())
|
||||
print "<img width=\"50\" src=\"".$httproot . "out/out.UserImage.php?userid=".$currUser->getId()."\">";
|
||||
print "<img width=\"50\" src=\"".$this->html_url('UserImage', array('userid'=>$currUser->getId()))."\" >";
|
||||
echo "</td>";
|
||||
echo "<td>";
|
||||
echo htmlspecialchars($currUser->getFullName())." (".htmlspecialchars($currUser->getLogin()).")<br />";
|
||||
|
@ -105,11 +105,12 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
echo "</td>";
|
||||
echo "<td>";
|
||||
if($this->check_access(array('UsrMgr', 'RemoveUser'))) {
|
||||
echo "<div class=\"list-action\">";
|
||||
echo "<a href=\"../out/out.UsrMgr.php?userid=".$currUser->getID()."\"><i class=\"icon-edit\"></i></a> ";
|
||||
if ($this->check_access('RemoveUser'))
|
||||
echo "<a href=\"../out/out.RemoveUser.php?userid=".$currUser->getID()."\"><i class=\"icon-remove\"></i></a>";
|
||||
echo $this->html_link('UsrMgr', array('userid'=>$currUser->getID()), array(), '<i class="icon-edit"></i>', false);
|
||||
echo $this->html_link('RemoveUser', array('userid'=>$currUser->getID()), array(), '<i class="icon-remove"></i>', false);
|
||||
echo "</div>";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
|
|
@ -189,7 +189,7 @@ $(document).ready( function() {
|
|||
?>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><a class="btn" href="../out/out.RemoveUser.php?userid=<?php print $currUser->getID();?>"><i class="icon-remove"></i> <?php printMLText("rm_user");?></a></td>
|
||||
<td><?php echo $this->html_link('RemoveUser', array('userid'=>$currUser->getID()), array('class'=>'btn'), '<i class="icon-remove"></i> '.getMLText("rm_user"), false); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
@ -292,7 +292,7 @@ $(document).ready( function() {
|
|||
<td>
|
||||
<?php
|
||||
if ($currUser->hasImage())
|
||||
print "<img src=\"".$httproot . "out/out.UserImage.php?userid=".$currUser->getId()."\">";
|
||||
print "<img src=\"".$this->html_url('UserImage', array('userid'=>$currUser->getId()))."\" >";
|
||||
else
|
||||
printMLText("no_user_image");
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user