Revision 883
Added by thorn almost 16 years ago
modify.php | ||
---|---|---|
40 | 40 |
$sql_result = $database->query("SELECT * FROM $table WHERE section_id = '$section_id'"); |
41 | 41 |
$sql_row = $sql_result->fetchRow(); |
42 | 42 |
$target_page_id = $sql_row['target_page_id']; |
43 |
$r_type = $sql_row['redirect_type']; |
|
43 | 44 |
$extern = $sql_row['extern']; |
44 | 45 |
$anchor = $sql_row['anchor']; |
45 | 46 |
$sel = ' selected'; |
... | ... | |
178 | 179 |
</td> |
179 | 180 |
<td> |
180 | 181 |
<select name="target" style="width:250px;" /> |
181 |
<option value="_blank"<?php if($target=='_blank') echo ' selected'; ?>><?php echo $TEXT['NEW_WINDOW'] ?></option> |
|
182 |
<option value="_self"<?php if($target=='_self') echo ' selected'; ?>><?php echo $TEXT['SAME_WINDOW'] ?></option> |
|
183 |
<option value="_top"<?php if($target=='_top') echo ' selected'; ?>><?php echo $TEXT['TOP_FRAME'] ?></option> |
|
182 |
<option value="_blank"<?php if($target=='_blank') echo ' selected="selected"'; ?>><?php echo $TEXT['NEW_WINDOW'] ?></option>
|
|
183 |
<option value="_self"<?php if($target=='_self') echo ' selected="selected"'; ?>><?php echo $TEXT['SAME_WINDOW'] ?></option>
|
|
184 |
<option value="_top"<?php if($target=='_top') echo ' selected="selected"'; ?>><?php echo $TEXT['TOP_FRAME'] ?></option>
|
|
184 | 185 |
</select> |
185 | 186 |
</td> |
186 | 187 |
</tr> |
188 |
<tr> |
|
189 |
<td> |
|
190 |
<?php echo $MOD_MENU_LINK['R_TYPE'].':' ?> |
|
191 |
</td> |
|
192 |
<td> |
|
193 |
<select name="r_type" style="width:250px;" /> |
|
194 |
<option value="301"<?php if($r_type=='301') echo ' selected="selected"'; ?>>301</option> |
|
195 |
<option value="302"<?php if($r_type=='302') echo ' selected="selected"'; ?>>302</option> |
|
196 |
</select> |
|
197 |
</td> |
|
198 |
</tr> |
|
187 | 199 |
</table> |
188 | 200 |
|
189 | 201 |
<br /> |
Also available in: Unified diff
added redirect-type (301/302) to menu_link