diff --git a/views/bootstrap/class.RemoveUserFromProcesses.php b/views/bootstrap/class.RemoveUserFromProcesses.php index 768f09c49..ec202ce24 100644 --- a/views/bootstrap/class.RemoveUserFromProcesses.php +++ b/views/bootstrap/class.RemoveUserFromProcesses.php @@ -80,66 +80,129 @@ class SeedDMS_View_RemoveUserFromProcesses extends SeedDMS_Bootstrap_Style { } ?> -
-
- -
-
+formField( + getMLText('reviews_not_touched', array('no_reviews' => count($tmpr["0"]))), + array( + 'element'=>'input', + 'type'=>'checkbox', + 'name'=>'status[review][]', + 'value'=>'0', + 'checked'=>true + ), + array( + 'field_wrap' => array('', ' '.getMLText('reviews_not_touched_latest', array('no_reviews' => $cr["0"]))) + ) + ); +?> -
-
- -
-
+formField( + getMLText('reviews_accepted', array('no_reviews' => count($tmpr["1"]))), + array( + 'element'=>'input', + 'type'=>'checkbox', + 'name'=>'status[approval][]', + 'value'=>'1', + 'checked'=>true + ), + array( + 'field_wrap' => array('', ' '.getMLText('reviews_accepted_latest', array('no_reviews' => $cr["1"]))) + ) + ); +?> -
-
- -
-
+formField( + getMLText('reviews_rejected', array('no_reviews' => count($tmpr["-1"]))), + array( + 'element'=>'input', + 'type'=>'checkbox', + 'name'=>'status[approval][]', + 'value'=>'-1', + 'checked'=>true + ), + array( + 'field_wrap' => array('', ' '.getMLText('reviews_rejected_latest', array('no_reviews' => $cr["-1"]))) + ) + ); +?> -
-
- -
-
+formField( + getMLText('approvals_not_touched', array('no_approvals' => count($tmpa["0"]))), + array( + 'element'=>'input', + 'type'=>'checkbox', + 'name'=>'status[approval][]', + 'value'=>'0', + 'checked'=>true + ), + array( + 'field_wrap' => array('', ' '.getMLText('approvals_not_touched_latest', array('no_approvals' => $ca["0"]))) + ) + ); +?> -
-
- -
-
+formField( + getMLText('approvals_accepted', array('no_approvals' => count($tmpa["1"]))), + array( + 'element'=>'input', + 'type'=>'checkbox', + 'name'=>'status[approval][]', + 'value'=>'1', + 'checked'=>true + ), + array( + 'field_wrap' => array('', ' '.getMLText('approvals_accepted_latest', array('no_approvals' => $ca["1"]))) + ) + ); +?> -
-
- -
-
+formField( + getMLText('approvals_rejected', array('no_approvals' => count($tmpa["-1"]))), + array( + 'element'=>'input', + 'type'=>'checkbox', + 'name'=>'status[approval][]', + 'value'=>'-1', + 'checked'=>true + ), + array( + 'field_wrap' => array('', ' '.getMLText('approvals_rejected_latest', array('no_approvals' => $ca["-1"]))) + ) + ); +?> - -
-
- -
-
+getAllUsers($sortusersinlist); + foreach ($allUsers as $currUser) { + if (!$currUser->isGuest()) + $options[] = array($currUser->getID(), htmlspecialchars($currUser->getLogin()), ($currUser->getID()==$user->getID()), array(array('data-subtitle', htmlspecialchars($currUser->getFullName())))); + } + $this->formField( + getMLText("user"), + array( + 'element'=>'select', + 'id'=>'newuser', + 'name'=>'newuserid', + 'class'=>'chzn-select', + 'options'=>$options + ) + ); + */ + $this->formSubmit(" ".getMLText('rm_user_from_processes')); +?>