'; $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']); } ?>

Add New)' ), 'link-add.php' ); ?>


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


'' . __('Name') . '', 'url' => '' . __('URL') . '', 'categories' => '' . __('Categories') . '', 'rel' => '' . __('rel') . '', 'visible' => '' . __('Visible') . '', ); $link_columns = apply_filters('manage_link_columns', $link_columns); ?> $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_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'); ++ $i; $style = ($i % 2) ? '' : ' class="alternate"'; ?>>'; foreach($link_columns as $column_name=>$column_display_name) { switch($column_name) { case 'name': echo ""; break; case 'url': echo ""; break; case 'categories': ?>\n"; } ?>