require('../conf/config.php3'); if ($show == 1){ header("Location: group_admin.php3?login=$login"); exit; } if ($config[general_lib_type] != 'sql'){ echo New group creation page This page is only available if you are using sql as general library type EOM; exit(); } require('../lib/attrshow.php3'); require('../lib/defaults.php3'); if ($config[general_lib_type] == 'sql' && $config[sql_use_operators] == 'true'){ $colspan=2; $show_ops=1; }else{ $show_ops = 0; $colspan=1; } ?> New group creation page Preferences for new group if (is_file("../lib/$config[general_lib_type]/group_info.php3")) include("../lib/$config[general_lib_type]/group_info.php3"); if ($create == 1){ if ($group_exists != "no"){ echo The group $login already exists in the group database EOM; } else{ if (is_file("../lib/$config[general_lib_type]/create_group.php3")) include("../lib/$config[general_lib_type]/create_group.php3"); if (is_file("../lib/$config[general_lib_type]/group_info.php3")) include("../lib/$config[general_lib_type]/group_info.php3"); } } ?> echo Group name First member(s)Separate group members by whitespace or newline EOM; foreach($show_attrs as $key => $desc){ $name = $attrmap["$key"]; if ($name == 'none') continue; $oper_name = $name . '_op'; $val = ($item_vals["$key"][0] != "") ? $item_vals["$key"][0] : $default_vals["$key"][0]; print $desc EOM; if ($show_ops) print = := += == != > >= < <= =~ !~ EOM; print EOM; } ?>