mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
- getAllUsers() and gelAllGroups() are now methods of LetoDMЅ_DMS
This commit is contained in:
parent
70762ca49e
commit
9acbde3e0e
|
@ -119,7 +119,7 @@ print "</table>\n";
|
|||
<option value="-1"><?php printMLText("select_one");?>
|
||||
<?php
|
||||
if ($user->isAdmin()) {
|
||||
$allUsers = getAllUsers();
|
||||
$allUsers = $dms->getAllUsers();
|
||||
foreach ($allUsers as $userObj) {
|
||||
if ($userObj->getID() != $settings->_guestID && !in_array($userObj->getID(), $userNotifyIDs))
|
||||
print "<option value=\"".$userObj->getID()."\">" . $userObj->getFullName() . "\n";
|
||||
|
@ -138,7 +138,7 @@ print "</table>\n";
|
|||
<select name="groupid">
|
||||
<option value="-1"><?php printMLText("select_one");?>
|
||||
<?php
|
||||
$allGroups = getAllGroups();
|
||||
$allGroups = $dms->getAllGroups();
|
||||
foreach ($allGroups as $groupObj) {
|
||||
if (($user->isAdmin() || $groupObj->isMember($user,true)) && !in_array($groupObj->getID(), $groupNotifyIDs)) {
|
||||
print "<option value=\"".$groupObj->getID()."\">" . $groupObj->getName() . "\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user