Back to previous tab when click on Cancel

This commit is contained in:
Renato Botelho 2013-04-02 15:53:01 -03:00
parent 6a45942fb5
commit 5a815dc720

View File

@ -712,7 +712,7 @@ if (empty($tab)) {
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
<input id="submit" name="submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>" />
<a href="firewall_aliases.php"><input id="cancelbutton" name="cancelbutton" type="button" class="formbtn" value="<?=gettext("Cancel"); ?>" /></a>
<a href="firewall_aliases.php?tab=<?=$tab;?>"><input id="cancelbutton" name="cancelbutton" type="button" class="formbtn" value="<?=gettext("Cancel"); ?>" /></a>
</td>
</tr>
</table>