request->baseUrl); HtmlHelper::registerCssAndScriptsFiles(array( '/js/answer.js', ), Yii::app()->getModule( Survey::MODULE )->getAssetsUrl() ); $poiList = array(); if(isset($this->costum["contextType"]) && isset($this->costum["contextId"])){ $poiList = PHDB::find(Poi::COLLECTION, array( "parent.".$this->costum["contextId"] => array('$exists'=>1), "parent.".$this->costum["contextId"].".type"=>$this->costum["contextType"], "type"=>"cms") ); } ?> $this->costum["slug"], // "slug"=>$el["slug"], // "canEdit"=>$canEdit, // "el"=>$el ]; // echo $this->renderPartial("survey.views.tpls.acceptAndAdmin", $params, true ); ?>
costum["cms"]["color1"])) $color1 = $this->costum["cms"]["color1"]; // if($canEdit) // echo ""; ?>

'. ''. '
'; } if($mode != "fa" && !empty($parentForm["answersTpl"])){ $params = [ "parentForm"=>$parentForm, "el" => $el, "color1" => $color1, "canEdit" => $canEdit, "answer"=>$answer, "forms"=>$forms, "allAnswers"=>@$allAnswers, "what" => "dossiers", "wizid"=> $wizardUid ]; echo $this->renderPartial($parentForm["answersTpl"],$params); } if( $mode == "fa" && $canEditForm === true ){ $params = [ "canEditForm"=>$canEditForm, "mode" => $mode, "form" => $form, "el" => $el ]; echo $this->renderPartial("survey.views.tpls.forms.config",$params); } if( isset($answer) && !empty($showForm) && $showForm === true ) { $params = [ "parentForm"=>$parentForm, "form" => $form, "forms"=>$forms, "el" => $el, "active" => "all", "color1" => @$this->costum["colors"]["dark"], "color2" => @$this->costum["colors"]["pink"], "canEdit" => $canEdit, "canEditForm" => $canEditForm, "canAdminAnswer" => $canAdminAnswer, "answer"=>$answer, "showForm" => $showForm, "mode" => $mode, "showWizard"=>true, "wizid"=> $wizardUid ]; echo $this->renderPartial("survey.views.tpls.forms.wizard",$params); } ?>