*** empty log message ***

This commit is contained in:
katagia 2003-06-01 11:39:54 +00:00
parent 79771dfd4d
commit 84d812e73d
3 changed files with 3 additions and 4 deletions

View File

@ -439,7 +439,8 @@ function getgid($groupname) { // Will return the the gid to an existing Groupnam
$result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_GroupSuffix(), 'cn=' . $groupname, array('gidNumber'), 0); $result = ldap_search($_SESSION['ldap']->server(), $_SESSION['config']->get_GroupSuffix(), 'cn=' . $groupname, array('gidNumber'), 0);
$entry = ldap_first_entry($_SESSION['ldap']->server(), $result); $entry = ldap_first_entry($_SESSION['ldap']->server(), $result);
$attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry); $attr = ldap_get_attributes($_SESSION['ldap']->server(), $entry);
return $attr['gidNumber'][0]; if ($attr['gidNumber'][0]) return $attr['gidNumber'][0];
else return -1;
} }

View File

@ -258,8 +258,6 @@ echo '</title>
echo '<table rules="all" class="account" width="100%"> echo '<table rules="all" class="account" width="100%">
<tr><td></td></tr>'; <tr><td></td></tr>';
print_r($_SESSION['account']);
if (!$select_local) $select_local='general'; if (!$select_local) $select_local='general';
if ($_POST['createagain']) { if ($_POST['createagain']) {

View File

@ -148,7 +148,7 @@ switch ($select) {
$_SESSION['accounts'][$row]->personal_postalCode.'</td><td>'. $_SESSION['accounts'][$row]->personal_postalCode.'</td><td>'.
$_SESSION['accounts'][$row]->personal_postalAddress.'</td><td>'. $_SESSION['accounts'][$row]->personal_postalAddress.'</td><td>'.
$_SESSION['accounts'][$row]->personal_employeeType.'</td></tr>'; $_SESSION['accounts'][$row]->personal_employeeType.'</td></tr>';
} }
echo '<tr><td><input name="back" type="submit" value="'; echo _('Back'); echo '">'; echo '<tr><td><input name="back" type="submit" value="'; echo _('Back'); echo '">';
echo '</td><td><input name="cancel" type="submit" value="'; echo _('Cancel'); echo '">'; echo '</td><td><input name="cancel" type="submit" value="'; echo _('Cancel'); echo '">';
echo '</td><td><input name="create" type="submit" value="'; echo _('Create'); echo '">'; echo '</td><td><input name="create" type="submit" value="'; echo _('Create'); echo '">';