- Handle a reload of the signout page gracefully: do not present an error
about having to be logged in to be able to sign out. Fixes #1070069.
- Prevent & being eaten in set_url_var, thanks Marcin Orlowski. Fixes #1053725.
+ - Removed internal_link hook
Version 1.5.0
--------------------
decode_body functions/mime.php hook_func
generic_header functions/page_header.php do_hook
menuline functions/page_header.php do_hook
- internal_link functions/page_header.php hook_func
loading_prefs include/load_prefs.php do_hook
addrbook_html_search_below src/addrbook_search_html.php do_hook
addressbook_bottom src/addressbook.php do_hook
if ($target != '') {
$target = " target=\"$target\"";
}
- $hooktext = do_hook_function('internal_link',$text);
- if ($hooktext != '')
- $text = $hooktext;
+
+ // This is an inefficient hook and is only used by
+ // one plugin that still needs to patch this code,
+ // plus if we are templat-izing SM, visual hooks
+ // are not needed. However, I am leaving the code
+ // here just in case we find a good (non-visual?)
+ // use for the internal_link hook.
+ //
+ //$hooktext = do_hook_function('internal_link',$text);
+ //if ($hooktext != '')
+ // $text = $hooktext;
+
return '<a href="'.$base_uri.$path.'"'.$target.'>'.$text.'</a>';
}
echo "<body text=\"$color[8]\" bgcolor=\"$color[4]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\" $onload>\n\n";
}
-?>
\ No newline at end of file
+?>