wip
This commit is contained in:
@@ -1228,12 +1228,7 @@ function link_categories_meta_box( $link ) {
|
||||
function link_target_meta_box( $link ) {
|
||||
|
||||
?>
|
||||
<fieldset><legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. */
|
||||
_e( 'Target' );
|
||||
?>
|
||||
</span></legend>
|
||||
<fieldset><legend class="screen-reader-text"><span><?php _e( 'Target' ); ?></span></legend>
|
||||
<p><label for="link_target_blank" class="selectit">
|
||||
<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ( '_blank' === $link->link_target ) ? 'checked="checked"' : '' ); ?> />
|
||||
<?php _e( '<code>_blank</code> — new window or tab.' ); ?></label></p>
|
||||
@@ -1321,29 +1316,21 @@ function link_xfn_meta_box( $link ) {
|
||||
<th scope="row"><label for="link_rel"><?php /* translators: xfn: https://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>
|
||||
</tr>
|
||||
<?php $identity_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'identity' ); ?>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'identity' ); ?></th>
|
||||
<th scope="row"><?php echo $identity_group_title; ?></th>
|
||||
<td><fieldset>
|
||||
<legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
|
||||
_e( 'identity' );
|
||||
?>
|
||||
</span></legend>
|
||||
<legend class="screen-reader-text"><span><?php echo $identity_group_title; ?></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>
|
||||
<?php $friendship_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'friendship' ); ?>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'friendship' ); ?></th>
|
||||
<th scope="row"><?php echo $friendship_group_title; ?></th>
|
||||
<td><fieldset>
|
||||
<legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
|
||||
_e( 'friendship' );
|
||||
?>
|
||||
</span></legend>
|
||||
<legend class="screen-reader-text"><span><?php echo $friendship_group_title; ?></span></legend>
|
||||
<label for="contact">
|
||||
<input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check( 'friendship', 'contact' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'contact' ); ?>
|
||||
</label>
|
||||
@@ -1358,29 +1345,21 @@ function link_xfn_meta_box( $link ) {
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
<?php $physical_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'physical' ); ?>
|
||||
<tr>
|
||||
<th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'physical' ); ?> </th>
|
||||
<th scope="row"> <?php echo $physical_group_title; ?> </th>
|
||||
<td><fieldset>
|
||||
<legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
|
||||
_e( 'physical' );
|
||||
?>
|
||||
</span></legend>
|
||||
<legend class="screen-reader-text"><span><?php echo $physical_group_title; ?></span></legend>
|
||||
<label for="met">
|
||||
<input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check( 'physical', 'met' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'met' ); ?>
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
<?php $professional_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'professional' ); ?>
|
||||
<tr>
|
||||
<th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'professional' ); ?> </th>
|
||||
<th scope="row"> <?php echo $professional_group_title; ?> </th>
|
||||
<td><fieldset>
|
||||
<legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
|
||||
_e( 'professional' );
|
||||
?>
|
||||
</span></legend>
|
||||
<legend class="screen-reader-text"><span><?php echo $professional_group_title; ?></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: https://gmpg.org/xfn/ */ _e( 'co-worker' ); ?>
|
||||
</label>
|
||||
@@ -1389,15 +1368,11 @@ function link_xfn_meta_box( $link ) {
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
<?php $geographical_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'geographical' ); ?>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'geographical' ); ?></th>
|
||||
<th scope="row"><?php echo $geographical_group_title; ?></th>
|
||||
<td><fieldset>
|
||||
<legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
|
||||
_e( 'geographical' );
|
||||
?>
|
||||
</span></legend>
|
||||
<legend class="screen-reader-text"><span><?php echo $geographical_group_title; ?></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: https://gmpg.org/xfn/ */ _e( 'co-resident' ); ?>
|
||||
</label>
|
||||
@@ -1409,15 +1384,11 @@ function link_xfn_meta_box( $link ) {
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
<?php $family_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'family' ); ?>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'family' ); ?></th>
|
||||
<th scope="row"><?php echo $family_group_title; ?></th>
|
||||
<td><fieldset>
|
||||
<legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
|
||||
_e( 'family' );
|
||||
?>
|
||||
</span></legend>
|
||||
<legend class="screen-reader-text"><span><?php echo $family_group_title; ?></span></legend>
|
||||
<label for="child">
|
||||
<input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check( 'family', 'child' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'child' ); ?>
|
||||
</label>
|
||||
@@ -1438,15 +1409,11 @@ function link_xfn_meta_box( $link ) {
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
<?php $romantic_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'romantic' ); ?>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'romantic' ); ?></th>
|
||||
<th scope="row"><?php echo $romantic_group_title; ?></th>
|
||||
<td><fieldset>
|
||||
<legend class="screen-reader-text"><span>
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */
|
||||
_e( 'romantic' );
|
||||
?>
|
||||
</span></legend>
|
||||
<legend class="screen-reader-text"><span><?php echo $romantic_group_title; ?></span></legend>
|
||||
<label for="muse">
|
||||
<input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check( 'romantic', 'muse' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'muse' ); ?>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user