'; $deleted = (int) $_GET['deleted']; printf(__ngettext('%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'); $hidden = (array) get_user_option( 'manage-link-columns-hidden' ); ?> link_name = attribute_escape($link->link_name); $link->link_category = wp_get_link_cats($link->link_id); $short_url = str_replace('http://', '', $link->link_url); $short_url = str_replace('www.', '', $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'); $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;"'; if ( 'visible' == $column_name ) $style = empty($style) ? ' style="text-align: center;"' : ' style="text-align: center; display: none;"'; $attributes = "$class$style"; switch($column_name) { case 'cb': echo ''; break; case 'name': echo "'; break; case 'url': echo ""; break; case 'categories': ?>\n"; } ?>