' . __('Search results for “%s”') . '', wp_specialchars( stripslashes($_GET['s']) ) ); ?>

'; $deleted = (int) $_GET['deleted']; printf(_n('%s link deleted.', '%s links deleted', $deleted), $deleted); echo '

'; $_SERVER['REQUEST_URI'] = remove_query_arg(array('deleted'), $_SERVER['REQUEST_URI']); } ?>

\n"; $select_cat .= '\n"; foreach ((array) $categories as $cat) $select_cat .= '\n"; $select_cat .= "\n"; $select_order = "\n"; echo $select_cat; echo $select_order; ?>

$cat_id, 'hide_invisible' => 0, 'orderby' => $sqlorderby, 'hide_empty' => 0); if ( !empty($_GET['s']) ) $args['search'] = $_GET['s']; $links = get_bookmarks( $args ); if ( $links ) { $link_columns = get_column_headers('link-manager'); $hidden = get_hidden_columns('link-manager'); ?> link_name = attr($link->link_name); $link->link_category = wp_get_link_cats($link->link_id); $short_url = str_replace('http://', '', $link->link_url); $short_url = preg_replace('/^www\./i', '', $short_url); if ('/' == substr($short_url, -1)) $short_url = substr($short_url, 0, -1); if (strlen($short_url) > 35) $short_url = substr($short_url, 0, 32).'...'; $visible = ($link->link_visible == 'Y') ? __('Yes') : __('No'); $rating = $link->link_rating; $style = ($alt % 2) ? '' : ' class="alternate"'; ++ $alt; $edit_link = get_edit_bookmark_link(); ?>>$column_display_name) { $class = "class=\"column-$column_name\""; $style = ''; if ( in_array($column_name, $hidden) ) $style = ' style="display:none;"'; $attributes = "$class$style"; switch($column_name) { case 'cb': echo ''; break; case 'name': echo "'; break; case 'url': echo ""; break; case 'categories': ?>\n"; } ?>