Changeset 3999 for trunk/wp-admin/edit-link-form.php
- Timestamp:
- 07/06/2006 04:27:45 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-link-form.php
r3978 r3999 1 1 <?php 2 2 if ( ! empty($link_id) ) { 3 $heading = __('Edit Bookmark');3 $heading = __('Edit Link'); 4 4 $submit_text = __('Save Changes »'); 5 5 $form = '<form name="editlink" id="editlink" method="post" action="link.php">'; 6 6 $nonce_action = 'update-bookmark_' . $link_id; 7 7 } else { 8 $heading = __(' Create Bookmark');9 $submit_text = __('Add Bookmark »');8 $heading = __('Add Link'); 9 $submit_text = __('Add Link »'); 10 10 $form = '<form name="addlink" id="addlink" method="post" action="link.php">'; 11 11 $nonce_action = 'add-bookmark'; … … 44 44 <div class="dbx-content"> 45 45 <p id="jaxcat"></p> 46 <ul id="categorychecklist"><?php dropdown_ categories(get_settings('default_link_category')); ?></ul>46 <ul id="categorychecklist"><?php dropdown_link_categories(get_settings('default_link_category')); ?></ul> 47 47 </div> 48 48 </fieldset> … … 80 80 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 81 81 <tr> 82 <th width="20%" scope="row" valign="top"><label for="link_url"><?php _e('URI:') ?></label></th>83 <td width="80%"><input type="text" name="link_url" value="<?php echo $link->link_url; ?>" style="width: 95%" /></td>82 <th scope="row" valign="top"><label for="link_name"><?php _e('Name:') ?></label></th> 83 <td><input type="text" name="link_name" value="<?php echo $link->link_name; ?>" style="width: 95%" /></td> 84 84 </tr> 85 85 <tr> 86 <th scope="row" valign="top"><label for="link_name"><?php _e('Name:') ?></label></th>87 <td ><input type="text" name="link_name" value="<?php echo $link->link_name; ?>" style="width: 95%" /></td>86 <th width="20%" scope="row" valign="top"><label for="link_url"><?php _e('Address:') ?></label></th> 87 <td width="80%"><input type="text" name="link_url" value="<?php echo $link->link_url; if ( empty( $link->link_url ) ) echo 'http://'; ?>" style="width: 95%" /></td> 88 88 </tr> 89 89 <tr> … … 217 217 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 218 218 <tr> 219 <th width="20%" scope="row"><?php _e('Image URI:') ?></th>219 <th width="20%" scope="row"><?php _e('Image Address:') ?></th> 220 220 <td width="80%"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td> 221 221 </tr> 222 222 <tr> 223 <th scope="row"><?php _e('RSS URI:') ?> </th>223 <th scope="row"><?php _e('RSS Address:') ?> </th> 224 224 <td><input name="link_rss" type="text" id="rss_uri" value="<?php echo $link->link_rss; ?>" size="50" style="width: 95%" /></td> 225 225 </tr>
Note: See TracChangeset
for help on using the changeset viewer.