Make WordPress Core


Ignore:
Timestamp:
07/06/2006 04:27:45 AM (19 years ago)
Author:
matt
Message:

Some renames

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-link-form.php

    r3978 r3999  
    11<?php
    22if ( ! empty($link_id) ) {
    3     $heading = __('Edit Bookmark');
     3    $heading = __('Edit Link');
    44    $submit_text = __('Save Changes &raquo;');
    55    $form = '<form name="editlink" id="editlink" method="post" action="link.php">';
    66    $nonce_action = 'update-bookmark_' . $link_id;
    77} else {
    8     $heading = __('Create Bookmark');
    9     $submit_text = __('Add Bookmark &raquo;');
     8    $heading = __('Add Link');
     9    $submit_text = __('Add Link &raquo;');
    1010    $form = '<form name="addlink" id="addlink" method="post" action="link.php">';
    1111    $nonce_action = 'add-bookmark';
     
    4444<div class="dbx-content">
    4545<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>
    4747</div>
    4848</fieldset>
     
    8080<table class="editform" width="100%" cellspacing="2" cellpadding="5">
    8181<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>
    8484</tr>
    8585<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>
    8888</tr>
    8989<tr>
     
    217217<table class="editform" width="100%" cellspacing="2" cellpadding="5">
    218218    <tr>
    219         <th width="20%" scope="row"><?php _e('Image URI:') ?></th>
     219        <th width="20%" scope="row"><?php _e('Image Address:') ?></th>
    220220        <td width="80%"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>
    221221    </tr>
    222222    <tr>
    223         <th scope="row"><?php _e('RSS URI:') ?> </th>
     223        <th scope="row"><?php _e('RSS Address:') ?> </th>
    224224        <td><input name="link_rss" type="text" id="rss_uri" value="<?php echo $link->link_rss; ?>" size="50" style="width: 95%" /></td>
    225225    </tr>
Note: See TracChangeset for help on using the changeset viewer.