Changeset 4499
- Timestamp:
- 11/20/2006 02:17:07 AM (18 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r4495 r4499 38 38 39 39 if ( $cat_ID == get_option('default_link_category') ) 40 wp_die(sprintf(__("Can't delete the <strong>%s</strong> category: this is the default one for bookmarks"), $cat_name));40 wp_die(sprintf(__("Can't delete the <strong>%s</strong> category: this is the default one for links"), $cat_name)); 41 41 42 42 wp_delete_category($cat_ID); … … 100 100 <th scope="col"><?php _e('Description') ?></th> 101 101 <th scope="col" width="90" style="text-align: center"><?php _e('Posts') ?></th> 102 <th scope="col" width="90" style="text-align: center"><?php _e(' Bookmarks') ?></th>102 <th scope="col" width="90" style="text-align: center"><?php _e('Links') ?></th> 103 103 <th colspan="2" style="text-align: center"><?php _e('Action') ?></th> 104 104 </tr> … … 115 115 <?php if ( current_user_can('manage_categories') ) : ?> 116 116 <div class="wrap"> 117 <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts and bookmarks in that category. Instead, posts in the deleted category are set to the category <strong>%s</strong> and bookmarks are set to <strong>%s</strong>.'), get_catname(get_option('default_category')), get_catname(get_option('default_link_category'))) ?></p>117 <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts and links in that category. Instead, posts in the deleted category are set to the category <strong>%s</strong> and links are set to <strong>%s</strong>.'), get_catname(get_option('default_category')), get_catname(get_option('default_link_category'))) ?></p> 118 118 </div> 119 119 -
trunk/wp-admin/link-add.php
r4495 r4499 2 2 require_once('admin.php'); 3 3 4 $title = __('Add Bookmark');4 $title = __('Add Link'); 5 5 $this_file = 'link-manager.php'; 6 6 $parent_file = 'link-manager.php'; -
trunk/wp-admin/link-manager.php
r4495 r4499 7 7 require_once ('admin.php'); 8 8 9 $title = __('Manage Bookmarks');10 $this_file = $parent_file = 'link-manager.php';11 9 wp_enqueue_script( 'listman' ); 12 10 … … 19 17 $order_by = 'order_name'; 20 18 21 $title = __('Manage Bookmarks'); 19 $title = __('Manage Blogroll'); 20 $this_file = $parent_file = 'link-manager.php'; 22 21 include_once ("./admin-header.php"); 23 22 24 23 if (!current_user_can('manage_links')) 25 wp_die(__("You do not have sufficient permissions to edit the bookmarks for this blog."));24 wp_die(__("You do not have sufficient permissions to edit the links for this blog.")); 26 25 27 26 switch ($order_by) { … … 67 66 echo '<div style="background-color: rgb(207, 235, 247);" id="message" class="updated fade"><p>'; 68 67 $deleted = (int) $_GET['deleted']; 69 printf(__('%s bookmarks deleted.'), $deleted);68 printf(__('%s links deleted.'), $deleted); 70 69 echo '</p></div>'; 71 70 } … … 86 85 87 86 $select_order = "<select name=\"order_by\">\n"; 88 $select_order .= '<option value="order_id"' . (($order_by == 'order_id') ? " selected='selected'" : '') . '>' . __(' Bookmark ID') . "</option>\n";87 $select_order .= '<option value="order_id"' . (($order_by == 'order_id') ? " selected='selected'" : '') . '>' . __('Link ID') . "</option>\n"; 89 88 $select_order .= '<option value="order_name"' . (($order_by == 'order_name') ? " selected='selected'" : '') . '>' . __('Name') . "</option>\n"; 90 89 $select_order .= '<option value="order_url"' . (($order_by == 'order_url') ? " selected='selected'" : '') . '>' . __('Address') . "</option>\n"; … … 163 162 164 163 echo '<td><a href="link.php?link_id='.$link->link_id.'&action=edit" class="edit">'.__('Edit').'</a></td>'; 165 echo '<td><a href="' . wp_nonce_url('link.php?link_id='.$link->link_id.'&action=delete', 'delete-bookmark_' . $link->link_id ) . '"'." 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>';164 echo '<td><a href="' . wp_nonce_url('link.php?link_id='.$link->link_id.'&action=delete', 'delete-bookmark_' . $link->link_id ) . '"'." onclick=\"return deleteSomething( 'link', $link->link_id , '".sprintf(__("You are about to delete the "%s" link to %s.\\n"Cancel" to stop, "OK" to delete."), js_escape($link->link_name), js_escape($link->link_url)).'\' );" class="delete">'.__('Delete').'</a></td>'; 166 165 echo '<td align="center"><input type="checkbox" name="linkcheck[]" value="'.$link->link_id.'" /></td>'; 167 166 echo "\n </tr>\n"; … … 173 172 <div id="ajax-response"></div> 174 173 175 <p class="submit"><input type="submit" class="button" name="deletebookmarks" id="deletebookmarks" value="<?php _e('Delete Checked Bookmarks') ?> »" onclick="return confirm('<?php _e("You are about to delete these bookmarks permanently \\n \'Cancel\' to stop, \'OK\' to delete.") ?>')" /></p>174 <p class="submit"><input type="submit" class="button" name="deletebookmarks" id="deletebookmarks" value="<?php _e('Delete Checked Links') ?> »" onclick="return confirm('<?php _e("You are about to delete these links permanently \\n \'Cancel\' to stop, \'OK\' to delete.") ?>')" /></p> 176 175 </form> 177 176 </div> -
trunk/wp-admin/link.php
r4495 r4499 97 97 $parent_file = 'link-manager.php'; 98 98 $submenu_file = 'link-manager.php'; 99 $title = __('Edit Bookmark');99 $title = __('Edit Link'); 100 100 include_once ('admin-header.php'); 101 101 if (!current_user_can('manage_links')) 102 wp_die(__('You do not have sufficient permissions to edit the bookmarks for this blog.'));102 wp_die(__('You do not have sufficient permissions to edit the links for this blog.')); 103 103 104 104 $link_id = (int) $_GET['link_id'];
Note: See TracChangeset
for help on using the changeset viewer.