Changeset 823

Show
Ignore:
Timestamp:
02/02/04 08:21:17 (5 years ago)
Author:
saxmatt
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/edit-form-advanced.php

    r694 r823  
    2626    <input type="text" name="trackback_url" style="width: 415px" id="trackback" tabindex="7" value="'. str_replace("\n", ' ', $to_ping) .'" /></p>'; 
    2727    if ('' != $pinged) { 
    28         $form_trackback .= '<p>Already pinged:</p><ul>'; 
     28        $pings .= '<p>Already pinged:</p><ul>'; 
    2929        $already_pinged = explode("\n", trim($pinged)); 
    3030        foreach ($already_pinged as $pinged_url) { 
    31             $form_trackback .= "\n\t<li>$pinged_url</li>"; 
     31            $pings .= "\n\t<li>$pinged_url</li>"; 
    3232        } 
    33         $form_trackback .= '</ul>'; 
     33        $pings .= '</ul>'; 
    3434    } 
    3535} else { 
     
    8484    <fieldset id="postpassworddiv"> 
    8585      <legend><a href="http://wordpress.org/docs/reference/post/#post_password" title="Help on post password">Post Password</a></legend>  
    86       <div><input name="post_password" type="text" size="18" id="post_password" value="<?php echo $post_password ?>" /></div> 
     86      <div><input name="post_password" type="text" size="13" id="post_password" value="<?php echo $post_password ?>" /></div> 
    8787    </fieldset> 
    8888 
     
    9090<fieldset style="clear:both"> 
    9191<legend><a href="http://wordpress.org/docs/reference/post/#excerpt" title="Help with excerpts">Excerpt</a></legend> 
    92 <div><textarea rows="2" cols="40" name="excerpt" tabindex="4" id="excerpt"><?php echo $excerpt ?></textarea></div> 
     92<div><textarea rows="1" cols="40" name="excerpt" tabindex="4" id="excerpt"><?php echo $excerpt ?></textarea></div> 
    9393</fieldset> 
    9494 
     
    141141<?php echo $form_pingback ?> 
    142142<?php echo $form_prevstatus ?> 
     143<?php echo $form_trackback; ?> 
    143144 
    144145<p><?php echo $saveasdraft; ?> <input type="submit" name="submit" value="Save" style="font-weight: bold;" tabindex="6" />  
     
    146147  <input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" /> 
    147148</p> 
    148  
     149<?php 
     150    if ('' != $pinged) { 
     151        echo $pings; 
     152    } 
     153?> 
    149154 
    150155<?php 
     
    156161} 
    157162 
    158 echo $form_trackback; 
     163 
    159164 
    160165// if the level is 5+, allow user to edit the timestamp - not on 'new post' screen though 
  • trunk/wp-admin/edit-form.php

    r694 r823  
    111111<?php echo $form_pingback ?> 
    112112<?php echo $form_prevstatus ?> 
    113  
     113<?php echo $form_trackback; ?> 
    114114<p><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="Save as Draft" />  
    115115  <input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value="Save as Private" />  
     
    121121</p> 
    122122 
    123  
    124 <?php 
    125  
    126 echo $form_trackback; 
    127 ?> 
    128  
    129123</div> 
    130124</form> 
  • trunk/wp-admin/wp-admin.css

    r694 r823  
    4747 
    4848fieldset { 
    49     border: 1px solid #ccc
     49    border: 1px solid #ddd
    5050    padding: 2px; 
    5151} 
     
    6666} 
    6767 
    68 fieldset:hover { 
    69     border: 1px solid #999; 
    70 } 
    71  
    7268form, label input { 
    7369    margin: 0; 
     
    9692textarea, input, select { 
    9793    background: #f4f4f4; 
    98     border: 1px solid #d8d8d8
     94    border: 1px solid #cacaca
    9995    font-family: Georgia, "Times New Roman", Times, serif; 
    10096    margin: 1px; 
     
    212208    right: 5%; 
    213209    width: 9em; 
     210} 
     211 
     212#categorydiv div { 
     213    height: 27em; 
     214    overflow: auto; 
    214215} 
    215216 
     
    260261} 
    261262 
    262 #metainfo
     263#metainfo, #postdiv
    263264    clear: both; 
    264 } 
    265  
    266 #postdiv { 
    267     clear: both; 
    268265} 
    269266