mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
Fox layout in the tagret postbox on edit link screen
git-svn-id: https://develop.svn.wordpress.org/trunk@11145 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bf911aefc7
commit
31210eb4b9
@ -158,17 +158,17 @@ add_meta_box('linkcategorydiv', __('Categories'), 'link_categories_meta_box', 'l
|
|||||||
*/
|
*/
|
||||||
function link_target_meta_box($link) { ?>
|
function link_target_meta_box($link) { ?>
|
||||||
<fieldset><legend class="hidden"><?php _e('Target') ?></legend>
|
<fieldset><legend class="hidden"><?php _e('Target') ?></legend>
|
||||||
<label for="link_target_blank" class="selectit">
|
<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 ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
|
<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
|
||||||
<?php _e('<code>_blank</code> - new window or tab.'); ?></label><br />
|
<?php _e('<code>_blank</code> - new window or tab.'); ?></label></p>
|
||||||
<label for="link_target_top" class="selectit">
|
<p><label for="link_target_top" class="selectit">
|
||||||
<input id="link_target_top" type="radio" name="link_target" value="_top" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_top') ? 'checked="checked"' : ''); ?> />
|
<input id="link_target_top" type="radio" name="link_target" value="_top" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_top') ? 'checked="checked"' : ''); ?> />
|
||||||
<?php _e('<code>_top</code> - current window or tab, with no frames.'); ?></label><br />
|
<?php _e('<code>_top</code> - current window or tab, with no frames.'); ?></label></p>
|
||||||
<label for="link_target_none" class="selectit">
|
<p><label for="link_target_none" class="selectit">
|
||||||
<input id="link_target_none" type="radio" name="link_target" value="" <?php echo ( isset( $link->link_target ) && ($link->link_target == '') ? 'checked="checked"' : ''); ?> />
|
<input id="link_target_none" type="radio" name="link_target" value="" <?php echo ( isset( $link->link_target ) && ($link->link_target == '') ? 'checked="checked"' : ''); ?> />
|
||||||
<?php _e('<code>_none</code> - same window or tab.'); ?></label>
|
<?php _e('<code>_none</code> - same window or tab.'); ?></label></p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<p><?php _e('Choose the frame your link targets.'); ?></p>
|
<p><?php _e('Choose the target frame for your link.'); ?></p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', 'link', 'normal', 'core');
|
add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', 'link', 'normal', 'core');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user