Changeset 278
- Timestamp:
- 07/29/2003 01:46:24 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/linkmanager.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/linkmanager.php
r277 r278 43 43 return $array; 44 44 } 45 46 45 if (!get_magic_quotes_gpc()) { 47 46 $HTTP_GET_VARS = add_magic_quotes($HTTP_GET_VARS); … … 53 52 'description', 'visible', 'target', 'category', 'link_id', 54 53 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', 55 'notes' .'linkcheck');54 'notes', 'linkcheck'); 56 55 for ($i=0; $i<count($b2varstoreset); $i += 1) { 57 56 $b2var = $b2varstoreset[$i]; … … 72 71 $links_show_order = $HTTP_COOKIE_VARS["links_show_order"]; 73 72 74 // error_log("start, links_show_cat_id=$links_show_cat_id"); 73 if ($action2 != '') 74 $action = $action2; 75 75 76 76 switch ($action) { … … 541 541 if ($show_buttons) { 542 542 echo <<<LINKS 543 <td><input type="submit" name="edit" onclick="document.forms['links'].link_id.value='$link->link_id'; document.forms['links'].action.value='linkedit'; " value="Edit" class="search" /></td>543 <td><input type="submit" name="edit" onclick="document.forms['links'].link_id.value='$link->link_id'; document.forms['links'].action.value='linkedit';" value="Edit" class="search" /></td> 544 544 <td><input type="submit" name="delete" onclick="document.forms['links'].link_id.value='$link->link_id'; document.forms['links'].action.value='Delete'; return confirm('You are about to delete this link.\\n \'Cancel\' to stop, \'OK\' to delete.'); " value="Delete" class="search" /></td> 545 545 <td><input type="checkbox" name="linkcheck[]" value="$link->link_id" /><td> … … 570 570 echo " </select>\n"; 571 571 ?> 572 <input type="submit" name="action " value="Assign" />572 <input type="submit" name="action2" value="Assign" /> 573 573 </td> 574 574 <td align="right">
Note: See TracChangeset
for help on using the changeset viewer.