mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 04:31:32 +00:00
user warningMsg() instead of plain html code
This commit is contained in:
parent
64a5ea3d90
commit
f2b0375df6
|
@ -124,19 +124,13 @@ $(document).ready(function() {
|
|||
if ($checkoutstatus = $document->checkOutStatus()) {
|
||||
switch($checkoutstatus) {
|
||||
case 1:
|
||||
print "<div class=\"alert alert-warning\">";
|
||||
printMLText("checkedout_file_has_disappeared");
|
||||
print "</div>";
|
||||
$this->warningMsg(getMLText("checkedout_file_has_disappeared"));
|
||||
break;
|
||||
case 2:
|
||||
print "<div class=\"alert alert-warning\">";
|
||||
printMLText("checkedout_file_has_different_version");
|
||||
print "</div>";
|
||||
$this->warningMsg(getMLText("checkedout_file_has_different_version"));
|
||||
break;
|
||||
case 3:
|
||||
print "<div class=\"alert alert-warning\">";
|
||||
printMLText("checkedout_file_is_unchanged");
|
||||
print "</div>";
|
||||
$this->warningMsg(getMLText("checkedout_file_is_unchanged"));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user