Jesse Norell
2016-02-03 709aed2c6bc03b2f722556bb641fe820b764a840
interface/web/dns/dns_wizard.php
@@ -197,7 +197,10 @@
}
if($_POST['create'] == 1) {
   //* CSRF Check
   $app->auth->csrf_token_check();
   $error = '';
   if ($post_server_id)
@@ -311,6 +314,7 @@
   $tpl_rows = explode("\n", $tpl_content);
   $section = '';
   $vars = array();
   $vars['xfer']='';
   $dns_rr = array();
   foreach($tpl_rows as $row) {
      $row = trim($row);
@@ -430,6 +434,11 @@
$app->tpl->setVar("title", 'DNS Wizard');
//* SET csrf token
$csrf_token = $app->auth->csrf_token_get('dns_wizard');
$app->tpl->setVar('_csrf_id',$csrf_token['csrf_id']);
$app->tpl->setVar('_csrf_key',$csrf_token['csrf_key']);
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_dns_wizard.lng';
include $lng_file;
$app->tpl->setVar($wb);