Changes in delete_move_next
Fernando Gozalo <[email protected]>
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm using the latest squirrelmail snapshot. I think the modification of the plugin delete_move_next put the condition if ($delete_move_next_show_unread == 'on') in a wrong place. I attach a patch. Regards, Fernando. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
delete_move_next.diff
(text/plain, 1.7 KB)
--- plugins/delete_move_next/setup.original.php 2010-02-20 15:58:17.447971000 +0100
+++ plugins/delete_move_next/setup.php 2010-02-20 16:09:00.541265000 +0100
@@ -198,15 +198,15 @@
}
}
if ($next > 0){
- echo "<a href=\"read_body.php?passed_id=$next_if_del&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0&unread_id=$passed_id&smtoken=" . sm_generate_security_token() . "\">" . _("Unread & Next") . "</a>";
if ($delete_move_next_show_unread == 'on') {
- echo " | <a href=\"read_body.php?passed_id=$next_if_del&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0&delete_id=$passed_id&smtoken=" . sm_generate_security_token() . "\">" . _("Delete & Next") . "</a>";
+ echo "<a href=\"read_body.php?passed_id=$next_if_del&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0&unread_id=$passed_id&smtoken=" . sm_generate_security_token() . "\">" . _("Unread & Next") . "</a>" . " | ";
}
+ echo "<a href=\"read_body.php?passed_id=$next_if_del&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage&show_more=0&delete_id=$passed_id&smtoken=" . sm_generate_security_token() . "\">" . _("Delete & Next") . "</a>";
} else {
- echo _("Delete & Next");
if ($delete_move_next_show_unread == 'on') {
- echo " | " . _("Unread & Next");
+ echo _("Unread & Next") . " | ";
}
+ echo _("Delete & Next");
}
echo '</small></td></tr>';