From a3a183fb3bcf016b5d8be49e715c206b650e11b5 Mon Sep 17 00:00:00 2001 From: mikelittle Date: Sat, 9 Aug 2003 23:10:16 +0000 Subject: [PATCH] More help for link manager. git-svn-id: http://svn.automattic.com/wordpress/trunk@303 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/b2header.php | 3 +-- wp-admin/help/en/linkcategories.php.help.html | 3 +-- wp-admin/help/en/linkmanager.php.help.html | 4 ++-- wp-admin/linkcategories.php | 13 +++++++------ wp-admin/links.import.php | 9 +++++---- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/wp-admin/b2header.php b/wp-admin/b2header.php index 345b9e8a0c..592a3514fe 100644 --- a/wp-admin/b2header.php +++ b/wp-admin/b2header.php @@ -10,7 +10,7 @@ require_once($abspath.$b2inc.'/xmlrpcs.inc'); function gethelp_link($this_file, $helptag) { $url = 'help/en/'.$this_file.'.help.html#'.$helptag; - $s = ' [?]'; + $s = ' [?]'; return $s; } @@ -56,7 +56,6 @@ if ($standalone == 0) { WordPress > <?php bloginfo('name') ?> > <?php echo $title; ?> - diff --git a/wp-admin/help/en/linkcategories.php.help.html b/wp-admin/help/en/linkcategories.php.help.html index c292c89379..5ad39be478 100644 --- a/wp-admin/help/en/linkcategories.php.help.html +++ b/wp-admin/help/en/linkcategories.php.help.html @@ -22,7 +22,7 @@ -
This list display all the link categories you have defined with their +
This list displays all the link categories you have defined with their settings. When used in conjunction with the 'Delete' or 'Edit' button it allows you to delete or edit the selected category. When editing, you can set all the same settings as when adding a new @@ -60,7 +60,6 @@

Click on the 'Add Category!' button to add your new category.

Auto-toggle
-
Auto toggle is a setting for a link category. Setting this to on means that whenever you edit links in this category, the system will only allow one link at a time to be visible. If you set a link to be visible, or create a new diff --git a/wp-admin/help/en/linkmanager.php.help.html b/wp-admin/help/en/linkmanager.php.help.html index 4bdab0d23b..0efd51b3c5 100644 --- a/wp-admin/help/en/linkmanager.php.help.html +++ b/wp-admin/help/en/linkmanager.php.help.html @@ -87,8 +87,8 @@ move button.
Toggle Checkboxes
-
This link allows you to toggle the checked state of a ll the links in the - list. Links which were checked will become unchecked, links which wrre +
This link allows you to toggle the checked state of all the links in the + list. Links which were checked will become unchecked, links which were unchecked will become checked.
diff --git a/wp-admin/linkcategories.php b/wp-admin/linkcategories.php index 8fefe8b6e7..9d49a0dc6f 100644 --- a/wp-admin/linkcategories.php +++ b/wp-admin/linkcategories.php @@ -2,13 +2,13 @@ // $Id$ // // Links -// Copyright (C) 2002 Mike Little -- mike@zed1.com +// Copyright (C) 2002, 2003 Mike Little -- mike@zed1.com // -// This is an add-on to b2 weblog / news publishing tool +// This is an add-on to b2/WordPress weblog / news publishing tool // b2 is copyright (c)2001, 2002 by Michel Valdrighi - m@tidakada.com // // ********************************************************************** -// Copyright (C) 2002 Mike Little +// Copyright (C) 2002, 2003 Mike Little // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -29,7 +29,8 @@ include_once('../wp-links/links.php'); -$title = "Link Categories"; +$title = 'Link Categories'; +$this_file='linkcategories.php'; $b2varstoreset = array('action','standalone','cat', 'auto_toggle'); for ($i=0; $i
- Edit a link category:
+ Edit a link category:
@@ -360,7 +361,7 @@ $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle, show_images
Id
- + diff --git a/wp-admin/links.import.php b/wp-admin/links.import.php index 7af5783362..094eef2b6f 100644 --- a/wp-admin/links.import.php +++ b/wp-admin/links.import.php @@ -30,6 +30,7 @@ require_once('../wp-config.php'); include_once("../wp-links/links.php"); $title = 'Import Blogroll'; +$this_file = 'links.import.php'; $step = $HTTP_GET_VARS['step']; if (!$step) $step = 0; @@ -51,15 +52,15 @@ switch ($step) {
  • Go to Blogrolling.com and sign in. Once you've done that, click on Get Code, and then look for the OPML - code.
  • + code.
  • Select that and copy it into the box below.
    - Your OPML code: + Your OPML code:
  • Now select a category you want to put these links in.
    - Category: get_results("SELECT cat_id, cat_name, auto_toggle FROM $tablelinkcategories ORDER BY cat_id"); foreach ($categories as $category) { @@ -72,7 +73,7 @@ switch ($step) {
  • -
  • +
  • Add a Link Category:Add a Link Category:
    Name: