diff --git a/wp-admin/link-add.php b/wp-admin/link-add.php new file mode 100644 index 000000000..e8956b117 --- /dev/null +++ b/wp-admin/link-add.php @@ -0,0 +1,206 @@ +get_results("SELECT cat_id, cat_name, auto_toggle FROM $tablelinkcategories ORDER BY cat_id"); + echo ' \n"; +} + +function add_magic_quotes($array) { + foreach ($array as $k => $v) { + if (is_array($v)) { + $array[$k] = add_magic_quotes($v); + } else { + $array[$k] = addslashes($v); + } + } + return $array; +} +if (!get_magic_quotes_gpc()) { + $HTTP_GET_VARS = add_magic_quotes($HTTP_GET_VARS); + $HTTP_POST_VARS = add_magic_quotes($HTTP_POST_VARS); + $HTTP_COOKIE_VARS = add_magic_quotes($HTTP_COOKIE_VARS); +} + +$wpvarstoreset = array('action','standalone','cat_id', 'linkurl', 'name', 'image', + 'description', 'visible', 'target', 'category', 'link_id', + 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', + 'notes', 'linkcheck[]'); +for ($i=0; $i + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add a link:
URL:
Display Name/Alt text:
Image:
Description:
rel:
XFN: + + + + + + + + + + + + + + + + + + + + + + + + + +
+ friendship + + + +
+ + physical + + +
+ + professional + + +
+ geographical + + + +
+ family + + + + +
+ romantic + + + +
Notes:
Rating: +  (Leave at 0 for no rating.) +
Target: +   +   +
Visible: +   +
: + +
+ +
+
+ +
+

You can drag Link This to your toolbar and when you click it a window will pop up that will allow you to add whatever site you're on to your links! Right now this only works on Mozilla or Netscape, but we're working on it.

+
+ + \ No newline at end of file diff --git a/wp-admin/link-categories.php b/wp-admin/link-categories.php index 0b6a46a10..d3f9c12b0 100644 --- a/wp-admin/link-categories.php +++ b/wp-admin/link-categories.php @@ -117,6 +117,7 @@ switch ($action) { @@ -275,6 +276,7 @@ switch ($action) { ?> diff --git a/wp-admin/link-import.php b/wp-admin/link-import.php index 3f7ab4612..439828544 100644 --- a/wp-admin/link-import.php +++ b/wp-admin/link-import.php @@ -25,6 +25,7 @@ switch ($step) { diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 5da7ac4d3..e9c6d87fd 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -187,7 +187,7 @@ switch ($action) { . addslashes($link_image) . "', '$link_target', $link_category, '" . addslashes($link_description) . "', '$link_visible', $user_ID, $link_rating, '" . addslashes($link_rel) . "', '" . addslashes($link_notes) . "')"); - header('Location: '.$this_file); + header('Location: ' . $HTTP_SERVER_VARS['HTTP_REFERER']); break; } // end Add @@ -454,6 +454,7 @@ function checkAll(form) @@ -630,143 +631,7 @@ LINKS; ?> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Add a link:
URL:
Display Name/Alt text:
Image:
Description:
rel:
XFN: - - - - - - - - - - - - - - - - - - - - - - - - - -
- friendship - - - -
- - physical - - -
- - professional - - -
- geographical - - - -
- family - - - - -
- romantic - - - -
Notes:
Rating: -  (Leave at 0 for no rating.) -
Target: -   -   -
Visible: -   -
: - -
- -
-
- -
-

You can drag link this to your toolbar and when you click it a window will pop up that will allow you to add whatever site you're on to your links! Right now this only works on Mozilla or Netscape, but we're working on it.

-