mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
f12a9094db
|
@ -44,9 +44,9 @@ if (!is_object($rmuser)) {
|
||||||
UI::exitError(getMLText("rm_user"),getMLText("invalid_user_id"));
|
UI::exitError(getMLText("rm_user"),getMLText("invalid_user_id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($rmuser->getID()==$user->getID()) {
|
//if ($rmuser->getID()==$user->getID()) {
|
||||||
UI::exitError(getMLText("rm_user"),getMLText("cannot_delete_yourself"));
|
// UI::exitError(getMLText("rm_user"),getMLText("cannot_delete_yourself"));
|
||||||
}
|
//}
|
||||||
|
|
||||||
$task = null;
|
$task = null;
|
||||||
if (isset($_GET["task"])) {
|
if (isset($_GET["task"])) {
|
||||||
|
|
|
@ -300,7 +300,7 @@ $(document).ready( function() {
|
||||||
'options'=>$options
|
'options'=>$options
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
echo '<p><button type="submit" class="btn btn-primary"><i class="fa fa-remove"></i> '.getMLText('transfer').'</button>';
|
echo '<button type="submit" class="btn btn-primary"><i class="fa fa-remove"></i> '.getMLText('transfer_processes_to_user').'</button>';
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
}
|
}
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
@ -506,7 +506,7 @@ $(document).ready( function() {
|
||||||
<?php
|
<?php
|
||||||
echo "<table class=\"table table-condensed table-sm\">";
|
echo "<table class=\"table table-condensed table-sm\">";
|
||||||
foreach($out as $o) {
|
foreach($out as $o) {
|
||||||
echo "<tr><td>".$o[3]."</td><td>".$o[4]."</td><td><input style=\"margin-top: 0px;\" type=\"checkbox\" name=\"status[".$o[1]."][]\" value=\"".$o[0]."\"></td><td><span data-action=\"printList\" data-userid=\"".$rmuser->getId()."\" data-task=\"".$o[1]."s_".$o[2]."\" data-type=\"".$o[1]."_".$o[0]."\"><i class=\"fa fa-list\"></i></span></td></tr>";
|
echo "<tr><td>".$o[3]."</td><td>".$o[4]."</td><td><input style=\"margin-top: 0px;\" type=\"checkbox\" name=\"status[".$o[1]."][]\" value=\"".$o[0]."\"></td><td><span title=\"".getMLText('select_documents_for_process')."\" data-action=\"printList\" data-userid=\"".$rmuser->getId()."\" data-task=\"".$o[1]."s_".$o[2]."\" data-type=\"".$o[1]."_".$o[0]."\"><i class=\"fa fa-list\"></i></span></td></tr>";
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user