Changeset 3977
- Timestamp:
- 07/05/2006 05:09:32 PM (19 years ago)
- Location:
- branches/2.0/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/edit-link-form.php
r3805 r3977 88 88 <label for="acquaintance"> 89 89 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <?php xfn_check('friendship', 'acquaintance', 'radio'); ?> /> <?php _e('acquaintance') ?></label> 90 <label id="friend">90 <label for="friend"> 91 91 <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend', 'radio'); ?> /> <?php _e('friend') ?></label> 92 92 <label for="friendship"> -
branches/2.0/wp-admin/link-categories.php
r3937 r3977 352 352 <td><?php echo $row->sort_order ?></td> 353 353 <td><?php echo $row->sort_desc == 'Y' ? __('Yes') : __('No') ?></td> 354 <td nowrap="nowrap"><?php echo htmlentities($row->text_before_link)?> </td>355 <td nowrap="nowrap"><?php echo htmlentities($row->text_after_link)?> </td>356 <td nowrap="nowrap"><?php echo htmlentities($row->text_after_all)?></td>354 <td nowrap="nowrap"><?php echo wp_specialchars($row->text_before_link)?> </td> 355 <td nowrap="nowrap"><?php echo wp_specialchars($row->text_after_link)?> </td> 356 <td nowrap="nowrap"><?php echo wp_specialchars($row->text_after_all)?></td> 357 357 <td><?php echo $row->list_limit ?></td> 358 358 <td><a href="link-categories.php?cat_id=<?php echo $row->cat_id?>&action=Edit" class="edit"><?php _e('Edit') ?></a></td> 359 <td><a href="<?php echo wp_nonce_url("link-categories.php?cat_id=$row->cat_id?>&action=Delete", 'delete-link-category_' . $row->cat_id) ?>" "onclick="return deleteSomething( 'link category', <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the "%s" link category.\\n"Cancel" to stop, "OK" to delete."), js_escape($row->cat_name)); ?>' );" class="delete"><?php _e('Delete') ?></a></td>359 <td><a href="<?php echo wp_nonce_url("link-categories.php?cat_id=$row->cat_id?>&action=Delete", 'delete-link-category_' . $row->cat_id) ?>" onclick="return deleteSomething( 'link category', <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the "%s" link category.\\n"Cancel" to stop, "OK" to delete."), js_escape($row->cat_name)); ?>' );" class="delete"><?php _e('Delete') ?></a></td> 360 360 </tr> 361 361 <?php … … 371 371 372 372 <div class="wrap"> 373 <form name="addcat" method="post" >373 <form name="addcat" method="post" action=""> 374 374 <?php wp_nonce_field('add-link-category'); ?> 375 375 <input type="hidden" name="action" value="addcat" /> -
branches/2.0/wp-admin/link-manager.php
r3937 r3977 383 383 if ($show_buttons) { 384 384 echo '<td><a href="link-manager.php?link_id=' . $link->link_id . '&action=linkedit" class="edit">' . __('Edit') . '</a></td>'; 385 echo '<td><a href="' . wp_nonce_url('link-manager.php?link_id='.$link->link_id.'&action=delete', 'delete-bookmark_' . $link->link_id ) . '"'." class='delete' onclick=\"return deleteSomething( 'link', $link->link_id , '".sprintf(__("You are about to delete the "%s" bookmark to %s.\\n"Cancel" to stop, "OK" to delete."), js_escape($link->link_name), js_escape($link->link_url)).'\' );" class="delete">'.__('Delete').'</a></td>';385 echo '<td><a href="' . wp_nonce_url('link-manager.php?link_id='.$link->link_id.'&action=delete', 'delete-bookmark_' . $link->link_id ) . '"'." class='delete' onclick=\"return deleteSomething( 'link', $link->link_id , '".sprintf(__("You are about to delete the "%s" bookmark to %s.\\n"Cancel" to stop, "OK" to delete."), js_escape($link->link_name), js_escape($link->link_url)).'\' );">'.__('Delete').'</a></td>'; 386 386 echo '<td><input type="checkbox" name="linkcheck[]" value="' . $link->link_id . '" /></td>'; 387 387 } else {
Note: See TracChangeset
for help on using the changeset viewer.