Make WordPress Core


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

Interface improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.