Help tab fixes

git-svn-id: http://svn.automattic.com/wordpress/trunk@9547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-11-06 08:32:25 +00:00
parent d0190fb09a
commit 877bc21808
2 changed files with 9 additions and 14 deletions

View File

@ -985,12 +985,13 @@ table.diff .diff-addedline ins {
border-top-color: #e4f2fd;
}
#screen-options-wrap {
#screen-options-wrap,
#contextual-help-wrap {
background-color: #f1f1f1;
border-color: #dfdfdf;
}
#screen-options a.show-settings {
#screen-meta-links a.show-settings {
color: #606060;
}

View File

@ -3149,9 +3149,9 @@ function screen_meta($screen, $metabox = false, $page = '') {
return;
global $title;
$help['edit-post'] = __('<a href="http://codex.wordpress.org/Writing_Posts">Writing Posts</a>');
$help['general-settings'] = __('<a href="http://codex.wordpress.org/Settings_General_SubPanel">General Settings</a>');
$help['edit-post'] = __('<a href="http://codex.wordpress.org/Writing_Posts" target="_blank">Writing Posts</a>');
$help['general-settings'] = __('<a href="http://codex.wordpress.org/Settings_General_SubPanel" target="_blank">General Settings</a>');
?>
<div id="contextual-help-wrap" class="hidden">
<?php
@ -3166,11 +3166,11 @@ function screen_meta($screen, $metabox = false, $page = '') {
} else {
echo '<h5>' . __('Help') . '</h5>';
}
echo '<div class="metabox-prefs">';
_e('<a href="http://codex.wordpress.org/">Documentation</a>');
_e('<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>');
echo '<br />';
_e('<a href="http://wordpress.org/support/">Support Forums</a>');
_e('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>');
echo "</div>\n";
?>
</div>
@ -3178,7 +3178,6 @@ function screen_meta($screen, $metabox = false, $page = '') {
}
?>
<div id="screen-meta-links">
<?php if ( '' != $page ) { ?>
<div id="contextual-help-link-wrap" class="hide-if-no-js screen-meta-toggle">
@ -3191,11 +3190,6 @@ function screen_meta($screen, $metabox = false, $page = '') {
</div>
</div>
<?php
}
function contextual_help( ) {
}
?>