diff --git a/views/tpls/forms/costum/community/emailist.php b/views/tpls/forms/costum/community/emailist.php index 352186f0ed09680d5ed4cfbc2c671c4d978cc7a1..3c3105b03438ca689bb87f234d7c36e93770a003 100644 --- a/views/tpls/forms/costum/community/emailist.php +++ b/views/tpls/forms/costum/community/emailist.php @@ -127,7 +127,7 @@ inputType : "text", label : "Sujet", values : sectionDyf.ParamsData.mail_type - } + }, mail_type : { inputType : "textarea", label : "Mail type", diff --git a/views/tpls/forms/costum/community/wizard.php b/views/tpls/forms/costum/community/wizard.php index c8f3a36dc84a2171e9842fff1916ff19787295b5..82e03e0b7e032c23f8ff682b4dfc4b208ac5c053 100644 --- a/views/tpls/forms/costum/community/wizard.php +++ b/views/tpls/forms/costum/community/wizard.php @@ -44,20 +44,20 @@ if( isset($this->costum["tpls"][$keyTpl]) ) { foreach ($formList as $k => $v) { ?> -
+
$v ] ); - ?> + $form = PHDB::findOne( Form::COLLECTION,[ "id"=>$v ] ); + ?> - '.@$form["name"].''; + '.@$form["name"].''; echo "
"; if(isset($this->costum["cms"][$form["id"]."desc"])) echo htmlentities($this->costum["cms"][$form["id"]."desc"]); @@ -67,24 +67,24 @@ var formInputsHere = formInputs; echo " "; echo "
"; - //echo "
"; + //echo "
"; echo "
"; - echo $this->renderPartial("survey.views.tpls.forms.formSection", - [ "formId" => $v, - "form" => $form, - "wizard" => false, - "answer"=>$answer, + echo $this->renderPartial("survey.views.tpls.forms.formSection", + [ "formId" => $v, + "form" => $form, + "wizard" => false, + "answer"=>$answer, "mode" => "w", - "showForm" => $showForm, - "canEdit" => $canEdit, - "el" => $el ] ,true ); - echo "
"; - } - else - { - echo ""; - } - ?> + "showForm" => $showForm, + "canEdit" => $canEdit, + "el" => $el ] ,true ); + echo "
"; + } + else + { + echo ""; + } + ?>
-
\ No newline at end of file + +