<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[20346] trunk/wp-admin: Make the layout of the tables on edit link screen "liquid" so they can be shown on the side, see #20015</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/20346">20346</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2012-04-04 02:45:30 +0000 (Wed, 04 Apr 2012)</dd>
</dl>
<h3>Log Message</h3>
<pre>Make the layout of the tables on edit link screen "liquid" so they can be shown on the side, see <a href="http://core.trac.wordpress.org/ticket/20015">#20015</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincsswpadmindevcss">trunk/wp-admin/css/wp-admin.dev.css</a></li>
<li><a href="#trunkwpadminincludesmetaboxesphp">trunk/wp-admin/includes/meta-boxes.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincsswpadmindevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/wp-admin.dev.css (20345 => 20346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/wp-admin.dev.css        2012-04-03 22:58:20 UTC (rev 20345)
+++ trunk/wp-admin/css/wp-admin.dev.css        2012-04-04 02:45:30 UTC (rev 20346)
</span><span class="lines">@@ -221,7 +221,9 @@
</span><span class="cx">
</span><span class="cx"> input[type="checkbox"],
</span><span class="cx"> input[type="radio"] {
</span><del>-        vertical-align: text-bottom;
</del><ins>+        vertical-align: text-top;
+        padding: 0;
+        margin: 1px 0 0;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> input[type="search"] {
</span><span class="lines">@@ -2030,6 +2032,10 @@
</span><span class="cx">         user-select: none;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+.stuffbox h3 {
+        cursor: auto;
+}
+
</ins><span class="cx"> .postbox .inside,
</span><span class="cx"> .stuffbox .inside {
</span><span class="cx">         padding: 0 10px;
</span><span class="lines">@@ -3427,7 +3433,38 @@
</span><span class="cx">         text-decoration: underline;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+/* links tables */
+table.links-table {
+        width: 100%;
+}
</ins><span class="cx">
</span><ins>+.links-table th {
+        font-weight: normal;
+        text-align: left;
+        vertical-align: top;
+        min-width: 80px;
+        width: 20%;
+        word-wrap: break-word;
+}
+
+.links-table th,
+.links-table td {
+        padding: 5px 0;
+}
+
+.links-table td label {
+        margin-right: 8px;
+}
+
+.links-table td input[type="text"],
+.links-table td textarea {
+        width: 100%;
+}
+
+.links-table #link_rel {
+        max-width: 280px;
+}
+
</ins><span class="cx"> /*------------------------------------------------------------------------------
</span><span class="cx"> 14.0 - Media Screen
</span><span class="cx"> ------------------------------------------------------------------------------*/
</span></span></pre></div>
<a id="trunkwpadminincludesmetaboxesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/meta-boxes.php (20345 => 20346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/meta-boxes.php        2012-04-03 22:58:20 UTC (rev 20345)
+++ trunk/wp-admin/includes/meta-boxes.php        2012-04-04 02:45:30 UTC (rev 20346)
</span><span class="lines">@@ -759,111 +759,110 @@
</span><span class="cx"> */
</span><span class="cx"> function link_xfn_meta_box($link) {
</span><span class="cx"> ?>
</span><del>-<table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5">
</del><ins>+<table class="links-table" cellspacing="0">
</ins><span class="cx">         <tr>
</span><del>-                <th style="width: 20%;" scope="row"><label for="link_rel"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('rel:') ?></label></th>
-                <td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo ( isset( $link->link_rel ) ? esc_attr($link->link_rel) : ''); ?>" /></td>
</del><ins>+                <th scope="row"><label for="link_rel"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('rel:') ?></label></th>
+                <td><input type="text" name="link_rel" id="link_rel" value="<?php echo ( isset( $link->link_rel ) ? esc_attr($link->link_rel) : ''); ?>" /></td>
</ins><span class="cx">         </tr>
</span><span class="cx">         <tr>
</span><del>-                <td colspan="2">
-                        <table cellpadding="3" cellspacing="5" class="form-table">
-                                <tr>
-                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </th>
-                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </span></legend>
-                                                <label for="me">
-                                                <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
-                                                <?php _e('another web address of mine') ?></label>
-                                        </fieldset></td>
-                                </tr>
-                                <tr>
-                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </th>
-                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </span></legend>
-                                                <label for="contact">
-                                                <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?></label>
-                                                <label for="acquaintance">
-                                                <input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <?php xfn_check('friendship', 'acquaintance'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('acquaintance') ?></label>
-                                                <label for="friend">
-                                                <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friend') ?></label>
-                                                <label for="friendship">
-                                                <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label>
-                                        </fieldset></td>
-                                </tr>
-                                <tr>
-                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th>
-                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </span></legend>
-                                                <label for="met">
-                                                <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?></label>
-                                        </fieldset></td>
-                                </tr>
-                                <tr>
-                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th>
-                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </span></legend>
-                                                <label for="co-worker">
-                                                <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?></label>
-                                                <label for="colleague">
-                                                <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('colleague') ?></label>
-                                        </fieldset></td>
-                                </tr>
-                                <tr>
-                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </th>
-                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend>
-                                                <label for="co-resident">
-                                                <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?></label>
-                                                <label for="neighbor">
-                                                <input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check('geographical', 'neighbor'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('neighbor') ?></label>
-                                                <label for="geographical">
-                                                <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label>
-                                        </fieldset></td>
-                                </tr>
-                                <tr>
-                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </th>
-                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend>
-                                                <label for="child">
-                                                <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?></label>
-                                                <label for="kin">
-                                                <input class="valinp" type="radio" name="family" value="kin" id="kin" <?php xfn_check('family', 'kin'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('kin') ?></label>
-                                                <label for="parent">
-                                                <input class="valinp" type="radio" name="family" value="parent" id="parent" <?php xfn_check('family', 'parent'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('parent') ?></label>
-                                                <label for="sibling">
-                                                <input class="valinp" type="radio" name="family" value="sibling" id="sibling" <?php xfn_check('family', 'sibling'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('sibling') ?></label>
-                                                <label for="spouse">
-                                                <input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check('family', 'spouse'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('spouse') ?></label>
-                                                <label for="family">
-                                                <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label>
-                                        </fieldset></td>
-                                </tr>
-                                <tr>
-                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </th>
-                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend>
-                                                <label for="muse">
-                                                <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?></label>
-                                                <label for="crush">
-                                                <input class="valinp" type="checkbox" name="romantic" value="crush" id="crush" <?php xfn_check('romantic', 'crush'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('crush') ?></label>
-                                                <label for="date">
-                                                <input class="valinp" type="checkbox" name="romantic" value="date" id="date" <?php xfn_check('romantic', 'date'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('date') ?></label>
-                                                <label for="romantic">
-                                                <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> />
-                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('sweetheart') ?></label>
-                                        </fieldset></td>
-                                </tr>
-                        </table>
-                </td>
</del><ins>+                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?></th>
+                <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?></span></legend>
+                        <label for="me">
+                        <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
+                        <?php _e('another web address of mine') ?></label>
+                </fieldset></td>
</ins><span class="cx">         </tr>
</span><ins>+        <tr>
+                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?></th>
+                <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?></span></legend>
+                        <label for="contact">
+                        <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?>
+                        </label>
+                        <label for="acquaintance">
+                        <input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <?php xfn_check('friendship', 'acquaintance'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('acquaintance') ?>
+                        </label>
+                        <label for="friend">
+                        <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friend') ?>
+                        </label>
+                        <label for="friendship">
+                        <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?>
+                        </label>
+                </fieldset></td>
+        </tr>
+        <tr>
+                <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th>
+                <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?></span></legend>
+                        <label for="met">
+                        <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?>
+                        </label>
+                </fieldset></td>
+        </tr>
+        <tr>
+                <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th>
+                <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?></span></legend>
+                        <label for="co-worker">
+                        <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?>
+                        </label>
+                        <label for="colleague">
+                        <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('colleague') ?>
+                        </label>
+                </fieldset></td>
+        </tr>
+        <tr>
+                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?></th>
+                <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend>
+                        <label for="co-resident">
+                        <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?>
+                        </label>
+                        <label for="neighbor">
+                        <input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check('geographical', 'neighbor'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('neighbor') ?>
+                        </label>
+                        <label for="geographical">
+                        <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?>
+                        </label>
+                </fieldset></td>
+        </tr>
+        <tr>
+                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?></th>
+                <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend>
+                        <label for="child">
+                        <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?>
+                        </label>
+                        <label for="kin">
+                        <input class="valinp" type="radio" name="family" value="kin" id="kin" <?php xfn_check('family', 'kin'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('kin') ?>
+                        </label>
+                        <label for="parent">
+                        <input class="valinp" type="radio" name="family" value="parent" id="parent" <?php xfn_check('family', 'parent'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('parent') ?>
+                        </label>
+                        <label for="sibling">
+                        <input class="valinp" type="radio" name="family" value="sibling" id="sibling" <?php xfn_check('family', 'sibling'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('sibling') ?>
+                        </label>
+                        <label for="spouse">
+                        <input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check('family', 'spouse'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('spouse') ?>
+                        </label>
+                        <label for="family">
+                        <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?>
+                        </label>
+                </fieldset></td>
+        </tr>
+        <tr>
+                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?></th>
+                <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend>
+                        <label for="muse">
+                        <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?>
+                        </label>
+                        <label for="crush">
+                        <input class="valinp" type="checkbox" name="romantic" value="crush" id="crush" <?php xfn_check('romantic', 'crush'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('crush') ?>
+                        </label>
+                        <label for="date">
+                        <input class="valinp" type="checkbox" name="romantic" value="date" id="date" <?php xfn_check('romantic', 'date'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('date') ?>
+                        </label>
+                        <label for="romantic">
+                        <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('sweetheart') ?>
+                        </label>
+                </fieldset></td>
+        </tr>
+
</ins><span class="cx"> </table>
</span><span class="cx"> <p><?php _e('If the link is to a person, you can specify your relationship with them using the above form. If you would like to learn more about the idea check out <a href="http://gmpg.org/xfn/">XFN</a>.'); ?></p>
</span><span class="cx"> <?php
</span><span class="lines">@@ -878,28 +877,28 @@
</span><span class="cx"> */
</span><span class="cx"> function link_advanced_meta_box($link) {
</span><span class="cx"> ?>
</span><del>-<table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5">
-        <tr class="form-field">
-                <th valign="top" scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th>
-                <td><input type="text" name="link_image" class="code" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? esc_attr($link->link_image) : ''); ?>" style="width: 95%" /></td>
</del><ins>+<table class="links-table" cellpadding="0">
+        <tr>
+                <th scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th>
+                <td><input type="text" name="link_image" class="code" id="link_image" value="<?php echo ( isset( $link->link_image ) ? esc_attr($link->link_image) : ''); ?>" /></td>
</ins><span class="cx">         </tr>
</span><del>-        <tr class="form-field">
-                <th valign="top" scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th>
-                <td><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo ( isset( $link->link_rss ) ? esc_attr($link->link_rss) : ''); ?>" size="50" style="width: 95%" /></td>
</del><ins>+        <tr>
+                <th scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th>
+                <td><input name="link_rss" class="code" type="text" id="rss_uri" value="<?php echo ( isset( $link->link_rss ) ? esc_attr($link->link_rss) : ''); ?>" /></td>
</ins><span class="cx">         </tr>
</span><del>-        <tr class="form-field">
-                <th valign="top" scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th>
-                <td><textarea name="link_notes" id="link_notes" cols="50" rows="10" style="width: 95%"><?php echo ( isset( $link->link_notes ) ? $link->link_notes : ''); // textarea_escaped ?></textarea></td>
</del><ins>+        <tr>
+                <th scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th>
+                <td><textarea name="link_notes" id="link_notes" rows="10"><?php echo ( isset( $link->link_notes ) ? $link->link_notes : ''); // textarea_escaped ?></textarea></td>
</ins><span class="cx">         </tr>
</span><del>-        <tr class="form-field">
-                <th valign="top" scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th>
</del><ins>+        <tr>
+                <th scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th>
</ins><span class="cx">                 <td><select name="link_rating" id="link_rating" size="1">
</span><span class="cx">                 <?php
</span><del>-                        for ($r = 0; $r <= 10; $r++) {
-                                echo(' <option value="'. esc_attr($r) .'" ');
-                                if ( isset($link->link_rating) && $link->link_rating == $r)
-                                        echo 'selected="selected"';
-                                echo('>'.$r.'</option>');
</del><ins>+                        for ( $r = 0; $r <= 10; $r++ ) {
+                                echo '<option value="' . $r . '"';
+                                if ( isset($link->link_rating) && $link->link_rating == $r )
+                                        echo ' selected="selected"';
+                                echo('>' . $r . '</option>');
</ins><span class="cx">                         }
</span><span class="cx">                 ?></select>&nbsp;<?php _e('(Leave at 0 for no rating.)') ?>
</span><span class="cx">                 </td>
</span></span></pre>
</div>
</div>
</body>
</html>