Changeset 3136 for trunk/wp-admin/edit-page-form.php
- Timestamp:
- 11/17/2005 05:47:29 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-page-form.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r3126 r3136 20 20 21 21 ?> 22 23 <?php $richedit = ( 'true' != get_user_option('rich_editing') ) ? false : true; ?> 22 24 23 25 <form name="post" action="post.php" method="post" id="post"> … … 118 120 119 121 120 <fieldset id="<?php echo ( 'true' != get_user_option('rich_editing') ) ? 'postdiv' : 'postdivrich'; ?>">122 <fieldset id="<?php echo ( $richedit) ? 'postdivrich' : 'postdiv'; ?>"> 121 123 <legend><?php _e('Page Content') ?></legend> 122 124 <?php … … 126 128 } 127 129 ?> 128 <div><textarea title="true" rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="4" id="content"><?php echo $post->post_content ?></textarea></div> 130 <?php if (! $richedit ) the_quicktags(); ?> 131 132 <div><textarea title="true" rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="4" id="content"><?php echo $richedit ? wp_richedit_pre($post->post_content) : $post->post_content; ?></textarea></div> 129 133 </fieldset> 130 134 131 <?php if ( 'true' != get_user_option('rich_editing') ) : ?> 132 <?php the_quicktags(); ?> 135 <?php if ( !$richedit ) : ?> 133 136 <script type="text/javascript"> 134 137 <!-- … … 141 144 <?php if ( $post_ID ) : ?> 142 145 <input name="save" type="submit" id="save" tabindex="5" value=" <?php _e('Save and Continue Editing'); ?> "/> 143 <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php $post_ID ? _e(' Save') : _e('Create New Page') ?> »" style="font-weight: bold;"/>146 <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php $post_ID ? _e('Edit Page') : _e('Create New Page') ?> »" /> 144 147 <?php else : ?> 145 148 <input name="savepage" type="submit" id="savepage" tabindex="6" value="<?php _e('Create New Page') ?> »" /> … … 151 154 $uploading_iframe_ID = (0 == $post_ID ? $temp_ID : $post_ID); 152 155 $uploading_iframe_src = "inline-uploading.php?action=view&post=$uploading_iframe_ID"; 153 if ( !$attachments = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE post_parent = '$uploading_iframe_ID'") )154 $uploading_iframe_src = "inline-uploading.php?action=upload&post=$uploading_iframe_ID";155 156 $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); 156 157 if ( false != $uploading_iframe_src )
Note: See TracChangeset
for help on using the changeset viewer.