Changeset 4590
- Timestamp:
- 12/03/2006 09:32:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-manager.php
r4535 r4590 95 95 </form> 96 96 97 <?php 98 if ( 'all' == $cat_id ) 99 $cat_id = ''; 100 $links = get_bookmarks( "category=$cat_id&hide_invisible=0&orderby=$sqlorderby&hide_empty=0" ); 101 if ( $links ) { 102 ?> 103 97 104 <form id="links" method="post" action="link.php"> 98 105 <?php wp_nonce_field('bulk-bookmarks') ?> … … 115 122 <tbody id="the-list"> 116 123 <?php 117 if ( 'all' == $cat_id )118 $cat_id = '';119 $links = get_bookmarks("category=$cat_id&hide_invisible=0&orderby=$sqlorderby&hide_empty=0");120 if ($links)121 124 foreach ($links as $link) { 122 125 $link->link_name = wp_specialchars($link->link_name); … … 174 177 <p class="submit"><input type="submit" class="button" name="deletebookmarks" id="deletebookmarks" value="<?php _e('Delete Checked Links') ?> »" onclick="return confirm('<?php echo js_escape(__("You are about to delete these links permanently \\n \'Cancel\' to stop, \'OK\' to delete.")); ?>')" /></p> 175 178 </form> 179 180 <?php } ?> 181 176 182 </div> 177 183
Note: See TracChangeset
for help on using the changeset viewer.