Categories should scroll if there are too many, made admin less busy.

git-svn-id: http://svn.automattic.com/wordpress/trunk@823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-02-02 08:21:17 +00:00
parent 4f3a01a6be
commit 9a309b8149
3 changed files with 21 additions and 25 deletions

View File

@ -25,12 +25,12 @@ if ($use_trackback) {
(Separate multiple <acronym title="Uniform Resource Locator">URL</acronym>s with spaces.)<br />
<input type="text" name="trackback_url" style="width: 415px" id="trackback" tabindex="7" value="'. str_replace("\n", ' ', $to_ping) .'" /></p>';
if ('' != $pinged) {
$form_trackback .= '<p>Already pinged:</p><ul>';
$pings .= '<p>Already pinged:</p><ul>';
$already_pinged = explode("\n", trim($pinged));
foreach ($already_pinged as $pinged_url) {
$form_trackback .= "\n\t<li>$pinged_url</li>";
$pings .= "\n\t<li>$pinged_url</li>";
}
$form_trackback .= '</ul>';
$pings .= '</ul>';
}
} else {
$form_trackback = '';
@ -83,13 +83,13 @@ window.onload = focusit;
</fieldset>
<fieldset id="postpassworddiv">
<legend><a href="http://wordpress.org/docs/reference/post/#post_password" title="Help on post password">Post Password</a></legend>
<div><input name="post_password" type="text" size="18" id="post_password" value="<?php echo $post_password ?>" /></div>
<div><input name="post_password" type="text" size="13" id="post_password" value="<?php echo $post_password ?>" /></div>
</fieldset>
<br />
<fieldset style="clear:both">
<legend><a href="http://wordpress.org/docs/reference/post/#excerpt" title="Help with excerpts">Excerpt</a></legend>
<div><textarea rows="2" cols="40" name="excerpt" tabindex="4" id="excerpt"><?php echo $excerpt ?></textarea></div>
<div><textarea rows="1" cols="40" name="excerpt" tabindex="4" id="excerpt"><?php echo $excerpt ?></textarea></div>
</fieldset>
<fieldset id="postdiv">
@ -140,12 +140,17 @@ if ($action != 'editcomment') {
<?php echo $form_pingback ?>
<?php echo $form_prevstatus ?>
<?php echo $form_trackback; ?>
<p><?php echo $saveasdraft; ?> <input type="submit" name="submit" value="Save" style="font-weight: bold;" tabindex="6" />
<input name="publish" type="submit" id="publish" tabindex="10" value="Publish" />
<input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" />
</p>
<?php
if ('' != $pinged) {
echo $pings;
}
?>
<?php
if ($action != 'editcomment') {
@ -155,7 +160,7 @@ if ($action != 'editcomment') {
<?php }
}
echo $form_trackback;
// if the level is 5+, allow user to edit the timestamp - not on 'new post' screen though
// if (($user_level > 4) && ($action != "post"))

View File

@ -110,7 +110,7 @@ edCanvas = document.getElementById('content');
<?php echo $form_pingback ?>
<?php echo $form_prevstatus ?>
<?php echo $form_trackback; ?>
<p><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="Save as Draft" />
<input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value="Save as Private" />
<input name="publish" type="submit" id="publish" tabindex="6" style="font-weight: bold;" value="Publish" />
@ -120,12 +120,6 @@ edCanvas = document.getElementById('content');
<input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" />
</p>
<?php
echo $form_trackback;
?>
</div>
</form>

View File

@ -46,7 +46,7 @@ body, td {
}
fieldset {
border: 1px solid #ccc;
border: 1px solid #ddd;
padding: 2px;
}
@ -65,10 +65,6 @@ fieldset legend {
padding: .1em;
}
fieldset:hover {
border: 1px solid #999;
}
form, label input {
margin: 0;
padding: 0;
@ -95,7 +91,7 @@ p, dl, dd, dt {
textarea, input, select {
background: #f4f4f4;
border: 1px solid #d8d8d8;
border: 1px solid #cacaca;
font-family: Georgia, "Times New Roman", Times, serif;
margin: 1px;
padding: 2px;
@ -213,6 +209,11 @@ textarea, input, select {
width: 9em;
}
#categorydiv div {
height: 27em;
overflow: auto;
}
#categorydiv input, #poststatusdiv input, #commentstatusdiv input, #pingstatusdiv input {
border: none;
}
@ -259,14 +260,10 @@ textarea, input, select {
padding: 2px;
}
#metainfo {
#metainfo, #postdiv {
clear: both;
}
#postdiv {
clear: both;
}
#poststatusdiv, #commentstatusdiv, #pingstatusdiv {
width: 6.5em;
}