Changeset 1195 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 04/28/2004 02:23:46 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-form-advanced.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r1148 r1195 140 140 } 141 141 ?> 142 <fieldset id="postcustom">143 <legend><?php _e('Post Custom') ?></legend>144 <?php145 if($metadata = has_meta($post_ID)) {146 ?>147 <?php148 list_meta($metadata);149 ?>150 <?php151 }152 meta_form();153 ?>154 </fieldset>155 142 156 143 <?php echo $form_pingback ?> … … 180 167 touch_time(($action == 'edit')); 181 168 } 182 if ('edit' == $action) echo "183 <p><a href='post.php?action=delete&post=$post_ID' onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), addslashes($edited_post_title)) . "')\">" . __('Delete this post') . "</a></p>";184 169 ?> 185 170 <fieldset id="postcustom"> 171 <legend><?php _e('Custom Fields') ?></legend> 172 <?php 173 if($metadata = has_meta($post_ID)) { 174 ?> 175 <?php 176 list_meta($metadata); 177 ?> 178 <?php 179 } 180 meta_form(); 181 ?> 182 </fieldset> 186 183 </div> 187 184 </form> 188 185 <?php if ('edit' == $action) echo " 186 <p><a class='delete' href='post.php?action=delete&post=$post_ID' onclick=\"return confirm('" . sprintf(__("You are about to delete this post \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), addslashes($edited_post_title)) . "')\">" . __('Delete this post') . "</a></p>"; 187 ?> 189 188 </div>
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)