Ticket #2684: ui_cleanup_bookmarks.diff
| File ui_cleanup_bookmarks.diff, 1.6 KB (added by , 20 years ago) |
|---|
-
wp-admin/link-manager.php
90 90 91 91 <h2><?php _e('Bookmark Management'); ?></h2> 92 92 <p><?php _e('Here you add links to sites that you visit often and share them on your blog. When you have a list of links in your sidebar to other blogs, it’s called a “blogroll.”'); ?></p> 93 <?php 94 if ( 'all' == $cat_id ) 95 $cat_id = ''; 96 $links = get_bookmarks("category=$cat_id&hide_invisible=0&orderby=$sqlorderby&hide_empty=0"); 97 if ($links) { 98 ?> 93 99 <form id="cats" method="get" action=""> 94 100 <p>Currently showing 95 101 <?php $categories = get_categories("hide_empty=1&type=link"); ?> … … 128 134 </thead> 129 135 <tbody id="the-list"> 130 136 <?php 131 if ( 'all' == $cat_id )132 $cat_id = '';133 $links = get_bookmarks("category=$cat_id&hide_invisible=0&orderby=$sqlorderby&hide_empty=0");134 if ($links)135 137 foreach ($links as $link) { 136 138 $link->link_name = wp_specialchars($link->link_name); 137 139 $link->link_description = wp_specialchars($link->link_description); … … 186 188 <div id="ajax-response"></div> 187 189 188 190 <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> 191 <?php } ?> 192 193 <h3><a href="link-add.php"><?php _e('Create New Bookmark »'); ?></a></h3> 189 194 </div> 190 195 </form> 191 196