Categories should scroll if there are too many, made admin less busy.
git-svn-id: https://develop.svn.wordpress.org/trunk@823 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0e101b6e58
commit
faeb1826cd
|
@ -25,12 +25,12 @@ if ($use_trackback) {
|
||||||
(Separate multiple <acronym title="Uniform Resource Locator">URL</acronym>s with spaces.)<br />
|
(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>';
|
<input type="text" name="trackback_url" style="width: 415px" id="trackback" tabindex="7" value="'. str_replace("\n", ' ', $to_ping) .'" /></p>';
|
||||||
if ('' != $pinged) {
|
if ('' != $pinged) {
|
||||||
$form_trackback .= '<p>Already pinged:</p><ul>';
|
$pings .= '<p>Already pinged:</p><ul>';
|
||||||
$already_pinged = explode("\n", trim($pinged));
|
$already_pinged = explode("\n", trim($pinged));
|
||||||
foreach ($already_pinged as $pinged_url) {
|
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 {
|
} else {
|
||||||
$form_trackback = '';
|
$form_trackback = '';
|
||||||
|
@ -83,13 +83,13 @@ window.onload = focusit;
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset id="postpassworddiv">
|
<fieldset id="postpassworddiv">
|
||||||
<legend><a href="http://wordpress.org/docs/reference/post/#post_password" title="Help on post password">Post Password</a></legend>
|
<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>
|
</fieldset>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<fieldset style="clear:both">
|
<fieldset style="clear:both">
|
||||||
<legend><a href="http://wordpress.org/docs/reference/post/#excerpt" title="Help with excerpts">Excerpt</a></legend>
|
<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>
|
||||||
|
|
||||||
<fieldset id="postdiv">
|
<fieldset id="postdiv">
|
||||||
|
@ -140,12 +140,17 @@ if ($action != 'editcomment') {
|
||||||
|
|
||||||
<?php echo $form_pingback ?>
|
<?php echo $form_pingback ?>
|
||||||
<?php echo $form_prevstatus ?>
|
<?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" />
|
<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="publish" type="submit" id="publish" tabindex="10" value="Publish" />
|
||||||
<input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" />
|
<input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
<?php
|
||||||
|
if ('' != $pinged) {
|
||||||
|
echo $pings;
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ($action != 'editcomment') {
|
if ($action != 'editcomment') {
|
||||||
|
@ -155,7 +160,7 @@ if ($action != 'editcomment') {
|
||||||
<?php }
|
<?php }
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $form_trackback;
|
|
||||||
|
|
||||||
// if the level is 5+, allow user to edit the timestamp - not on 'new post' screen though
|
// if the level is 5+, allow user to edit the timestamp - not on 'new post' screen though
|
||||||
// if (($user_level > 4) && ($action != "post"))
|
// if (($user_level > 4) && ($action != "post"))
|
||||||
|
|
|
@ -110,7 +110,7 @@ edCanvas = document.getElementById('content');
|
||||||
|
|
||||||
<?php echo $form_pingback ?>
|
<?php echo $form_pingback ?>
|
||||||
<?php echo $form_prevstatus ?>
|
<?php echo $form_prevstatus ?>
|
||||||
|
<?php echo $form_trackback; ?>
|
||||||
<p><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="Save as Draft" />
|
<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="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" />
|
<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']; ?>" />
|
<input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
|
|
||||||
echo $form_trackback;
|
|
||||||
?>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ body, td {
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ddd;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,10 +65,6 @@ fieldset legend {
|
||||||
padding: .1em;
|
padding: .1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset:hover {
|
|
||||||
border: 1px solid #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
form, label input {
|
form, label input {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -95,7 +91,7 @@ p, dl, dd, dt {
|
||||||
|
|
||||||
textarea, input, select {
|
textarea, input, select {
|
||||||
background: #f4f4f4;
|
background: #f4f4f4;
|
||||||
border: 1px solid #d8d8d8;
|
border: 1px solid #cacaca;
|
||||||
font-family: Georgia, "Times New Roman", Times, serif;
|
font-family: Georgia, "Times New Roman", Times, serif;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
@ -213,6 +209,11 @@ textarea, input, select {
|
||||||
width: 9em;
|
width: 9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#categorydiv div {
|
||||||
|
height: 27em;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
#categorydiv input, #poststatusdiv input, #commentstatusdiv input, #pingstatusdiv input {
|
#categorydiv input, #poststatusdiv input, #commentstatusdiv input, #pingstatusdiv input {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
@ -259,14 +260,10 @@ textarea, input, select {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#metainfo {
|
#metainfo, #postdiv {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
#postdiv {
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
#poststatusdiv, #commentstatusdiv, #pingstatusdiv {
|
#poststatusdiv, #commentstatusdiv, #pingstatusdiv {
|
||||||
width: 6.5em;
|
width: 6.5em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue