Commit c1a7bbb1 authored by redflo's avatar redflo

Fix for bug 732294

parent e73119da
......@@ -2161,5 +2161,6 @@ in Admin-Allgemein abgestellt haben.
"If not then a theme for the section is used" => "Wenn nicht, dann wird die Theme, die Theme der Sektion gewählt",
"If none of the above was selected the user theme is used" => "Wenn nicht, dann wird die Theme des Benutzers gewählt",
"Finally if the user didn't select a theme the default theme is used" => "Trifft nichts der obrigen Punkte zu, dann wird die default-Theme benutzt",
"No more messages" => "Keine Nachrichten vorhanden",
"##end###" => "###end###");
?>
......@@ -2104,5 +2104,6 @@ from Admin->General
"LDAP Admin User" => "LDAP Admin User",
"LDAP Admin Pwd" => "LDAP Admin Pwd",
"picture not found" => "picture not found",
"No more messages" => "No more messages",
"##end###" => "###end###");
?>
......@@ -25,9 +25,16 @@ if(isset($_REQUEST["delete"])) {
$messulib->delete_message($_SESSION['user'],$_REQUEST['msgdel']);
}
$smarty->assign('sort_mode',$_REQUEST['sort_mode']);
$smarty->assign('find',$_REQUEST['find']);
$smarty->assign('flag',$_REQUEST['flag']);
$smarty->assign('offset',$_REQUEST['offset']);
$smarty->assign('flagval',$_REQUEST['flagval']);
$smarty->assign('priority',$_REQUEST['priority']);
$smarty->assign('legend','');
if(!isset($_REQUEST['msgId'])||$_REQUEST['msgId']==0) {
$smarty->assign('legend','No more messages');
$smarty->assign('legend',tra("No more messages"));
$smarty->assign('mid','messu-read.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
die;
......@@ -40,12 +47,6 @@ if(isset($_REQUEST['action'])) {
}
// Using the sort_mode, flag, flagval and find get the next and prev messages
$smarty->assign('sort_mode',$_REQUEST['sort_mode']);
$smarty->assign('find',$_REQUEST['find']);
$smarty->assign('flag',$_REQUEST['flag']);
$smarty->assign('offset',$_REQUEST['offset']);
$smarty->assign('flagval',$_REQUEST['flagval']);
$smarty->assign('priority',$_REQUEST['priority']);
$smarty->assign('msgId',$_REQUEST['msgId']);
$next = $messulib->get_next_message($_SESSION['user'],$_REQUEST['msgId'], $_REQUEST['sort_mode'], $_REQUEST['find'], $_REQUEST['flag'], $_REQUEST['flagval'],$_REQUEST['priority']);
$prev = $messulib->get_prev_message($_SESSION['user'],$_REQUEST['msgId'], $_REQUEST['sort_mode'], $_REQUEST['find'], $_REQUEST['flag'], $_REQUEST['flagval'],$_REQUEST['priority']);
......@@ -64,4 +65,4 @@ include_once('tiki-section_options.php');
$smarty->assign('mid','messu-read.tpl');
$smarty->display("styles/$style_base/tiki.tpl");
?>
\ No newline at end of file
?>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment