Make WordPress Core

Changeset 1076


Ignore:
Timestamp:
04/15/2004 09:15:56 AM (22 years ago)
Author:
saxmatt
Message:

Interface improvements.

Location:
trunk/wp-admin
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r968 r1076  
    141141
    142142<div class="wrap">
    143 <h2>Current Categories</h2>
     143<h2>Current Categories (<a href="#addcat">add new</a>) </h2>
    144144<table width="100%" cellpadding="3" cellspacing="3">
    145145    <tr>
  • trunk/wp-admin/install.php

    r1073 r1076  
    443443"INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(34,'fileupload_allowedtypes', 3, 'jpg gif png', 'accepted file types, separated by spaces. example: \'jpg gif png\'', 8, 20)",
    444444"INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(35,'fileupload_maxk', 1, '96', 'by default, most servers limit the size of uploads to 2048 KB, if you want to set it to a lower value, here it is (you cannot set a higher value than your server limit)', 8, 20)",
    445 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(36,'fileupload_minlevel', 1, '1', 'you may not want all users to upload pictures/files, so you can set a minimum level for this', 8, 20)",
     445"INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(36,'fileupload_minlevel', 1, '4', 'you may not want all users to upload pictures/files, so you can set a minimum level for this', 8, 20)",
    446446"INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(37,'fileupload_allowedusers', 3, '', '...or you may authorize only some users. enter their logins here, separated by spaces. if you leave this variable blank, all users who have the minimum level are authorized to upload. example: \'barbara anne george\'', 8, 30)",
    447447// email settings
  • trunk/wp-admin/link-add.php

    r945 r1076  
    7070</style>
    7171<div class="wrap">
    72 <h3><strong>Add</strong> a link:<?php echo gethelp_link($this_file,'add_a_link');?></h3>
     72<h2><strong>Add</strong> a link: <?php echo gethelp_link($this_file,'add_a_link');?></h2>
    7373     <form name="addlink" method="post" action="link-manager.php">
    74        <table width="100%"  border="0" cellspacing="0" cellpadding="4">
    75          <tr>
    76            <th scope="row">URI:</th>
    77            <td><input type="text" name="linkurl" size="80" value="<?php echo $link_url; ?>"></td>
     74<fieldset class="options">
     75    <legend>Basics</legend>
     76        <table class="editform" width="100%" cellspacing="2" cellpadding="5">
     77         <tr>
     78           <th width="33%" scope="row">URI:</th>
     79           <td width="67%"><input type="text" name="linkurl" value="<?php echo $_GET['linkurl']; ?>" style="width: 95%; /"></td>
    7880         </tr>
    7981         <tr>
    8082           <th scope="row">Link Name:</th>
    81            <td><input type="text" name="name" size="80" value="<?php echo $link_name; ?>"></td>
    82          </tr>
    83          <tr>
    84            <th scope="row">Image</th>
    85            <td><input type="text" name="image" size="80" value=""></td>
    86          </tr>
    87          <tr>
     83           <td><input type="text" name="name" value="<?php echo urldecode($_GET['name']); ?>" style="width: 95%" /></td>
     84         </tr>
     85         <tr>
     86            <th scope="row">Description:</th>
     87            <td><input type="text" name="description" value="" style="width: 95%" /></td>
     88            </tr>
     89        <tr>
     90           <th scope="row">Category:</th>
     91           <td><?php category_dropdown('category'); ?></td>
     92         </tr>
     93</table>
     94</fieldset>
     95       <p class="submit">
     96         <input type="submit" name="submit" value="Add Link &raquo;" >
     97       </p>
     98    <fieldset class="options">
     99    <legend>Link Relationship (XFN)</legend>
     100        <table class="editform" width="100%" cellspacing="2" cellpadding="5">
     101            <tr>
     102                <th width="33%" scope="row">rel:</th>
     103                <td width="67%"><input type="text" name="rel" id="rel" size="50" value=""></td>
     104            </tr>
     105            <tr>
     106                <th scope="row"><a href="http://gmpg.org/xfn/">XFN</a> Creator:</th>
     107                <td><table cellpadding="3" cellspacing="5">
     108                        <tr>
     109                            <th scope="row"> friendship </th>
     110                            <td><label for="label">
     111                                <input class="valinp" type="radio" name="friendship" value="acquaintance" id="label"  />
     112                    acquaintance</label>
     113                                    <label for="label2">
     114                                    <input class="valinp" type="radio" name="friendship" value="friend" id="label2" />
     115                    friend</label>
     116                                    <label for="label3">
     117                                    <input class="valinp" type="radio" name="friendship" value="" id="label3" />
     118                    none</label>
     119                                </td>
     120                        </tr>
     121                        <tr>
     122                            <th scope="row"> physical </th>
     123                            <td><label for="label4">
     124                                <input class="valinp" type="checkbox" name="physical" value="met" id="label4" />
     125                    met</label>
     126                                </td>
     127                        </tr>
     128                        <tr>
     129                            <th scope="row"> professional </th>
     130                            <td><label for="label5">
     131                                <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label5" />
     132                    co-worker</label>
     133                                    <label for="label6">
     134                                    <input class="valinp" type="checkbox" name="professional" value="colleague" id="label6" />
     135                    colleague</label>
     136                                </td>
     137                        </tr>
     138                        <tr>
     139                            <th scope="row"> geographical </th>
     140                            <td><label for="label7">
     141                                <input class="valinp" type="radio" name="geographical" value="co-resident" id="label7" />
     142                    co-resident</label>
     143                                    <label for="label8">
     144                                    <input class="valinp" type="radio" name="geographical" value="neighbor" id="label8" />
     145                    neighbor</label>
     146                                    <label for="label9">
     147                                    <input class="valinp" type="radio" name="geographical" value="" id="label9" />
     148                    none</label>
     149                                </td>
     150                        </tr>
     151                        <tr>
     152                            <th scope="row"> family </th>
     153                            <td><label for="label10">
     154                                <input class="valinp" type="radio" name="family" value="child" id="label10" />
     155                    child</label>
     156                                    <label for="label11">
     157                                    <input class="valinp" type="radio" name="family" value="parent" id="label11" />
     158                    parent</label>
     159                                    <label for="label12">
     160                                    <input class="valinp" type="radio" name="family" value="sibling" id="label12" />
     161                    sibling</label>
     162                                    <label for="label13">
     163                                    <input class="valinp" type="radio" name="family" value="spouse" id="label13" />
     164                    spouse</label>
     165                                    <label for="label14">
     166                                    <input class="valinp" type="radio" name="family" value="" id="label14" />
     167                    none</label>
     168                                </td>
     169                        </tr>
     170                        <tr>
     171                            <th scope="row"> romantic </th>
     172                            <td><label for="label15">
     173                                <input class="valinp" type="checkbox" name="romantic" value="muse" id="label15" />
     174                    muse</label>
     175                                    <label for="label16">
     176                                    <input class="valinp" type="checkbox" name="romantic" value="crush" id="label16" />
     177                    crush</label>
     178                                    <label for="label17">
     179                                    <input class="valinp" type="checkbox" name="romantic" value="date" id="label17" />
     180                    date</label>
     181                                    <label for="label18">
     182                                    <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label18" />
     183                    sweetheart</label>
     184                                </td>
     185                        </tr>
     186                        </table></td>
     187            </tr>
     188</table>
     189</fieldset>
     190       <p class="submit">
     191         <input type="submit" name="submit" value="Add Link &raquo;" >
     192       </p>
     193<fieldset class="options">
     194    <legend>Advanced</legend>
     195        <table class="editform" width="100%" cellspacing="2" cellpadding="5">
     196         <tr>
     197           <th width="33%" scope="row">Image:</th>
     198           <td width="67%"><input type="text" name="image" size="50" value=""></td>
     199         </tr>
     200<tr>
    88201           <th scope="row">RSS URI: </th>
    89            <td><input name="rss_uri" type="text" id="rss_uri" value="" size="80"></td>
     202           <td><input name="rss_uri" type="text" id="rss_uri" value="" size="50"></td>
    90203         </tr>
    91204         <tr>
    92205           <th scope="row">Description</th>
    93            <td><input type="text" name="description" size="80" value=""></td>
    94          </tr>
    95          <tr>
    96            <th scope="row">rel:</th>
    97            <td><input type="text" name="rel" id="rel" size="80" value=""></td>
    98          </tr>
    99          <tr>
    100            <th scope="row"><a href="http://gmpg.org/xfn/">XFN</a>:</th>
    101            <td><table cellpadding="3" cellspacing="5">
    102              <tr>
    103                <th scope="row"> friendship </th>
    104                <td>
    105                  <label for="label">
    106                  <input class="valinp" type="radio" name="friendship" value="acquaintance" id="label"  />
    107       acquaintance</label>
    108                  <label for="label2">
    109                  <input class="valinp" type="radio" name="friendship" value="friend" id="label2" />
    110       friend</label>
    111                  <label for="label3">
    112                  <input class="valinp" type="radio" name="friendship" value="" id="label3" />
    113       none</label>
    114                </td>
    115              </tr>
    116              <tr>
    117                <th scope="row"> physical </th>
    118                <td>
    119                  <label for="label4">
    120                  <input class="valinp" type="checkbox" name="physical" value="met" id="label4" />
    121       met</label>
    122                </td>
    123              </tr>
    124              <tr>
    125                <th scope="row"> professional </th>
    126                <td>
    127                  <label for="label5">
    128                  <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label5" />
    129       co-worker</label>
    130                  <label for="label6">
    131                  <input class="valinp" type="checkbox" name="professional" value="colleague" id="label6" />
    132       colleague</label>
    133                </td>
    134              </tr>
    135              <tr>
    136                <th scope="row"> geographical </th>
    137                <td>
    138                  <label for="label7">
    139                  <input class="valinp" type="radio" name="geographical" value="co-resident" id="label7" />
    140       co-resident</label>
    141                  <label for="label8">
    142                  <input class="valinp" type="radio" name="geographical" value="neighbor" id="label8" />
    143       neighbor</label>
    144                  <label for="label9">
    145                  <input class="valinp" type="radio" name="geographical" value="" id="label9" />
    146       none</label>
    147                </td>
    148              </tr>
    149              <tr>
    150                <th scope="row"> family </th>
    151                <td>
    152                  <label for="label10">
    153                  <input class="valinp" type="radio" name="family" value="child" id="label10" />
    154       child</label>
    155                  <label for="label11">
    156                  <input class="valinp" type="radio" name="family" value="parent" id="label11" />
    157       parent</label>
    158                  <label for="label12">
    159                  <input class="valinp" type="radio" name="family" value="sibling" id="label12" />
    160       sibling</label>
    161                  <label for="label13">
    162                  <input class="valinp" type="radio" name="family" value="spouse" id="label13" />
    163       spouse</label>
    164                  <label for="label14">
    165                  <input class="valinp" type="radio" name="family" value="" id="label14" />
    166       none</label>
    167                </td>
    168              </tr>
    169              <tr>
    170                <th scope="row"> romantic </th>
    171                <td>
    172                  <label for="label15">
    173                  <input class="valinp" type="checkbox" name="romantic" value="muse" id="label15" />
    174       muse</label>
    175                  <label for="label16">
    176                  <input class="valinp" type="checkbox" name="romantic" value="crush" id="label16" />
    177       crush</label>
    178                  <label for="label17">
    179                  <input class="valinp" type="checkbox" name="romantic" value="date" id="label17" />
    180       date</label>
    181                  <label for="label18">
    182                  <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label18" />
    183       sweetheart</label>
    184                </td>
    185              </tr>
    186            </table></td>
     206           <td>&nbsp;</td>
    187207         </tr>
    188208         <tr>
    189209           <th scope="row">Notes:</th>
    190            <td><textarea name="notes" cols="80" rows="10"></textarea></td>
     210           <td><textarea name="notes" cols="50" rows="10"></textarea></td>
    191211         </tr>
    192212         <tr>
     
    208228&nbsp;
    209229<label>
     230<br>
    210231<input type="radio" name="target" value="_top">
    211232<code>_top</code></label>
    212233&nbsp;
    213234<label>
     235<br>
    214236<input type="radio" name="target" value="" checked="checked">
    215237none</label>
     
    220242           <td><label>
    221243             <input type="radio" name="visible" checked="checked" value="Y">
    222 Yes</label>
    223 &nbsp;
    224 <label>
    225 <input type="radio" name="visible" value="N">
     244Yes</label><label><br>
     245<input type="radio" name="visible" value="N"> <input type="hidden" name="action" value="Add" />
    226246No</label></td>
    227247         </tr>
    228          <tr>
    229            <th scope="row">Category:</th>
    230            <td><?php category_dropdown('category'); ?></td>
    231          </tr>
    232        </table>
    233        <p style="text-align: center;">
    234          <input type="submit" name="submit" value="Add Link" class="search"> <input type="hidden" name="action" value="Add" />
     248</table>
     249</fieldset>
     250
     251       <p class="submit">
     252         <input type="submit" name="submit" value="Add Link &raquo;" >
    235253       </p>
    236254  </form>
  • trunk/wp-admin/link-manager.php

    r957 r1076  
    619619        </td>
    620620        <td>
    621           <input type="submit" name="action" value="Show" class="search" /><?php echo gethelp_link($this_file,'show');?>
     621          <input type="submit" name="action" value="Show" />
     622          <?php echo gethelp_link($this_file,'show');?>
    622623        </td>
    623624      </tr>
     
    738739        </td>
    739740        <td align="right">
    740           <a href="#" onclick="checkAll(document.getElementById('links')); return false; ">Toggle Checkboxes</a><?php echo gethelp_link($this_file,'toggle_checkboxes');?>
     741          <a href="#" onClick="checkAll(document.getElementById('links')); return false; ">Toggle Checkboxes</a><?php echo gethelp_link($this_file,'toggle_checkboxes');?>
    741742        </td>
    742743    </tr>
  • trunk/wp-admin/options-discussion.php

    r1072 r1076  
    4545        <input type="hidden" name="action" value="update" />
    4646        <input type="hidden" name="page_options" value="'default_pingback_flag','default_ping_status','default_comment_status','comments_notify','moderation_notify','comment_moderation','require_name_email','comment_max_links','moderation_keys'" />
    47         <h3>Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em></h3>
     47<fieldset class="options">
     48        <legend>Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em></legend>
    4849        <ul>
    4950            <li>
    5051                <label for="default_pingback_flag">
    5152                <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_settings('default_pingback_flag')); ?> />
    52                 Attempt to notify any Weblogs linked to from the article. (Slows down posting.)</label>
     53                Attempt to notify any Weblogs linked to from the article (slows down posting.)</label>
    5354            </li>
    5455            <li>
    5556                <label for="default_ping_status">
    5657                <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_settings('default_ping_status')); ?> />
    57                 Allow link notifications from other Weblogs. (Pingbacks and trackbacks.)</label>
     58                Allow link notifications from other Weblogs (pingbacks and trackbacks.)</label>
    5859            </li>
    5960            <li>
     
    6364            </li>
    6465        </ul>
    65         <h3>Email me whenever:</h3>
     66</fieldset>
     67<fieldset class="options">
     68        <legend>Email me whenever:</legend>
    6669        <ul>
    6770            <li>
     
    7679            </li>
    7780        </ul>
    78         <h3>Before a comment appears:</h3>
     81</fieldset>
     82<fieldset class="options">
     83        <legend>Before a comment appears:</legend>
    7984        <ul>
    8085            <li>
     
    8994            </li>
    9095        </ul>
     96</fieldset>
    9197<fieldset class="options">
    9298        <legend>Comment Moderation</legend>
     
    96102        <p>When a comment contains any of these words in its content, name, URI,  email, or IP, hold it in the moderation queue: (Seperate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.</p>
    97103        <p>
    98             <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%;"><?php echo get_settings('moderation_keys'); ?></textarea>
     104            <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php echo get_settings('moderation_keys'); ?></textarea>
    99105        </p>
    100106</fieldset>
  • trunk/wp-admin/options-misc.php

    r1074 r1076  
    4747    <input type="hidden" name="action" value="update" />        <input type="hidden" name="page_options" value="'hack_file','use_fileupload','fileupload_realpath','fileupload_url','fileupload_allowedtypes','fileupload_maxk','fileupload_maxk'" />
    4848<fieldset class="options">
    49 <legend>File Uploads</legend>
     49<legend>
     50<input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> />
     51<label for="use_fileupload">Allow File Uploads</label></legend>
    5052    <table width="100%" cellspacing="2" cellpadding="5" class="editform">
    51       <tr valign="top">
    52         <th scope="row"><label for="use_fileupload">Allow file uploads:</label></th>
    53         <td>
    54             <input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> />
    55        </td>
    56       </tr>
    57       <tr valign="top">
    58         <th width="33%" scope="row"> Destination directory: </th>
     53      <tr>
     54        <th width="33%" valign="top" scope="row"> Destination directory: </th>
    5955        <td>
    6056            <input name="fileupload_realpath" type="text" id="fileupload_realpath" value="<?php echo get_settings('fileupload_realpath'); ?>" size="50" /><br />
     
    6359            </td>
    6460      </tr>
    65       <tr valign="top">
    66         <th scope="row">URI of this directory: </th>
     61      <tr>
     62        <th valign="top" scope="row">URI of this directory: </th>
    6763        <td>         
    6864            <input name="fileupload_url" type="text" id="fileupload_url" value="<?php echo get_settings('fileupload_url'); ?>" size="50" /><br />
     
    7066        </td>
    7167      </tr>
    72       <tr valign="top">
     68      <tr>
    7369        <th scope="row">Maximum size: </th>
    7470        <td><input name="fileupload_maxk" type="text" id="fileupload_maxk" value="<?php echo get_settings('fileupload_maxk'); ?>" size="4">
    7571            Kilobytes (KB)</td>
    7672        </tr>
    77       <tr valign="top">
    78         <th scope="row">Allowed file extensions:</th>
     73      <tr>
     74        <th valign="top" scope="row">Allowed file extensions:</th>
    7975        <td><input name="fileupload_allowedtypes" type="text" id="fileupload_allowedtypes" value="<?php echo get_settings('fileupload_allowedtypes'); ?>" size="40">
    8076            <br>
    8177            Recommended: <code>jpg jpeg png gif </code></td>
    8278        </tr>
    83       <tr valign="top">
     79      <tr>
    8480        <th scope="row">Minimum level to upload:</th>
    8581        <td><select name="fileupload_minlevel" id="fileupload_minlevel">
  • trunk/wp-admin/profile.php

    r957 r1076  
    245245  <table width="99%"  border="0" cellspacing="2" cellpadding="3">
    246246    <tr>
    247       <th width="15%" scope="row">First name:</th>
    248       <td><input type="text" name="newuser_firstname" id="newuser_firstname" value="<?php echo $profiledata->user_firstname ?>" /></td>
     247      <th width="33%" scope="row">First name:</th>
     248      <td width="73%"><input type="text" name="newuser_firstname" id="newuser_firstname" value="<?php echo $profiledata->user_firstname ?>" /></td>
    249249    </tr>
    250250    <tr>
     
    313313    </tr>
    314314  </table>
    315   <p style=" text-align: center;">
    316     <input class="search" type="submit" value="Update" name="submit" /></p>
     315  <p class="submit">
     316    <input type="submit" value="Update &raquo;" name="submit" />
     317  </p>
    317318    </div>
    318319</form>
     
    330331</script>
    331332    <strong>SideBar</strong><br />
    332     Add the <a href="#" onclick="addPanel()">WordPress Sidebar</a>!
     333    Add the <a href="#" onClick="addPanel()">WordPress Sidebar</a>!
    333334    <?php } elseif (($is_winIE) || ($is_macIE)) { ?>
    334335    <strong>SideBar</strong><br />
Note: See TracChangeset for help on using the changeset viewer.