|
@@ -53,9 +53,7 @@ $DB->query('
|
53
|
53
|
Description,
|
54
|
54
|
MinClassRead,
|
55
|
55
|
MinClassWrite,
|
56
|
|
- MinClassCreate,
|
57
|
|
- AutoLock,
|
58
|
|
- AutoLockWeeks
|
|
56
|
+ MinClassCreate
|
59
|
57
|
FROM forums
|
60
|
58
|
ORDER BY CategoryID, Sort ASC');
|
61
|
59
|
?>
|
|
@@ -72,12 +70,10 @@ $DB->query('
|
72
|
70
|
<td>Min class read</td>
|
73
|
71
|
<td>Min class write</td>
|
74
|
72
|
<td>Min class create</td>
|
75
|
|
- <td>Auto-lock</td>
|
76
|
|
- <td>Auto-lock weeks</td>
|
77
|
73
|
<td>Submit</td>
|
78
|
74
|
</tr>
|
79
|
75
|
<?
|
80
|
|
-while (list($ID, $CategoryID, $Sort, $Name, $Description, $MinClassRead, $MinClassWrite, $MinClassCreate, $AutoLock, $AutoLockWeeks) = $DB->next_record()) {
|
|
76
|
+while (list($ID, $CategoryID, $Sort, $Name, $Description, $MinClassRead, $MinClassWrite, $MinClassCreate) = $DB->next_record()) {
|
81
|
77
|
?>
|
82
|
78
|
<tr class="row">
|
83
|
79
|
<form class="manage_form" name="forums" action="" method="post">
|
|
@@ -117,12 +113,6 @@ while (list($ID, $CategoryID, $Sort, $Name, $Description, $MinClassRead, $MinCla
|
117
|
113
|
<?=class_list($MinClassCreate)?>
|
118
|
114
|
</select>
|
119
|
115
|
</td>
|
120
|
|
- <td>
|
121
|
|
- <input type="checkbox" name="autolock"<?=($AutoLock == '1') ? ' checked="checked"' : ''?> />
|
122
|
|
- </td>
|
123
|
|
- <td>
|
124
|
|
- <input type="text" name="autolockweeks" value="<?=$AutoLockWeeks?>" />
|
125
|
|
- </td>
|
126
|
116
|
<td>
|
127
|
117
|
<input type="submit" name="submit" value="Edit" />
|
128
|
118
|
<input type="submit" name="submit" value="Delete" />
|
|
@@ -172,12 +162,6 @@ while (list($ID, $CategoryID, $Sort, $Name, $Description, $MinClassRead, $MinCla
|
172
|
162
|
<?=class_list()?>
|
173
|
163
|
</select>
|
174
|
164
|
</td>
|
175
|
|
- <td>
|
176
|
|
- <input type="checkbox" name="autolock" checked="checked" />
|
177
|
|
- </td>
|
178
|
|
- <td>
|
179
|
|
- <input type="text" name="autolockweeks" value="4" />
|
180
|
|
- </td>
|
181
|
165
|
<td>
|
182
|
166
|
<input type="submit" value="Create" />
|
183
|
167
|
</td>
|