From e1ceb050e19c7574bca146a8da7047ee4ff456b5 Mon Sep 17 00:00:00 2001 From: Marius Burkard <m.burkard@pixcept.de> Date: Sun, 10 Jul 2016 05:02:35 -0400 Subject: [PATCH] Merge branch 'stable-3.1' --- interface/web/themes/default/templates/form.tpl.htm | 28 +++------------------------- 1 files changed, 3 insertions(+), 25 deletions(-) diff --git a/interface/web/themes/default/templates/form.tpl.htm b/interface/web/themes/default/templates/form.tpl.htm index 12daa1f..a2d3dfc 100644 --- a/interface/web/themes/default/templates/form.tpl.htm +++ b/interface/web/themes/default/templates/form.tpl.htm @@ -1,25 +1,3 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title>Form</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link href="../themes/{tmpl_var name="theme"}/style.css" rel="stylesheet" type="text/css"> -<script language="JavaScript"> -<!-- - -function del_record(link) { - if(window.confirm("Wollen Sie den Datensatz l�schen?")) { - location.href = link; - } -} - -//--> -</script> -</head> - -<body> -<form method="post" action="<tmpl_var name='form_action'>" name="myform" enctype="multipart/form-data"> -<tmpl_dyninclude name="content_tpl"> -</form> -</body> -</html> +<tmpl_dyninclude name="content_tpl"> +<input type="hidden" name="_csrf_id" value="{tmpl_var name='_csrf_id'}" /> +<input type="hidden" name="_csrf_key" value="{tmpl_var name='_csrf_key'}" /> \ No newline at end of file -- Gitblit v1.9.1