Make WordPress Core


Ignore:
Timestamp:
12/21/2006 11:06:18 PM (19 years ago)
Author:
markjaquith
Message:

i18n fixes, logic cleanup, wording clarifications, and more from nbachiyski. fixes #3474

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-page-form.php

    r4656 r4658  
    5353<label for="comment_status" class="selectit">
    5454<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> />
    55 <?php _e('Allow Comments') ?></label> 
     55<?php _e('Allow Comments') ?></label>
    5656<label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label>
    5757</div>
     
    5959
    6060<fieldset class="dbx-box">
    61 <h3 class="dbx-handle"><?php _e('Page Status') ?></h3> 
     61<h3 class="dbx-handle"><?php _e('Page Status') ?></h3>
    6262<div class="dbx-content"><?php if ( current_user_can('publish_pages') ) : ?>
    6363<label for="post_status_publish" class="selectit"><input id="post_status_publish" name="post_status" type="radio" value="publish" <?php checked($post->post_status, 'publish'); checked($post->post_status, 'future'); ?> /> <?php _e('Published') ?></label>
     
    6868
    6969<fieldset id="passworddiv" class="dbx-box">
    70 <h3 class="dbx-handle"><?php _e('Page Password') ?></h3> 
     70<h3 class="dbx-handle"><?php _e('Page Password') ?></h3>
    7171<div class="dbx-content"><input name="post_password" type="text" size="13" id="post_password" value="<?php echo $post->post_password ?>" /></div>
    7272</fieldset>
    7373
    7474<fieldset id="pageparent" class="dbx-box">
    75 <h3 class="dbx-handle"><?php _e('Page Parent') ?></h3> 
     75<h3 class="dbx-handle"><?php _e('Page Parent') ?></h3>
    7676<div class="dbx-content"><p><select name="parent_id">
    7777<option value='0'><?php _e('Main Page (no parent)'); ?></option>
     
    8383<?php if ( 0 != count( get_page_templates() ) ) { ?>
    8484<fieldset id="pagetemplate" class="dbx-box">
    85 <h3 class="dbx-handle"><?php _e('Page Template:') ?></h3>
     85<h3 class="dbx-handle"><?php _e('Page Template') ?></h3>
    8686<div class="dbx-content"><p><select name="page_template">
    8787        <option value='default'><?php _e('Default Template'); ?></option>
     
    9393
    9494<fieldset id="slugdiv" class="dbx-box">
    95 <h3 class="dbx-handle"><?php _e('Page Slug') ?></h3> 
     95<h3 class="dbx-handle"><?php _e('Page Slug') ?></h3>
    9696<div class="dbx-content"><input name="post_name" type="text" size="13" id="post_name" value="<?php echo $post->post_name ?>" /></div>
    9797</fieldset>
     
    126126
    127127<fieldset id="titlediv">
    128   <legend><?php _e('Page Title') ?></legend> 
     128  <legend><?php _e('Page Title') ?></legend>
    129129  <div><input type="text" name="post_title" size="30" tabindex="1" value="<?php echo $post->post_title; ?>" id="title" /></div>
    130130</fieldset>
     
    139139<span id="autosave"></span>
    140140<input name="save" type="submit" id="save" tabindex="3" value="<?php _e('Save and Continue Editing'); ?>" />
    141 <input type="submit" name="submit" value="<?php _e('Save') ?>" style="font-weight: bold;" tabindex="4" /> 
    142 <?php 
     141<input type="submit" name="submit" value="<?php _e('Save') ?>" style="font-weight: bold;" tabindex="4" />
     142<?php
    143143if ('publish' != $post->post_status || 0 == $post_ID):
    144144?>
    145145<?php if ( current_user_can('publish_pages') ) : ?>
    146     <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" /> 
     146    <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />
    147147<?php endif; endif;?>
    148148<input name="referredby" type="hidden" id="referredby" value="<?php echo $sendto; ?>" />
Note: See TracChangeset for help on using the changeset viewer.