From e6e95dd1dcba5da228820a624e0f1f953cfb558d Mon Sep 17 00:00:00 2001 From: Oceatoon Date: Fri, 19 Jun 2020 23:26:27 +0400 Subject: [PATCH] tweaking lartevolution --- views/tpls/forms/costum/community/wizard.php | 52 ++++++++++---------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/views/tpls/forms/costum/community/wizard.php b/views/tpls/forms/costum/community/wizard.php index fb74cb1..a2ecbde 100644 --- a/views/tpls/forms/costum/community/wizard.php +++ b/views/tpls/forms/costum/community/wizard.php @@ -37,9 +37,6 @@ if( isset(Yii::app()->session["costum"]["tpls"][$keyTpl]) ) { .swMain > ul li > a.selected::before, .swMain li > a.done::before{ border-color: ; } - .bgFormColor{ - background-color:black; - } @@ -47,20 +44,20 @@ if( isset(Yii::app()->session["costum"]["tpls"][$keyTpl]) ) { foreach ($formList as $k => $v) { ?> -
+
$v ] ); - ?> + $form = PHDB::findOne( Form::COLLECTION,[ "id"=>$v ] ); + ?> - '.@$form["name"].''; + '.@$form["name"].''; echo "
"; if(isset(Yii::app()->session["costum"]["cms"][$form["id"]."desc"])) echo htmlentities(Yii::app()->session["costum"]["cms"][$form["id"]."desc"]); @@ -70,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 +
+ -- GitLab