1 $NetBSD: patch-cb,v 1.1 2010/03/04 16:00:37 taca Exp $
3 --- plugins/newmail/newmail_opt.php.orig 2009-04-16 07:00:49.000000000 +0900
4 +++ plugins/newmail/newmail_opt.php
5 @@ -71,6 +71,7 @@ echo '</td></tr>' .
6 html_tag( 'td', '', 'center', $color[4] ) . "\n" . '<hr style="width: 25%; height: 1px;" />' . "\n";
8 echo '<form action="'.sqm_baseuri().'src/options.php" method="post">' . "\n" .
9 + '<input type="hidden" name="smtoken" value="' . sm_generate_security_token() . '">' . "\n" .
10 html_tag( 'table', '', '', '', 'width="100%" cellpadding="5" cellspacing="0" border="0"' ) . "\n";
12 // Option: media_allbox
13 @@ -182,6 +183,7 @@ echo html_tag( 'tr', "\n" .
15 '<input type="hidden" name="optmode" value="submit" />' .
16 '<input type="hidden" name="optpage" value="newmail" />' .
17 + '<input type="hidden" name="smtoken" value="' . sm_generate_security_token() . '" />' .
18 '<input type="submit" value="' . _("Submit") . '" name="submit_newmail" />',