Changeset 3570 for trunk/wp-admin/options-writing.php
- Timestamp:
- 02/27/2006 04:57:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-writing.php
r3541 r3570 36 36 foreach ($categories as $category) : 37 37 if ($category->cat_ID == get_settings('default_category')) $selected = " selected='selected'"; 38 else $selected = ''; 39 echo "\n\t<option value='$category->cat_ID' $selected>$category->cat_name</option>"; 40 endforeach; 41 ?> 42 </select></td> 43 </tr> 44 <tr valign="top"> 45 <th scope="row"><?php _e('Default bookmark category:') ?></th> 46 <td><select name="default_link_category" id="default_link_category"> 47 <?php 48 foreach ($categories as $category) : 49 if ($category->cat_ID == get_settings('default_link_category')) $selected = " selected='selected'"; 38 50 else $selected = ''; 39 51 echo "\n\t<option value='$category->cat_ID' $selected>$category->cat_name</option>"; … … 91 103 <p class="submit"> 92 104 <input type="hidden" name="action" value="update" /> 93 <input type="hidden" name="page_options" value="default_post_edit_rows,use_smilies,rich_editing,ping_sites,mailserver_url,mailserver_port,mailserver_login,mailserver_pass,default_category,default_email_category,use_balanceTags " />105 <input type="hidden" name="page_options" value="default_post_edit_rows,use_smilies,rich_editing,ping_sites,mailserver_url,mailserver_port,mailserver_login,mailserver_pass,default_category,default_email_category,use_balanceTags,default_link_category" /> 94 106 <input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 95 107 </p>
Note: See TracChangeset
for help on using the changeset viewer.