mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +00:00
do not show form if there are no process to transfer
This commit is contained in:
parent
43a22ea252
commit
88452a63a1
|
@ -230,7 +230,6 @@ $(document).ready( function() {
|
|||
|
||||
$this->rowStart();
|
||||
$this->columnStart(4);
|
||||
$this->warningMsg(getMLText("confirm_rm_user_from_processes", array ("username" => htmlspecialchars($rmuser->getFullName()))));
|
||||
|
||||
$reviewStatus = $rmuser->getReviewStatus();
|
||||
$tmpr = array();
|
||||
|
@ -315,7 +314,8 @@ $(document).ready( function() {
|
|||
getMLText('approvals_rejected_latest', array('no_approvals' => $ca["-1"]))
|
||||
);
|
||||
}
|
||||
|
||||
if($out) {
|
||||
$this->warningMsg(getMLText("confirm_rm_user_from_processes", array ("username" => htmlspecialchars($rmuser->getFullName()))));
|
||||
?>
|
||||
|
||||
<form class="form-horizontal" action="../op/op.UsrMgr.php" name="form1" method="post">
|
||||
|
@ -355,6 +355,9 @@ $(document).ready( function() {
|
|||
|
||||
</form>
|
||||
<?php
|
||||
} else {
|
||||
$this->infoMsg(getMLText("info_rm_user_from_processes_none", array ("username" => htmlspecialchars($rmuser->getFullName()))));
|
||||
}
|
||||
$this->columnEnd();
|
||||
$this->columnStart(8);
|
||||
echo '<div id="kkkk" class="ajax" data-view="RemoveUserFromProcesses" data-action="printList" data-query="userid='.$rmuser->getId().'"></div>';
|
||||
|
|
Loading…
Reference in New Issue
Block a user