X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/76aea3697c6043c1613370f172395b4f65ee71f0..9b5673a7aae863ab45c3b73460060352c5b3810b:/wp-admin/link-manager.php diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 48f59f25..2243d6b0 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -1,45 +1,63 @@ ' . sprintf(__('You can add links here to be displayed on your site, usually using Widgets. By default, links to several sites in the WordPress community are included as examples.'), 'widgets.php') . '
' . + '' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '
' . + '' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '
' . + '' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.') . '
' . + '' . __('For more information:') . '
' . + '' . __('Link Management Documentation') . '
' . + '' . __('Support Forums') . '
' +); + +include_once ('./admin-header.php'); -if (!current_user_can('manage_links')) - wp_die(__("You do not have sufficient permissions to edit the links for this blog.")); +if ( ! current_user_can('manage_links') ) + wp_die(__("You do not have sufficient permissions to edit the links for this site.")); switch ($order_by) { case 'order_id' : @@ -61,40 +79,60 @@ switch ($order_by) { default : $sqlorderby = 'name'; break; -} +} ?> + +'; + echo '
'; $deleted = (int) $_GET['deleted']; - printf(__ngettext('%s link deleted.', '%s links deleted', $deleted), $deleted); + printf(_n('%s link deleted.', '%s links deleted', $deleted), $deleted); echo '