mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
check $settings->_enableHiddenRevApp
This commit is contained in:
parent
889f49daca
commit
45d00e5bd0
|
@ -57,6 +57,7 @@ if($view) {
|
|||
$view->setParam('selworkflow', $selworkflow);
|
||||
$view->setParam('allworkflows', $workflows);
|
||||
$view->setParam('allworkflowstates', $workflowstates);
|
||||
$view->setParam('enablehiddenrevapp', $settings->_enableHiddenRevApp);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
|
|
|
@ -121,6 +121,7 @@ $(document).ready(function() {
|
|||
$user = $this->params['user'];
|
||||
$workflows = $this->params['allworkflows'];
|
||||
$workflowstates = $this->params['allworkflowstates'];
|
||||
$enablehiddenrevapp = $this->params['enablehiddenrevapp'];
|
||||
|
||||
if($workflow) {
|
||||
$path = $workflow->checkForCycles();
|
||||
|
@ -295,6 +296,7 @@ $(document).ready(function() {
|
|||
echo "<select class=\"chzn-select\" name=\"users[]\" multiple=\"multiple\" data-placeholder=\"".getMLText('select_users')."\" data-no_results_text=\"".getMLText('unknown_user')."\">";
|
||||
$allusers = $dms->getAllUsers();
|
||||
foreach($allusers as $usr) {
|
||||
if(!$enablehiddenrevapp && $usr->isHidden()) continue;
|
||||
print "<option value=\"".$usr->getID()."\">". htmlspecialchars($usr->getLogin()." - ".$usr->getFullName())."</option>";
|
||||
}
|
||||
echo "</select>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user