mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 08:58:10 +00:00
use noty to display error msg, replace images by icons
This commit is contained in:
parent
a43720f378
commit
3f0f9fed23
|
@ -65,7 +65,15 @@ function checkForm()
|
|||
msg += "<?php printMLText("js_select_user_or_group");?>\n";
|
||||
if (msg != "")
|
||||
{
|
||||
alert(msg);
|
||||
//alert(msg);
|
||||
noty({
|
||||
text: msg,
|
||||
type: 'error',
|
||||
dismissQueue: true,
|
||||
layout: 'topRight',
|
||||
theme: 'defaultTheme',
|
||||
_timeout: 1500,
|
||||
});
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
@ -166,7 +174,7 @@ function checkForm()
|
|||
$userObj = $userAccess->getUser();
|
||||
$memusers[] = $userObj->getID();
|
||||
print "<tr>\n";
|
||||
print "<td><img src=\"images/usericon.gif\" class=\"mimeicon\"></td>\n";
|
||||
print "<td><i class=\"icon-user\"></i></td>\n";
|
||||
print "<td>". htmlspecialchars($userObj->getFullName()) . "</td>\n";
|
||||
print "<form action=\"../op/op.DocumentAccess.php\">\n";
|
||||
print "<td>\n";
|
||||
|
@ -197,7 +205,7 @@ function checkForm()
|
|||
$memgroups[] = $groupObj->getID();
|
||||
$mode = $groupAccess->getMode();
|
||||
print "<tr>";
|
||||
print "<td><img src=\"images/groupicon.gif\" class=\"mimeicon\"></td>";
|
||||
print "<td><i class=\"icon-group\"></i></td>";
|
||||
print "<td>". htmlspecialchars($groupObj->getName()) . "</td>";
|
||||
print "<form action=\"../op/op.DocumentAccess.php\">";
|
||||
print "<td>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user