- getAllUsers() and gelAllGroups() are now methods of LetoDMЅ_DMS

This commit is contained in:
steinm 2010-11-17 07:29:11 +00:00
parent 70762ca49e
commit 9acbde3e0e

View File

@ -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";