Moved inline - javascript to external file in preparation of X-Content-Security-Policy (also, the code looks cleaner, yay)
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
@@ -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']}" /> <input type="button" class="bottom" value="{$lng['panel']['no']}" onclick="history.go(-{$back_nr});" /></td>
|
||||
<td class="field_name" nowrap="nowrap"><input type="submit" class="bottom" name="submitbutton" value="{$lng['panel']['yes']}" /> <input type="button" class="bottom" value="{$lng['panel']['no']}" id="yesnobutton" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -12,7 +12,7 @@ $header
|
||||
<td class="field_name">$checkbox</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="field_name_border_left" nowrap="nowrap" style="text-align: center;" colspan="2"><input type="submit" class="bottom" name="submitbutton" value="{$lng['panel']['yes']}" /> <input type="button" class="bottom" value="{$lng['panel']['no']}" onclick="history.back();" /></td>
|
||||
<td class="field_name_border_left" nowrap="nowrap" style="text-align: center;" colspan="2"><input type="submit" class="bottom" name="submitbutton" value="{$lng['panel']['yes']}" /> <input type="button" class="bottom" value="{$lng['panel']['no']}" id="yesnobutton" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user