- go back as many pages as we have security-questions in admin_domains.php, so we always return to the main form, fixes #332

refs #332
This commit is contained in:
Michael Kaufmann (d00p)
2010-09-20 06:07:54 +00:00
parent ca44db25a0
commit 7676acf1f2
3 changed files with 14 additions and 22 deletions

View File

@@ -9,7 +9,7 @@ $header
</tr>
<tr>
<td class="field_name_border_left">$text</td>
<td class="field_name" nowrap="nowrap"><input type="submit" class="bottom" name="submitbutton" value="{$lng['panel']['yes']}" />&nbsp;<input type="button" class="bottom" value="{$lng['panel']['no']}" onclick="history.back();" /></td>
<td class="field_name" nowrap="nowrap"><input type="submit" class="bottom" name="submitbutton" value="{$lng['panel']['yes']}" />&nbsp;<input type="button" class="bottom" value="{$lng['panel']['no']}" onclick="history.go(-{$back_nr});" /></td>
</tr>
</table>
</form>