2 require('../conf/config.php3');
4 header("Location: group_admin.php3?login=$login");
8 if ($config[general_lib_type] != 'sql'){
10 <title>New group creation page</title>
11 <meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
12 <link rel="stylesheet" href="style.css">
14 <body bgcolor="#80a040" background="images/greenlines1.gif" link="black" alink="black">
16 <b>This page is only available if you are using sql as general library type</b>
23 require('../lib/attrshow.php3');
24 require('../lib/defaults.php3');
26 if ($config[general_lib_type] == 'sql' && $config[sql_use_operators] == 'true'){
38 <title>New group creation page</title>
39 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>">
40 <link rel="stylesheet" href="style.css">
42 <body bgcolor="#80a040" background="images/greenlines1.gif" link="black" alink="black">
44 <table border=0 width=550 cellpadding=0 cellspacing=0>
46 <td align=center><img src="images/title2.gif"></td>
51 <table border=0 width=540 cellpadding=1 cellspacing=1>
54 <td bgcolor="black" width=200>
55 <table border=0 width=100% cellpadding=2 cellspacing=0>
56 <tr bgcolor="#907030" align=right valign=top><th>
57 <font color="white">Preferences for new group</font>
61 <tr bgcolor="black" valign=top><td colspan=2>
62 <table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
66 if (is_file("../lib/$config[general_lib_type]/group_info.php3"))
67 include("../lib/$config[general_lib_type]/group_info.php3");
69 if ($group_exists != "no"){
71 <b>The group <i>$login</i> already exists in the group database</b>
75 if (is_file("../lib/$config[general_lib_type]/create_group.php3"))
76 include("../lib/$config[general_lib_type]/create_group.php3");
77 if (is_file("../lib/$config[general_lib_type]/group_info.php3"))
78 include("../lib/$config[general_lib_type]/group_info.php3");
83 <input type=hidden name=create value="0">
84 <input type=hidden name=show value="0">
85 <table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
89 <td align=right colspan=$colspan bgcolor="#d0ddb0">
92 <input type=text name="login" value="$login" size=35>
96 <td align=right colspan=$colspan bgcolor="#d0ddb0">
97 First member(s)<br>Separate group members<br> by whitespace or newline
99 <textarea name=members cols="15" wrap="PHYSICAL" rows=5></textarea>
104 foreach($show_attrs as $key => $desc){
105 $name = $attrmap["$key"];
108 $oper_name = $name . '_op';
109 $val = ($item_vals["$key"][0] != "") ? $item_vals["$key"][0] : $default_vals["$key"][0];
112 <td align=right bgcolor="#d0ddb0">
120 <select name=$oper_name>
121 <option selected value="=">=
122 <option value=":=">:=
123 <option value="+=">+=
124 <option value="==">==
125 <option value="!=">!=
126 <option value=">">>
127 <option value=">=">>=
128 <option value="<"><
129 <option value="<="><=
130 <option value="=~">=~
131 <option value="!~">!~
139 <input type=text name="$name" value="$val" size=35>
147 <input type=submit class=button value="Create" OnClick="this.form.create.value=1">
149 <input type=submit class=button value="Show Group" OnClick="this.form.show.value=1">