\n"); echo("\n"); echo("  "); if ($page != 1) { echo("<=\n"); } else { echo("<="); } echo(" "); if ($page < ($count / $max_page_entries)) { echo("=>\n"); } else { echo("=>"); } echo(""); //echo" " . $count . " " . _("Group(s) found"); echo" "; printf($text, $count); echo(""); echo(""); for ($i = 0; $i < ($count / $max_page_entries); $i++) { if ($i == $page - 1) { echo(" " . ($i + 1)); } else { echo(" " . ($i + 1) . "\n"); } } echo("\n"); } /** * Returns the LDAP attribute names and their description for the user list * * @return array list of LDAP attributes and descriptions */ function listGetAttributeUserArray() { return array ( "uid" => _("User ID"), "uidnumber" => _("UID number"), "gidnumber" => _("GID number"), "cn" => _("Username"), "host" => _("Allowed hosts"), "givenname" => _("First name"), "sn" => _("Last name"), "homedirectory" => _("Home directory"), "loginshell" => _("Login shell"), "mail" => _("E-Mail"), "gecos" => _("Description") ); } /** * Returns the LDAP attribute names and their description for the group list * * @return array list of LDAP attributes and descriptions */ function listGetAttributeGroupArray() { return array ( "cn" => _("Group name"), "gidnumber" => _("GID number"), "memberuid" => _("Group members"), "member" => _("Group member DNs"), "description" => _("Group description") ); } /** * Returns the LDAP attribute names and their description for the host list * * @return array list of LDAP attributes and descriptions */ function listGetAttributeHostArray() { return array ( "uid" => _("Host username"), "cn" => _("Host name"), "rid" => _("RID (Windows UID)"), "description" => _("Host description"), "uidnumber" => _("UID number"), "gidnumber" => _("GID number") ); } ?>