More help for link manager.

git-svn-id: https://develop.svn.wordpress.org/trunk@303 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-08-09 23:10:16 +00:00
parent 8ab54d6833
commit b87231d5b0
5 changed files with 16 additions and 16 deletions

View File

@ -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 = '&nbsp;<a href="'.$url.'" onclick="javascript:helpWindow(\''.$url.'\'); return false;" title="Click here for help"><span class="helplink">[?]</span></a>';
$s = '&nbsp;<span class="helplink"><a href="'.$url.'" onclick="javascript:helpWindow(\''.$url.'\'); return false;" title="Click here for help">[?]</a></span>';
return $s;
}
@ -56,7 +56,6 @@ if ($standalone == 0) {
<title>WordPress > <?php bloginfo('name') ?> > <?php echo $title; ?></title>
<link rel="stylesheet" href="b2.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
if ($redirect==1) {
?>

View File

@ -22,7 +22,7 @@
<dt id="edit_link_category"><a href="#edit_link_category">Edit a link category</a></dt>
<dd>This list display all the link categories you have defined with their
<dd>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 <a href="#add_link_category">adding</a> a new
@ -60,7 +60,6 @@
<p>Click on the 'Add Category!' button to add your new category.</p></dd>
<dt id="auto_toggle"><a href="#auto_toggle">Auto-toggle</a></dt>
<dd>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

View File

@ -87,8 +87,8 @@
move button.</dd>
<dt id="toggle_checkboxes"><a href="#toggle_checkboxes">Toggle Checkboxes</a></dt>
<dd>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
<dd>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.</dd>

View File

@ -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<count($b2varstoreset); $i += 1) {
@ -293,7 +294,7 @@ switch ($action) {
<tr>
<td>
<form name="cats" method="post">
<b>Edit</b> a link category:<br />
<b>Edit</b> a link category:<?php echo gethelp_link($this_file,'edit_link_category');?><br />
<table width="" cellpadding="5" cellspacing="0" border="0">
<tr style="background-color: #ddd;">
<th rowspan="2" valign="bottom" style="border-bottom: 1px dotted #9C9A9C;" >Id</th>
@ -360,7 +361,7 @@ $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle, show_images
<input type="hidden" name="action" value="addcat" />
<table border="0">
<tr>
<th>Add a Link Category:</th>
<th>Add a Link Category:<?php echo gethelp_link($this_file,'add_link_category');?></th>
</tr>
<tr>
<td align="right">Name:</td>

View File

@ -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) {
<li>Go to <a href="http://www.blogrolling.com">Blogrolling.com</a>
and sign in. Once you've done that, click on <strong>Get Code</strong>, and then
look for the <strong><abbr title="Outline Processor Markup Language">OPML</abbr>
code</strong>.</li>
code</strong><?php echo gethelp_link($this_file,'opml_code');?>.</li>
<li>Select that and copy it into the box below.<br />
<input type="hidden" name="step" value="1" />
Your OPML code: <input type="text" name="opml_url" size="65" />
Your OPML code:<?php echo gethelp_link($this_file,'opml_code');?> <input type="text" name="opml_url" size="65" />
</li>
<li>Now select a category you want to put these links in.<br />
Category: <select name="cat_id">
Category: <?php echo gethelp_link($this_file,'link_category');?><select name="cat_id">
<?php
$categories = $wpdb->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) {
</li>
<li><input type="submit" name="submit" value="Import!" /></li>
<li><input type="submit" name="submit" value="Import!" /><?php echo gethelp_link($this_file,'import');?></li>
</ol>
</form>