summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-22 09:48:56 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-22 09:48:56 +0000
commitc149beee65d00f2f2c4c82a0afb92379dc4ebea1 (patch)
tree9958a166a000947b1fd04c18a23ed9e33f2638fa /wp-inst/wp-admin
parent9e49a3e6447829ea9bca3f477f2a0a65fcaf7ede (diff)
downloadwordpress-mu-c149beee65d00f2f2c4c82a0afb92379dc4ebea1.tar.gz
wordpress-mu-c149beee65d00f2f2c4c82a0afb92379dc4ebea1.tar.xz
wordpress-mu-c149beee65d00f2f2c4c82a0afb92379dc4ebea1.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@355 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin')
-rw-r--r--wp-inst/wp-admin/link-categories.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/wp-inst/wp-admin/link-categories.php b/wp-inst/wp-admin/link-categories.php
index 1aad965..081f846 100644
--- a/wp-inst/wp-admin/link-categories.php
+++ b/wp-inst/wp-admin/link-categories.php
@@ -276,7 +276,7 @@ switch ($action) {
<div class="wrap">
<h2><?php _e('Link Categories:') ?></h2>
- <table width="100%" cellpadding="5" cellspacing="0" border="0">
+ <table id="the-list" width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<th rowspan="2" valign="bottom"><?php _e('Name') ?></th>
<th rowspan="2" valign="bottom"><?php _e('ID') ?></th>
@@ -334,7 +334,7 @@ foreach ($results as $row) {
break;
}
?>
- <tr valign="middle" align="center" <?php echo $style ?> style="border-bottom: 1px dotted #9C9A9C;">
+ <tr id="link-category-<?php echo $row->cat_id; ?>" valign="middle" align="center" <?php echo $style ?> style="border-bottom: 1px dotted #9C9A9C;">
<td><?php echo wp_specialchars($row->cat_name)?></td>
<td ><?php echo $row->cat_id?></td>
<td><?php echo $row->auto_toggle == 'Y' ? __('Yes') : __('No') ?></td>
@@ -349,7 +349,7 @@ foreach ($results as $row) {
<td nowrap="nowrap"><?php echo htmlentities($row->text_after_all)?></td>
<td><?php echo $row->list_limit ?></td>
<td><a href="link-categories.php?cat_id=<?php echo $row->cat_id?>&amp;action=Edit" class="edit"><?php _e('Edit') ?></a></td>
- <td><a href="link-categories.php?cat_id=<?php echo $row->cat_id?>&amp;action=Delete" onclick="return confirm('<?php _e("You are about to delete this category.\\n \'Cancel\' to stop, \'OK\' to delete.") ?>');" class="delete"><?php _e('Delete') ?></a></td>
+ <td><a href="link-categories.php?cat_id=<?php echo $row->cat_id?>&amp;action=Delete" onclick="return deleteSomething( 'link category', <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the &quot;%s&quot; link category.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), wp_specialchars($row->cat_name,1)); ?>' );" class="delete"><?php _e('Delete') ?></a></td>
</tr>
<?php
++$i;
@@ -358,6 +358,8 @@ foreach ($results as $row) {
</table>
<p><?php _e('These are the defaults for when you call a link category with no additional arguments. All of these settings may be overwritten.') ?></p>
+<div id="ajax-response"></div>
+
</div>
<div class="wrap">