Ticket #2906: admin-links.diff
File admin-links.diff, 5.0 KB (added by , 19 years ago) |
---|
-
wp-admin/edit-link-form.php
87 87 <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php _e('contact') ?></label> 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"> 93 93 <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship', '', 'radio'); ?> /> <?php _e('none') ?></label> -
wp-admin/link-categories.php
351 351 <td><?php echo $row->show_updated == 'Y' ? __('Yes') : __('No') ?></td> 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 362 362 ++$i; … … 370 370 </div> 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" /> 376 376 <h2><?php _e('Add a Link Category:') ?></h2> -
wp-admin/link-manager.php
382 382 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 { 388 388 echo "<td> </td><td> </td><td> </td>\n";