Changeset 1538
- Timestamp:
- 08/17/2004 01:53:06 PM (22 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
-
link-add.php (modified) (6 diffs)
-
link-manager.php (modified) (7 diffs)
-
wp-admin.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-add.php
r1509 r1538 115 115 <tr> 116 116 <th scope="row"> <?php _e('friendship') ?> </th> 117 <td><label for="label"> 118 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="label" /> 119 <?php _e('acquaintance') ?></label> 120 <label for="label2"> 121 <input class="valinp" type="radio" name="friendship" value="friend" id="label2" /> 122 <?php _e('friend') ?></label> 123 <label for="label3"> 124 <input class="valinp" type="radio" name="friendship" value="" id="label3" /> 117 <td> 118 <label for="label1"> 119 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="label1" /> 120 <?php _e('acquaintance') ?></label> 121 <label for="label2"> 122 <input class="valinp" type="radio" name="friendship" value="contact" id="label2" /> 123 <?php _e('contact') ?></label> 124 <label for="label3"> 125 <input class="valinp" type="radio" name="friendship" value="friend" id="label3" /> 126 <?php _e('friend') ?></label> 127 <label for="label4"> 128 <input class="valinp" type="radio" name="friendship" value="" id="label4" /> 125 129 <?php _e('none') ?></label> 126 130 </td> … … 128 132 <tr> 129 133 <th scope="row"> <?php _e('physical') ?> </th> 130 <td><label for="label 4">131 <input class="valinp" type="checkbox" name="physical" value="met" id="label 4" />134 <td><label for="label10"> 135 <input class="valinp" type="checkbox" name="physical" value="met" id="label10" /> 132 136 <?php _e('met') ?></label> 133 137 </td> … … 135 139 <tr> 136 140 <th scope="row"> <?php _e('professional') ?> </th> 137 <td><label for="label 5">138 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label 5" />141 <td><label for="label20"> 142 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label20" /> 139 143 <?php _e('co-worker') ?></label> 140 <label for="label 6">141 <input class="valinp" type="checkbox" name="professional" value="colleague" id="label 6" />144 <label for="label21"> 145 <input class="valinp" type="checkbox" name="professional" value="colleague" id="label21" /> 142 146 <?php _e('colleague') ?></label> 143 147 </td> … … 145 149 <tr> 146 150 <th scope="row"> <?php _e('geographical') ?> </th> 147 <td><label for="label 7">148 <input class="valinp" type="radio" name="geographical" value="co-resident" id="label 7" />151 <td><label for="label30"> 152 <input class="valinp" type="radio" name="geographical" value="co-resident" id="label30" /> 149 153 <?php _e('co-resident') ?></label> 150 <label for="label 8">151 <input class="valinp" type="radio" name="geographical" value="neighbor" id="label 8" />154 <label for="label31"> 155 <input class="valinp" type="radio" name="geographical" value="neighbor" id="label31" /> 152 156 <?php _e('neighbor') ?></label> 153 <label for="label 9">154 <input class="valinp" type="radio" name="geographical" value="" id="label 9" />157 <label for="label32"> 158 <input class="valinp" type="radio" name="geographical" value="" id="label32" /> 155 159 <?php _e('none') ?></label> 156 160 </td> … … 158 162 <tr> 159 163 <th scope="row"> <?php _e('family') ?> </th> 160 <td><label for="label10"> 161 <input class="valinp" type="radio" name="family" value="child" id="label10" /> 164 <td> 165 <label for="label40"> 166 <input class="valinp" type="radio" name="family" value="child" id="label40" /> 162 167 <?php _e('child') ?></label> 163 <label for="label11"> 164 <input class="valinp" type="radio" name="family" value="parent" id="label11" /> 168 <label for="label41"> 169 <input class="valinp" type="radio" name="family" value="kin" id="label41" /> 170 <?php _e('kin') ?></label> 171 <label for="label42"> 172 <input class="valinp" type="radio" name="family" value="parent" id="label42" /> 165 173 <?php _e('parent') ?></label> 166 <label for="label 12">167 <input class="valinp" type="radio" name="family" value="sibling" id="label 12" />174 <label for="label43"> 175 <input class="valinp" type="radio" name="family" value="sibling" id="label43" /> 168 176 <?php _e('sibling') ?></label> 169 <label for="label 13">170 <input class="valinp" type="radio" name="family" value="spouse" id="label 13" />177 <label for="label44"> 178 <input class="valinp" type="radio" name="family" value="spouse" id="label44" /> 171 179 <?php _e('spouse') ?></label> 172 <label for="label 14">173 <input class="valinp" type="radio" name="family" value="" id="label 14" />180 <label for="label45"> 181 <input class="valinp" type="radio" name="family" value="" id="label45" /> 174 182 <?php _e('none') ?></label> 175 183 </td> … … 177 185 <tr> 178 186 <th scope="row"> <?php _e('romantic') ?> </th> 179 <td><label for="label 15">180 <input class="valinp" type="checkbox" name="romantic" value="muse" id="label 15" />187 <td><label for="label50"> 188 <input class="valinp" type="checkbox" name="romantic" value="muse" id="label50" /> 181 189 <?php _e('muse') ?></label> 182 <label for="label 16">183 <input class="valinp" type="checkbox" name="romantic" value="crush" id="label 16" />190 <label for="label51"> 191 <input class="valinp" type="checkbox" name="romantic" value="crush" id="label51" /> 184 192 <?php _e('crush') ?></label> 185 <label for="label 17">186 <input class="valinp" type="checkbox" name="romantic" value="date" id="label 17" />193 <label for="label52"> 194 <input class="valinp" type="checkbox" name="romantic" value="date" id="label42" /> 187 195 <?php _e('date') ?></label> 188 <label for="label 18">189 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label 18" />196 <label for="label53"> 197 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label53" /> 190 198 <?php _e('sweetheart') ?></label> 199 </td> 200 </tr> 201 <tr> 202 <th scope="row"> <?php _e('identity') ?> </th> 203 <td><label for="label60"> 204 <input class="valinp" type="checkbox" name="identity" value="me" id="label60" /> 205 <?php _e('me') ?></label> 191 206 </td> 192 207 </tr> -
trunk/wp-admin/link-manager.php
r1511 r1538 14 14 } 15 15 if ('' == $value) { 16 if ('family' == $class && !strstr($link_rel, 'child') && !strstr($link_rel, 'parent') && !strstr($link_rel, 'sibling') && !strstr($link_rel, 'spouse') ) echo ' checked="checked"';17 if ('friendship' == $class && !strstr($link_rel, 'friend') && !strstr($link_rel, 'acquaintance') ) echo ' checked="checked"';16 if ('family' == $class && !strstr($link_rel, 'child') && !strstr($link_rel, 'parent') && !strstr($link_rel, 'sibling') && !strstr($link_rel, 'spouse') && !strstr($link_rel, 'kin')) echo ' checked="checked"'; 17 if ('friendship' == $class && !strstr($link_rel, 'friend') && !strstr($link_rel, 'acquaintance') && !strstr($link_rel, 'contact') ) echo ' checked="checked"'; 18 18 if ('geographical' == $class && !strstr($link_rel, 'co-resident') && !strstr($link_rel, 'neighbor') ) echo ' checked="checked"'; 19 if ('identity' == $class && !strstr($link_rel, 'me') ) echo ' checked="checked"'; 19 20 } 20 21 } … … 381 382 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="label" <?php xfn_check('friendship', 'acquaintance', 'radio'); ?> /> <?php _e('acquaintance') ?></label> 382 383 <label for="label2"> 383 <input class="valinp" type="radio" name="friendship" value=" friend" id="label2" <?php xfn_check('friendship', 'friend', 'radio'); ?> /> <?php _e('friend') ?></label>384 <input class="valinp" type="radio" name="friendship" value="contact" id="label2" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php _e('contact') ?></label> 384 385 <label for="label3"> 385 <input name="friendship" type="radio" class="valinp" id="label3" value="" <?php xfn_check('friendship', '', 'radio'); ?> /> 386 <?php _e('none') ?></label> 386 <input class="valinp" type="radio" name="friendship" value="friend" id="label3" <?php xfn_check('friendship', 'friend', 'radio'); ?> /> <?php _e('friend') ?></label> 387 <label for="label4"> 388 <input name="friendship" type="radio" class="valinp" id="label4" value="" <?php xfn_check('friendship', '', 'radio'); ?> /> <?php _e('none') ?></label> 387 389 </td> 388 390 </tr> … … 390 392 <th scope="row"> <?php _e('physical') ?> </th> 391 393 <td> 392 <label for="label 4">393 <input class="valinp" type="checkbox" name="physical" value="met" id="label 4" <?php xfn_check('physical', 'met'); ?> />394 <label for="label10"> 395 <input class="valinp" type="checkbox" name="physical" value="met" id="label10" <?php xfn_check('physical', 'met'); ?> /> 394 396 <?php _e('met') ?></label> 395 397 </td> … … 398 400 <th scope="row"> <?php _e('professional') ?> </th> 399 401 <td> 400 <label for="label 5">401 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label 5" <?php xfn_check('professional', 'co-worker'); ?> />402 <label for="label20"> 403 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label20" <?php xfn_check('professional', 'co-worker'); ?> /> 402 404 <?php _e('co-worker') ?></label> 403 <label for="label 6">404 <input class="valinp" type="checkbox" name="professional" value="colleague" id="label 6" <?php xfn_check('professional', 'colleague'); ?> />405 <label for="label21"> 406 <input class="valinp" type="checkbox" name="professional" value="colleague" id="label21" <?php xfn_check('professional', 'colleague'); ?> /> 405 407 <?php _e('colleague') ?></label> 406 408 </td> … … 409 411 <th scope="row"> <?php _e('geographical') ?> </th> 410 412 <td> 411 <label for="label 7">412 <input class="valinp" type="radio" name="geographical" value="co-resident" id="label 7" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> />413 <label for="label30"> 414 <input class="valinp" type="radio" name="geographical" value="co-resident" id="label30" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> /> 413 415 <?php _e('co-resident') ?></label> 414 <label for="label 8">415 <input class="valinp" type="radio" name="geographical" value="neighbor" id="label 8" <?php xfn_check('geographical', 'neighbor', 'radio'); ?> />416 <label for="label31"> 417 <input class="valinp" type="radio" name="geographical" value="neighbor" id="label31" <?php xfn_check('geographical', 'neighbor', 'radio'); ?> /> 416 418 <?php _e('neighbor') ?></label> 417 <label for="label 9">418 <input class="valinp" type="radio" name="geographical" value="" id="label 9" <?php xfn_check('geographical', '', 'radio'); ?> />419 <label for="label32"> 420 <input class="valinp" type="radio" name="geographical" value="" id="label32" <?php xfn_check('geographical', '', 'radio'); ?> /> 419 421 <?php _e('none') ?></label> 420 422 </td> … … 423 425 <th scope="row"> family </th> 424 426 <td> 425 <label for="label 10">426 <input class="valinp" type="radio" name="family" value="child" id="label 10" <?php xfn_check('family', 'child', 'radio'); ?> />427 <label for="label40"> 428 <input class="valinp" type="radio" name="family" value="child" id="label40" <?php xfn_check('family', 'child', 'radio'); ?> /> 427 429 <?php _e('child') ?></label> 428 <label for="label11"> 429 <input class="valinp" type="radio" name="family" value="parent" id="label11" <?php xfn_check('family', 'parent', 'radio'); ?> /> 430 <label for="label41"> 431 <input class="valinp" type="radio" name="family" value="kin" id="label41" <?php xfn_check('family', 'kin', 'radio'); ?> /> 432 <?php _e('kin') ?></label> 433 <label for="label42"> 434 <input class="valinp" type="radio" name="family" value="parent" id="label42" <?php xfn_check('family', 'parent', 'radio'); ?> /> 430 435 <?php _e('parent') ?></label> 431 <label for="label 12">432 <input class="valinp" type="radio" name="family" value="sibling" id="label 12" <?php xfn_check('family', 'sibling', 'radio'); ?> />436 <label for="label43"> 437 <input class="valinp" type="radio" name="family" value="sibling" id="label43" <?php xfn_check('family', 'sibling', 'radio'); ?> /> 433 438 <?php _e('sibling') ?></label> 434 <label for="label 13">435 <input class="valinp" type="radio" name="family" value="spouse" id="label 13" <?php xfn_check('family', 'spouse', 'radio'); ?> />439 <label for="label44"> 440 <input class="valinp" type="radio" name="family" value="spouse" id="label44" <?php xfn_check('family', 'spouse', 'radio'); ?> /> 436 441 <?php _e('spouse') ?></label> 437 <label for="label 14">438 <input class="valinp" type="radio" name="family" value="" id="label 14" <?php xfn_check('family', '', 'radio'); ?> />442 <label for="label45"> 443 <input class="valinp" type="radio" name="family" value="" id="label45" <?php xfn_check('family', '', 'radio'); ?> /> 439 444 <?php _e('none') ?></label> 440 445 </td> … … 443 448 <th scope="row"> <?php _e('romantic') ?> </th> 444 449 <td> 445 <label for="label 15">446 <input class="valinp" type="checkbox" name="romantic" value="muse" id="label 15" <?php xfn_check('romantic', 'muse'); ?> />450 <label for="label50"> 451 <input class="valinp" type="checkbox" name="romantic" value="muse" id="label50" <?php xfn_check('romantic', 'muse'); ?> /> 447 452 <?php _e('muse') ?></label> 448 <label for="label 16">449 <input class="valinp" type="checkbox" name="romantic" value="crush" id="label 16" <?php xfn_check('romantic', 'crush'); ?> />453 <label for="label51"> 454 <input class="valinp" type="checkbox" name="romantic" value="crush" id="label51" <?php xfn_check('romantic', 'crush'); ?> /> 450 455 <?php _e('crush') ?></label> 451 <label for="label 17">452 <input class="valinp" type="checkbox" name="romantic" value="date" id="label 17" <?php xfn_check('romantic', 'date'); ?> />456 <label for="label52"> 457 <input class="valinp" type="checkbox" name="romantic" value="date" id="label52" <?php xfn_check('romantic', 'date'); ?> /> 453 458 <?php _e('date') ?></label> 454 <label for="label 18">455 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label 18" <?php xfn_check('romantic', 'sweetheart'); ?> />459 <label for="label53"> 460 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label53" <?php xfn_check('romantic', 'sweetheart'); ?> /> 456 461 <?php _e('sweetheart') ?></label> 462 </td> 463 </tr> 464 <tr> 465 <th scope="row"> <?php _e('identity') ?> </th> 466 <td> 467 <label for="label60"> 468 <input class="valinp" type="checkbox" name="identity" value="me" id="label60" <?php xfn_check('identity', 'me'); ?> /> 469 <?php _e('me') ?></label> 457 470 </td> 458 471 </tr> -
trunk/wp-admin/wp-admin.css
r1501 r1538 448 448 margin: 0; 449 449 } 450 451 /* keep labels and their form controls together: */ 452 label { 453 white-space: nowrap; 454 }
Note: See TracChangeset
for help on using the changeset viewer.