Changeset 1435 for trunk/wp-admin/link-categories.php
- Timestamp:
- 06/18/2004 12:22:09 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/link-categories.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-categories.php
r1429 r1435 88 88 $cat_id = $_GET['cat_id']; 89 89 $cat_name=get_linkcatname($cat_id); 90 $cat_name=addslashes($cat_name);91 90 92 91 if ($cat_id=="1") … … 133 132 <tr> 134 133 <th width="33%" scope="row"><?php _e('Name:') ?></th> 135 <td width="67%"><input name="cat_name" type="text" value="<?php echo stripslashes($row->cat_name)?>" size="30" /></td>134 <td width="67%"><input name="cat_name" type="text" value="<?php echo $row->cat_name?>" size="30" /></td> 136 135 </tr> 137 136 <tr> … … 191 190 <tr> 192 191 <th width="33%" scope="row"><?php _e('Before Link:') ?></th> 193 <td width="67%"><input type="text" name="text_before_link" size="45" value="<?php echo htmlspecialchars( stripslashes($row->text_before_link))?>" /></td>192 <td width="67%"><input type="text" name="text_before_link" size="45" value="<?php echo htmlspecialchars($row->text_before_link)?>" /></td> 194 193 </tr> 195 194 <tr> 196 195 <th scope="row"><?php _e('Between Link and Description:') ?></th> 197 <td><input type="text" name="text_after_link" size="45" value="<?php echo htmlspecialchars( stripslashes($row->text_after_link))?>" /></td>196 <td><input type="text" name="text_after_link" size="45" value="<?php echo htmlspecialchars($row->text_after_link)?>" /></td> 198 197 </tr> 199 198 <tr> 200 199 <th scope="row"><?php _e('After Link:') ?></th> 201 <td><input type="text" name="text_after_all" size="45" value="<?php echo htmlspecialchars( stripslashes($row->text_after_all))?>"/></td>200 <td><input type="text" name="text_after_all" size="45" value="<?php echo htmlspecialchars($row->text_after_all)?>"/></td> 202 201 </tr> 203 202 </table> … … 224 223 $cat_id=$_POST["cat_id"]; 225 224 226 $cat_name= addslashes(stripslashes($_POST["cat_name"]));225 $cat_name= $_POST["cat_name"]; 227 226 $auto_toggle = $_POST["auto_toggle"]; 228 227 if ($auto_toggle != 'Y') { … … 334 333 ?> 335 334 <tr valign="middle" align="center" <?php echo $style ?> style="border-bottom: 1px dotted #9C9A9C;"> 336 <td><?php echo stripslashes($row->cat_name)?></td>335 <td><?php echo $row->cat_name?></td> 337 336 <td ><?php echo $row->cat_id?></td> 338 337 <td><?php echo $row->auto_toggle?></td>
Note: See TracChangeset
for help on using the changeset viewer.