mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 05:01:43 +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");?>
|
<option value="-1"><?php printMLText("select_one");?>
|
||||||
<?php
|
<?php
|
||||||
if ($user->isAdmin()) {
|
if ($user->isAdmin()) {
|
||||||
$allUsers = getAllUsers();
|
$allUsers = $dms->getAllUsers();
|
||||||
foreach ($allUsers as $userObj) {
|
foreach ($allUsers as $userObj) {
|
||||||
if ($userObj->getID() != $settings->_guestID && !in_array($userObj->getID(), $userNotifyIDs))
|
if ($userObj->getID() != $settings->_guestID && !in_array($userObj->getID(), $userNotifyIDs))
|
||||||
print "<option value=\"".$userObj->getID()."\">" . $userObj->getFullName() . "\n";
|
print "<option value=\"".$userObj->getID()."\">" . $userObj->getFullName() . "\n";
|
||||||
|
@ -138,7 +138,7 @@ print "</table>\n";
|
||||||
<select name="groupid">
|
<select name="groupid">
|
||||||
<option value="-1"><?php printMLText("select_one");?>
|
<option value="-1"><?php printMLText("select_one");?>
|
||||||
<?php
|
<?php
|
||||||
$allGroups = getAllGroups();
|
$allGroups = $dms->getAllGroups();
|
||||||
foreach ($allGroups as $groupObj) {
|
foreach ($allGroups as $groupObj) {
|
||||||
if (($user->isAdmin() || $groupObj->isMember($user,true)) && !in_array($groupObj->getID(), $groupNotifyIDs)) {
|
if (($user->isAdmin() || $groupObj->isMember($user,true)) && !in_array($groupObj->getID(), $groupNotifyIDs)) {
|
||||||
print "<option value=\"".$groupObj->getID()."\">" . $groupObj->getName() . "\n";
|
print "<option value=\"".$groupObj->getID()."\">" . $groupObj->getName() . "\n";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user