Changeset 1159 for trunk/wp-admin/link-manager.php
- Timestamp:
- 04/25/2004 01:02:52 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-manager.php
r1155 r1159 76 76 $links_show_order = $_COOKIE['links_show_order_' . $cookiehash]; 77 77 78 if ( !empty($action2)) {79 $action = $action2;80 } 78 if ('' != $_POST['assign']) $action = 'assign'; 79 if ('' != $_POST['visibility']) $action = 'visibility'; 80 if ('' != $_POST['move']) $action = 'move'; 81 81 82 82 switch ($action) { 83 case ' Assign':83 case 'assign': 84 84 { 85 85 $standalone = 1; … … 112 112 break; 113 113 } 114 case ' Visibility':114 case 'visibility': 115 115 { 116 116 $standalone = 1; … … 150 150 break; 151 151 } 152 case ' Move':152 case 'move': 153 153 { 154 154 $standalone = 1; … … 729 729 <div class="wrap"> 730 730 <table width="100%" cellpadding="3" cellspacing="3"> 731 <tr><th colspan="4"> Manage Multiple Links:</th></tr>732 <tr><td colspan="4"> Use the checkboxes on the right to select multiple links and choose an action below:</td></tr>731 <tr><th colspan="4"><?php _e('Manage Multiple Links:') ?></th></tr> 732 <tr><td colspan="4"><?php _e('Use the checkboxes on the right to select multiple links and choose an action below:') ?></td></tr> 733 733 <tr> 734 734 <td> 735 < input type="submit" name="action2" value="Assign" /> ownership <?php echo gethelp_link($this_file,'assign_ownership');?> to:735 <?php _e('Assign ownership to:'); echo ' ' . gethelp_link($this_file,'assign_ownership'); ?> 736 736 <?php 737 737 $results = $wpdb->get_results("SELECT ID, user_login FROM $tableusers WHERE user_level > 0 ORDER BY ID"); … … 744 744 echo " </select>\n"; 745 745 ?> 746 <input name="assign" type="submit" id="assign" value="<?php _e('Go') ?>" /> 746 747 </td> 747 748 <td> 748 Toggle <input type="submit" name="action2" value="Visibility" /><?php echo gethelp_link($this_file,'toggle_visibility');?>749 <input name="visibility" type="submit" id="visibility" value="<?php _e('Toggle Visibility') ?>" /><?php echo gethelp_link($this_file,'toggle_visibility');?> 749 750 </td> 750 751 <td> 751 <input type="submit" name="action2" value="Move" /><?php echo gethelp_link($this_file,'move_to_cat');?> to category 752 <?php category_dropdown('category'); ?> 752 <?php _e('Move to category:'); echo ' ' . gethelp_link($this_file,'move_to_cat'); category_dropdown('category'); ?> <input name="move" type="submit" id="move" value="<?php _e('Go') ?>" /> 753 753 </td> 754 754 <td align="right"> 755 <a href="#" onClick="checkAll(document.getElementById('links')); return false; "> Toggle Checkboxes</a><?php echo gethelp_link($this_file,'toggle_checkboxes');?>755 <a href="#" onClick="checkAll(document.getElementById('links')); return false; "><?php _e('Toggle Checkboxes') ?></a><?php echo gethelp_link($this_file,'toggle_checkboxes');?> 756 756 </td> 757 757 </tr>
Note: See TracChangeset
for help on using the changeset viewer.