Changeset 6026 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 09/03/2007 11:32:58 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-form-advanced.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r5786 r6026 85 85 <label for="comment_status" class="selectit"> 86 86 <input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> 87 <?php _e('Allow Comments') ?></label> 87 <?php _e('Allow Comments') ?></label> 88 88 <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> 89 89 </div> … … 91 91 92 92 <fieldset id="passworddiv" class="dbx-box"> 93 <h3 class="dbx-handle"><?php _e('Post Password') ?></h3> 93 <h3 class="dbx-handle"><?php _e('Post Password') ?></h3> 94 94 <div class="dbx-content"><input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></div> 95 95 </fieldset> 96 96 97 97 <fieldset id="slugdiv" class="dbx-box"> 98 <h3 class="dbx-handle"><?php _e('Post Slug') ?></h3> 98 <h3 class="dbx-handle"><?php _e('Post Slug') ?></h3> 99 99 <div class="dbx-content"><input name="post_name" type="text" size="13" id="post_name" value="<?php echo attribute_escape( $post->post_name ); ?>" /></div> 100 100 </fieldset> 101 101 102 102 <fieldset id="poststatusdiv" class="dbx-box"> 103 <h3 class="dbx-handle"><?php _e('Post Status') ?></h3> 103 <h3 class="dbx-handle"><?php _e('Post Status') ?></h3> 104 104 <div class="dbx-content"> 105 105 <?php if ( current_user_can('publish_posts') ) : ?> … … 118 118 <?php endif; ?> 119 119 120 <?php 120 <?php 121 121 $authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM 122 122 if ( $authors && count( $authors ) > 1 ) : … … 164 164 <span id="autosave"></span> 165 165 <?php echo $saveasdraft; ?> 166 <input type="submit" name="submit" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" /> 167 <?php 166 <input type="submit" name="submit" value="<?php _e('Save'); ?>" style="font-weight: bold;" tabindex="4" /> 167 <?php 168 168 if ( !in_array( $post->post_status, array('publish', 'future') ) || 0 == $post_ID ) { 169 169 ?> 170 170 <?php if ( current_user_can('publish_posts') ) : ?> 171 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" /> 171 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" /> 172 172 <?php else : ?> 173 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" /> 174 <?php endif; ?> 175 <?php 176 } 177 ?> 178 <input name="referredby" type="hidden" id="referredby" value="<?php 173 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Submit for Review') ?>" /> 174 <?php endif; ?> 175 <?php 176 } 177 ?> 178 <input name="referredby" type="hidden" id="referredby" value="<?php 179 179 if ( !empty($_REQUEST['popupurl']) ) 180 180 echo clean_url(stripslashes($_REQUEST['popupurl']));
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)