Interface fix: add a previous link after adding a bookmark.

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@301 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2009-02-27 10:51:46 +00:00
parent 7f15875147
commit 62ec6cf50d

View file

@ -145,7 +145,7 @@ if ($userservice->isLoggedOn() && POST_SUBMITTED != '') {
if (POST_POPUP != '') { if (POST_POPUP != '') {
$tplVars['msg'] = '<script type="text/javascript">window.close();</script>'; $tplVars['msg'] = '<script type="text/javascript">window.close();</script>';
} else { } else {
$tplVars['msg'] = T_('Bookmark saved'); $tplVars['msg'] = T_('Bookmark saved') . ' <a href="javascript:history.go(-2)">'.T_('(Come back to previous page.)').'</a>';
// Redirection option // Redirection option
if ($GLOBALS['useredir']) { if ($GLOBALS['useredir']) {
$address = $GLOBALS['url_redir'] . $address; $address = $GLOBALS['url_redir'] . $address;