Changeset 220
- Timestamp:
- 06/12/2003 10:47:21 PM (23 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
b2edit.form.php (modified) (3 diffs)
-
b2edit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/b2edit.form.php
r207 r220 13 13 $form_extra = ''; 14 14 if ($use_pingback) { 15 $form_pingback = '<input type="checkbox" class="checkbox" name="post_pingback" value="1" checked="checked" tabindex="7" id="pingback" /> <label for="pingback">PingBack the URLs in this post</label><br />'; 15 $form_pingback = '<input type="checkbox" class="checkbox" name="post_pingback" value="1" '; 16 if ($post_pingback) $form_pingback .= 'checked="checked" '; 17 $form_pingback .= 'tabindex="7" id="pingback" /> <label for="pingback">PingBack the URLs in this post</label><br />'; 16 18 } else { 17 19 $form_pingback = ''; … … 70 72 <td> 71 73 <label for="category">Category:</label><br /> 72 <?php dropdown_categories( ); ?>74 <?php dropdown_categories($blog_ID, $default_post_cat); ?> 73 75 </td> 74 76 <td> … … 91 93 <select name="ping_status" id="ping_status"> 92 94 <option value="open"<?php selected($ping_status, 'open'); ?>>Open</option> 93 <option value="closed"<?php selected($ping_status, ' open'); ?>>Closed</option>95 <option value="closed"<?php selected($ping_status, 'closed'); ?>>Closed</option> 94 96 </select> 95 97 </td> -
trunk/wp-admin/b2edit.php
r198 r220 388 388 <?php 389 389 } 390 //set defaults 391 $post_status = get_settings('default_post_status'); 392 $comment_status = get_settings('default_comment_status'); 393 $ping_status = get_settings('default_ping_status'); 394 $post_pingback = get_settings('default_pingback_flag'); 395 $default_post_cat = get_settings('default_post_category'); 390 396 include('b2edit.form.php'); 391 397 echo '<br /><br />'; 392 393 398 } 394 399
Note: See TracChangeset
for help on using the changeset viewer.