Projet

Général

Profil

« Précédent | Suivant » 

Révision 1a6769a6

Ajouté par Renato Botelho il y a plus de 9 ans

Replace GET by POST on system_usermanager.php and make necessary adjustments on necessary pages. It fixes #3856

Voir les différences:

usr/local/www/vpn_ipsec_keys.php
73 73

  
74 74
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
75 75
<?php include("fbegin.inc"); ?>
76
<form action="vpn_ipsec.php" method="post">
77 76
<?php 
78 77
if ($savemsg)
79 78
	print_info_box($savemsg);
......
121 120
		<td class="listr gray">
122 121
			<?=htmlspecialchars($secretent['pre-shared-key']);?>
123 122
		</td>
124
		<td class="list nowrap"><a href="system_usermanager.php?act=edit&amp;id=<?=$secretent['id'];?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit key"); ?>" width="17" height="17" border="0" alt="edit" /></a>
123
		<td class="list nowrap">
124
			<form action="system_usermanager.php" method="post" name="form_edit_key">
125
				<input type="hidden" name="act" value="edit" />
126
				<input type="hidden" name="userid" value="<?=$secretent['id'];?>" />
127
				<input type="image" name="edituser[]" width="17" height="17" border="0"
128
					src="/themes/<?=$g['theme'];?>/images/icons/icon_e.gif"
129
					title="<?=gettext("edit");?>" />
130
			</form>
125 131
		&nbsp;</td>
126 132
				</tr>
127 133
			  <?php $i++; endforeach; ?>
......
166 172
		</td>
167 173
	</tr>
168 174
</table>
169
</form>
170 175
<?php include("fend.inc"); ?>
171 176
</body>
172 177
</html>

Formats disponibles : Unified diff