Changeset 1538 for trunk/wp-admin/link-manager.php
- Timestamp:
- 08/17/2004 01:53:06 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/link-manager.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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>
Note: See TracChangeset
for help on using the changeset viewer.