Make WordPress Core


Ignore:
Timestamp:
02/27/2006 04:57:30 AM (19 years ago)
Author:
ryan
Message:

Bookmark/link rework. #2499

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-writing.php

    r3541 r3570  
    3636foreach ($categories as $category) :
    3737if ($category->cat_ID == get_settings('default_category')) $selected = " selected='selected'";
     38else $selected = '';
     39echo "\n\t<option value='$category->cat_ID' $selected>$category->cat_name</option>";
     40endforeach;
     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
     48foreach ($categories as $category) :
     49if ($category->cat_ID == get_settings('default_link_category')) $selected = " selected='selected'";
    3850else $selected = '';
    3951echo "\n\t<option value='$category->cat_ID' $selected>$category->cat_name</option>";
     
    91103<p class="submit">
    92104<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" />
    94106<input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" />
    95107</p>
Note: See TracChangeset for help on using the changeset viewer.