/mnt/data/shnoulle/nginx/www/master/application/views/themeOptions/options_core.php(152)
140 <div class="input-group-addon style__colorpicker"> 141 <input type="color" name="' . $attributeKey . '_picker" data-value="' . $sParentOption . '" class="selector__colorpicker-inherit-value"/> 142 </div> 143 <input type="text" name="' . $attributeKey . '" data-inheritvalue="' . $sParentOption . '" value="inherit" class="selector_option_value_field selector__color-picker form-control simple_edit_options_' . $attributeKey . '" id="' . $attributeKey . '" />'; 144 if ($bInherit && isset($sParentOption)){ 145 echo '<div class="input-group-addon"> 146 <button class="btn btn-default btn-xs selector__reset-colorfield-to-inherit"><i class="fa fa-refresh"></i></button> 147 </div>'; 148 } 149 echo '</div>'; 150 } elseif ($attribute['type'] == 'dropdown'){ 151 echo ' <div class="col-sm-12"> 152 <select class="form-control selector_option_value_field selector_radio_childfield selector_image_selector" data-parent="' . $attribute['parent'] . '" data-inheritvalue=\'' . ($attributeKey == 'font' && isset($sPackagesToLoad) ? $sPackagesToLoad : $sParentOption) . '\' id="simple_edit_options_' . $attributeKey . '" name="' . $attributeKey . '" >'; 153 if ($bInherit){ 154 if ($attributeKey == 'backgroundimagefile'){ 155 $inheritedValue = isset($backgroundfileInheritPreview) ? $backgroundfileInheritPreview : ''; 156 } elseif ($attributeKey == 'backgroundimagefile'){ 157 $inheritedValue = isset($logofileInheritPreview) ? $logofileInheritPreview : ''; 158 } else { 159 $inheritedValue = isset($sParentOption) ? $sParentOption : ''; 160 } 161 echo '<option value="inherit">' . gT("Inherit") . ' [' . gT("inherited value:") . ' ' . $inheritedValue . ']</option>'; 162 } 163 // dropdown options from config.xml file 164 echo $aOptionAttributes['optionAttributes'][$attributeKey]['dropdownoptions'];
#0 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): require() 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): CBaseController->renderInternal("/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...", array("aOptionAttributes" => array("categories" => array("Simple options", "Images"), "optionAttributes" => array("container" => array("type" => "buttons", "title" => "Survey container", "category" => "Simple options", "width" => "4", ...), "showpopups" => array("type" => "buttons", "title" => "Show popups", "category" => "Simple options", "width" => "4", ...), "showclearall" => array("type" => "buttons", "title" => "Show Clear All button", "category" => "Simple options", "width" => "4", ...), "questionhelptextposition" => array("type" => "buttons", "title" => "Question help text position", "category" => "Simple options", "width" => "4", ...), ...), "optionsPage" => "core"), "aTemplateConfiguration" => array("id" => "873", "template_name" => "CHECK_bootswatch_16782", "sid" => "587692", "gsid" => null, ...), "oParentOptions" => array("container" => "on", "showpopups" => "1", "showclearall" => "off", "questionhelptextposition" => "top", ...), "sPackagesToLoad" => "{"add":["pjax","moment"]}"), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(872): CBaseController->renderFile("/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...", array("aOptionAttributes" => array("categories" => array("Simple options", "Images"), "optionAttributes" => array("container" => array("type" => "buttons", "title" => "Survey container", "category" => "Simple options", "width" => "4", ...), "showpopups" => array("type" => "buttons", "title" => "Show popups", "category" => "Simple options", "width" => "4", ...), "showclearall" => array("type" => "buttons", "title" => "Show Clear All button", "category" => "Simple options", "width" => "4", ...), "questionhelptextposition" => array("type" => "buttons", "title" => "Question help text position", "category" => "Simple options", "width" => "4", ...), ...), "optionsPage" => "core"), "aTemplateConfiguration" => array("id" => "873", "template_name" => "CHECK_bootswatch_16782", "sid" => "587692", "gsid" => null, ...), "oParentOptions" => array("container" => "on", "showpopups" => "1", "showclearall" => "off", "questionhelptextposition" => "top", ...), "sPackagesToLoad" => "{"add":["pjax","moment"]}"), true) 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/views/themeOptions/update.php(111): CController->renderPartial("./options_core", array("aOptionAttributes" => array("categories" => array("Simple options", "Images"), "optionAttributes" => array("container" => array("type" => "buttons", "title" => "Survey container", "category" => "Simple options", "width" => "4", ...), "showpopups" => array("type" => "buttons", "title" => "Show popups", "category" => "Simple options", "width" => "4", ...), "showclearall" => array("type" => "buttons", "title" => "Show Clear All button", "category" => "Simple options", "width" => "4", ...), "questionhelptextposition" => array("type" => "buttons", "title" => "Question help text position", "category" => "Simple options", "width" => "4", ...), ...), "optionsPage" => "core"), "aTemplateConfiguration" => array("id" => "873", "template_name" => "CHECK_bootswatch_16782", "sid" => "587692", "gsid" => null, ...), "oParentOptions" => array("container" => "on", "showpopups" => "1", "showclearall" => "off", "questionhelptextposition" => "top", ...), "sPackagesToLoad" => "{"add":["pjax","moment"]}")) 106 if ($aOptionAttributes['optionsPage'] == 'core'){ 107 $this->renderPartial('./options_core', array( 108 'aOptionAttributes' => $aOptionAttributes, 109 'aTemplateConfiguration' => $aTemplateConfiguration, 110 'oParentOptions' => $oParentOptions, 111 'sPackagesToLoad' => $sPackagesToLoad 112 ) 113 ); 114 } else { 115 echo '<div role="tabpanel" class="tab-pane active" id="simple">'; 116 echo $templateOptionPage; |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): require("/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...") 121 $data=$_data_; 122 if($_return_) 123 { 124 ob_start(); 125 ob_implicit_flush(false); 126 require($_viewFile_); 127 return ob_get_clean(); 128 } 129 else 130 require($_viewFile_); 131 } |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): CBaseController->renderInternal("/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...", array("model" => TemplateConfiguration, "templateOptionPage" => "", "optionInheritedValues" => stdClass, "optionCssFiles" => "{"replace":["css\/theme.css","css\/custom.css"]}", ...), true) 090 { 091 $widgetCount=count($this->_widgetStack); 092 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 093 $content=$renderer->renderFile($this,$viewFile,$data,$return); 094 else 095 $content=$this->renderInternal($viewFile,$data,$return); 096 if(count($this->_widgetStack)===$widgetCount) 097 return $content; 098 else 099 { 100 $widget=end($this->_widgetStack); |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(872): CBaseController->renderFile("/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...", array("model" => TemplateConfiguration, "templateOptionPage" => "", "optionInheritedValues" => stdClass, "optionCssFiles" => "{"replace":["css\/theme.css","css\/custom.css"]}", ...), true) 867 */ 868 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 869 { 870 if(($viewFile=$this->getViewFile($view))!==false) 871 { 872 $output=$this->renderFile($viewFile,$data,true); 873 if($processOutput) 874 $output=$this->processOutput($output); 875 if($return) 876 return $output; 877 else |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(785): CController->renderPartial("update", array("model" => TemplateConfiguration, "templateOptionPage" => "", "optionInheritedValues" => stdClass, "optionCssFiles" => "{"replace":["css\/theme.css","css\/custom.css"]}", ...), true) 780 */ 781 public function render($view,$data=null,$return=false) 782 { 783 if($this->beforeRender($view)) 784 { 785 $output=$this->renderPartial($view,$data,true); 786 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 787 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 788 789 $this->afterRender($view,$output); 790 |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/ThemeOptionsController.php(729): CController->render("update", array("model" => TemplateConfiguration, "templateOptionPage" => "", "optionInheritedValues" => stdClass, "optionCssFiles" => "{"replace":["css\/theme.css","css\/custom.css"]}", ...)) 724 $aData['subaction'] = gT("Survey theme options"); 725 $aData['sidemenu']['landOnSideMenuTab'] = 'settings'; 726 } 727 728 $this->aData = $aData; 729 $this->render('update', $aData); 730 } 731 732 /** 733 * Try to get the get-parameter from request. 734 * At the moment there are three namings for a survey id: |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/ThemeOptionsController.php(346): ThemeOptionsController->updateCommon(TemplateConfiguration, 587692) 341 if ($model->save()) { 342 App()->user->setFlash('success', gT('Theme options saved.')); 343 $this->redirect(array("themeOptions/updateSurvey", 'surveyid' => $sid)); 344 } 345 } 346 $this->updateCommon($model, $sid); 347 } 348 349 /** 350 * Updates particular model. 351 * If update is successful, the browser will be redirected to the 'view' page. |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CInlineAction.php(49): ThemeOptionsController->actionUpdateSurvey() 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): CInlineAction->runWithParams(array("surveyid" => "587692", "gsid" => "12")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): CController->runAction(CInlineAction) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/LSBaseController.php(160): CController->run("updateSurvey") 155 $this->redirect(array('/admin/authentication/sa/login')); 156 } 157 } 158 } 159 160 parent::run($action); 161 } 162 163 /** 164 * Load and set session vars 165 * |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): LSBaseController->run("updateSurvey") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): CWebApplication->runController("themeOptions/updateSurvey") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#18 |
+
–
/mnt/data/shnoulle/nginx/www/master/index.php(182): CApplication->run() 177 require_once APPPATH . 'core/LSYii_Application' . EXT; 178 179 $config = require_once(APPPATH . 'config/internal' . EXT); 180 181 Yii::$enableIncludePath = false; 182 Yii::createApplication('LSYii_Application', $config)->run(); 183 184 /* End of file index.php */ 185 /* Location: ./index.php */ |