<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[14909] trunk/wp-admin: Help for links pages.</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/14909">14909</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2010-05-25 22:45:18 +0000 (Tue, 25 May 2010)</dd>
</dl>
<h3>Log Message</h3>
<pre>Help for links pages. Props jorbin. see <a href="http://trac.wordpress.org/ticket/13467">#13467</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmineditlinkcategoriesphp">trunk/wp-admin/edit-link-categories.php</a></li>
<li><a href="#trunkwpadmineditlinkformphp">trunk/wp-admin/edit-link-form.php</a></li>
<li><a href="#trunkwpadminlinkmanagerphp">trunk/wp-admin/link-manager.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmineditlinkcategoriesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-link-categories.php (14908 => 14909)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-link-categories.php        2010-05-25 22:38:29 UTC (rev 14908)
+++ trunk/wp-admin/edit-link-categories.php        2010-05-25 22:45:18 UTC (rev 14909)
</span><span class="lines">@@ -51,6 +51,18 @@
</span><span class="cx"> if ( current_user_can('manage_categories') )
</span><span class="cx">         wp_enqueue_script('inline-edit-tax');
</span><span class="cx">
</span><ins>+add_contextual_help($current_screen, '<p>' . __('You can create groups of links by using link categories. Link category names must be unique and link categories are separate from the categories you use for posts.') . '</p>' .
+        '<p>' . __('You can delete link categories, but that action does not delete the links within the category. Instead, it moves them to the default link category.') . '</p>' .
+'<p>'. __('For more information:').
+
+'</p>
+<ul>
+                        <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://codex.wordpress.org/Links_Link_Categories_SubPanel', 'Link Categories Documentation') ) .'</li>' .
+'                        <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://wordpress.org/support/', 'Support Forums') ) .'</li>' .
+
+                '</ul>'
+);
+
</ins><span class="cx"> require_once ('admin-header.php');
</span><span class="cx">
</span><span class="cx"> $messages[1] = __('Category added.');
</span></span></pre></div>
<a id="trunkwpadmineditlinkformphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-link-form.php (14908 => 14909)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-link-form.php        2010-05-25 22:38:29 UTC (rev 14908)
+++ trunk/wp-admin/edit-link-form.php        2010-05-25 22:45:18 UTC (rev 14909)
</span><span class="lines">@@ -37,8 +37,19 @@
</span><span class="cx"> do_action('do_meta_boxes', 'link', 'advanced', $link);
</span><span class="cx"> do_action('do_meta_boxes', 'link', 'side', $link);
</span><span class="cx">
</span><del>-add_contextual_help($current_screen, drag_drop_help());
</del><ins>+add_contextual_help($current_screen, '<p>' . __('You can add or edit links on this screen by entering information in each of the boxes. Only the link\'s web address and name (the text you want to display on your site as the link) are required fields.') . '</p>' .
+        '<p>' . __('The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don\'t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.') . '</p>' .
+        '<p>' . __( sprintf('XFN stands for <a href="%s">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of site to which you are linking.', 'http://gmpg.org/xfn/' ) ) . '</p>' .
+'<p>'. __('For more information:').
</ins><span class="cx">
</span><ins>+'</p>
+<ul>
+                        <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://codex.wordpress.org/Links_Add_New_SubPanel', 'Creating Links Documentation') ) .'</li>' .
+'                        <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://wordpress.org/support/', 'Support Forums') ) .'</li>' .
+
+                '</ul>'
+);
+
</ins><span class="cx"> require_once ('admin-header.php');
</span><span class="cx">
</span><span class="cx"> ?>
</span></span></pre></div>
<a id="trunkwpadminlinkmanagerphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/link-manager.php (14908 => 14909)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/link-manager.php        2010-05-25 22:38:29 UTC (rev 14908)
+++ trunk/wp-admin/link-manager.php        2010-05-25 22:45:18 UTC (rev 14909)
</span><span class="lines">@@ -43,6 +43,19 @@
</span><span class="cx">
</span><span class="cx"> $title = __('Links');
</span><span class="cx"> $this_file = $parent_file = 'link-manager.php';
</span><ins>+
+add_contextual_help( $current_screen, '<p>' . __('You can add links here to be displayed on your site, usually using Widgets [link to wp-admin/widgets.php]. By default, links to several sites in WordPress community are included as examples') . '</p>' .
+         '<p>' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '</p>' .
+         '<p>' . __('You can customize the display of this screen using he Screen Options tab and/or the dropdown filters above the links table.') . '</p>' .
+         '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet. ') . '</p>' .
+         '<p>' . __('For more information:') . '</p>' .
+         '<ul>
+                        <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://codex.wordpress.org/Links_Edit_SubPanel', 'Link Management Documentation') ) .'</li>' .
+'                        <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://wordpress.org/support/', 'Support Forums') ) .'</li>' .
+
+                '</ul>'
+        );
+
</ins><span class="cx"> include_once ('./admin-header.php');
</span><span class="cx">
</span><span class="cx"> if ( ! current_user_can('manage_links') )
</span></span></pre>
</div>
</div>
</body>
</html>