From 056158bcadfb2586493101925151af3d6eb62a86 Mon Sep 17 00:00:00 2001 From: Dougal Campbell Date: Tue, 17 Aug 2004 13:53:06 +0000 Subject: [PATCH] Added support for XFN 1.1 git-svn-id: https://develop.svn.wordpress.org/trunk@1538 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/link-add.php | 91 +++++++++++++++++++++++---------------- wp-admin/link-manager.php | 83 ++++++++++++++++++++--------------- wp-admin/wp-admin.css | 5 +++ 3 files changed, 106 insertions(+), 73 deletions(-) diff --git a/wp-admin/link-add.php b/wp-admin/link-add.php index 0c02ece6cb..99325f7212 100644 --- a/wp-admin/link-add.php +++ b/wp-admin/link-add.php @@ -114,82 +114,97 @@ th { text-align: right; } - - - - - - + + + +
- - + + + +
-
-
+ -
-
+
diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 7e6612be93..8364aa2f7c 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -13,9 +13,10 @@ function xfn_check($class, $value = '', $type = 'check') { echo ' checked="checked"'; } if ('' == $value) { - if ('family' == $class && !strstr($link_rel, 'child') && !strstr($link_rel, 'parent') && !strstr($link_rel, 'sibling') && !strstr($link_rel, 'spouse') ) echo ' checked="checked"'; - if ('friendship' == $class && !strstr($link_rel, 'friend') && !strstr($link_rel, 'acquaintance') ) echo ' checked="checked"'; + 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"'; + if ('friendship' == $class && !strstr($link_rel, 'friend') && !strstr($link_rel, 'acquaintance') && !strstr($link_rel, 'contact') ) echo ' checked="checked"'; if ('geographical' == $class && !strstr($link_rel, 'co-resident') && !strstr($link_rel, 'neighbor') ) echo ' checked="checked"'; + if ('identity' == $class && !strstr($link_rel, 'me') ) echo ' checked="checked"'; } } @@ -380,82 +381,94 @@ th { text-align: right; } + /> + /> + -