Change some meta box titles

git-svn-id: http://svn.automattic.com/wordpress/trunk@6932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-20 06:50:52 +00:00
parent 34046eb2de
commit b9c63b6f11
3 changed files with 32 additions and 11 deletions

View File

@ -299,7 +299,7 @@ list_meta($metadata);
<?php do_action('dbx_post_advanced'); ?> <?php do_action('dbx_post_advanced'); ?>
<div id="commentstatusdiv" class="postbox <?php echo postbox_classes('commentstatusdiv', 'post'); ?>"> <div id="commentstatusdiv" class="postbox <?php echo postbox_classes('commentstatusdiv', 'post'); ?>">
<h3><?php _e('Discussion') ?></h3> <h3><?php _e('Comments & Pings') ?></h3>
<div class="inside"> <div class="inside">
<input name="advanced_view" type="hidden" value="1" /> <input name="advanced_view" type="hidden" value="1" />
<label for="comment_status" class="selectit"> <label for="comment_status" class="selectit">
@ -310,7 +310,7 @@ list_meta($metadata);
</div> </div>
<div id="passworddiv" class="postbox <?php echo postbox_classes('passworddiv', 'post'); ?>"> <div id="passworddiv" class="postbox <?php echo postbox_classes('passworddiv', 'post'); ?>">
<h3><?php _e('Post Password') ?></h3> <h3><?php _e('Password Protect This Post') ?></h3>
<div class="inside"> <div class="inside">
<input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /> <input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" />
</div> </div>

View File

@ -186,7 +186,7 @@ list_meta($metadata);
</div> </div>
<div id="pagecommentstatusdiv" class="postbox <?php echo postbox_classes('pagecommentstatusdiv', 'page'); ?>"> <div id="pagecommentstatusdiv" class="postbox <?php echo postbox_classes('pagecommentstatusdiv', 'page'); ?>">
<h3><?php _e('Discussion') ?></h3> <h3><?php _e('Comments & Pings') ?></h3>
<div class="inside"> <div class="inside">
<input name="advanced_view" type="hidden" value="1" /> <input name="advanced_view" type="hidden" value="1" />
<label for="comment_status" class="selectit"> <label for="comment_status" class="selectit">
@ -197,7 +197,7 @@ list_meta($metadata);
</div> </div>
<div id="pagepassworddiv" class="postbox <?php echo postbox_classes('pagepassworddiv', 'page'); ?>"> <div id="pagepassworddiv" class="postbox <?php echo postbox_classes('pagepassworddiv', 'page'); ?>">
<h3><?php _e('Page Password') ?></h3> <h3><?php _e('Password Protect This Page') ?></h3>
<div class="inside"> <div class="inside">
<input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /> <input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" />
</div> </div>

View File

@ -54,13 +54,34 @@ include('./admin-header.php');
</td> </td>
</tr> </tr>
<tr> <tr>
<th scope="row"><?php _e('<abbr title="Coordinated Universal Time">UTC</abbr> time is') ?> </th> <th scope="row"><?php _e('Your Timezone') ?> </th>
<td><code><?php echo gmdate(__('Y-m-d g:i:s a')); ?></code></td> <td>
</tr> <select name="gmt_offset">
<tr> <?php
<th scope="row"><?php _e('Times in the blog should differ by') ?> </th> $current_offset = get_option('gmt_offset');
<td><input name="gmt_offset" type="text" id="gmt_offset" size="2" value="<?php form_option('gmt_offset'); ?>" /> foreach ( range(-12, 12, 0.5) as $offset ) {
<?php _e('hours') ?> (<?php _e('Your timezone offset, for example <code>-6</code> for Central Time.'); ?>)</td> if ( 0 < $offset )
$offset_name = '+' . $offset;
elseif ( 0 == $offset )
$offset_name = '';
else
$offset_name = (string) $offset;
$offset_name = str_replace('.5', ':30', $offset_name);
$selected = '';
if ( $current_offset == $offset ) {
$selected = " selected='selected'";
$current_offset_name = $offset_name;
}
echo "<option value=\"$offset\"$selected>" . sprintf(__('UTC %s'), $offset_name) . '</option>';
}
?>
</select>
<?php _e('hours') ?><br />
<?php printf(__('<abbr title="Coordinated Universal Time">UTC</abbr> time is <code>%s</code>'), gmdate(__('Y-m-d G:i:s'))); ?><br />
<?php if ($current_offset) printf(__('UTC %1$s is <code>%2$s</code>'), $current_offset_name, gmdate(__('Y-m-d G:i:s'), current_time('timestamp'))); ?>
</td>
</tr> </tr>
<tr> <tr>
<th scope="row"><?php _e('Date Format') ?></th> <th scope="row"><?php _e('Date Format') ?></th>