/kunden/181049_1014/webseiten/limesurvey/application/views/admin/token/managetokenattributes.php(42)
30 foreach ($tokenfields as $sTokenField) { 31 if (isset($tokenfielddata[$sTokenField])) 32 $tokenvalues = $tokenfielddata[$sTokenField]; 33 else 34 $tokenvalues = array('description' => '','mandatory' => 'N','show_register' => 'N','cpdbmap'=>''); 35 $nrofattributes++; 36 echo " 37 <tr> 38 <td>{$sTokenField}</td>"; 39 if ($sLanguage == $thissurvey['language']) 40 { 41 echo "<td><input type='text' name='description_{$sTokenField}' value='" . htmlspecialchars($tokenvalues['description'], ENT_QUOTES, 'UTF-8') . "' /></td>"; 42 echo "<td><input type='checkbox' name='mandatory_$tokenfield' value='Y'"; 43 if ($tokenvalues['mandatory'] == 'Y') 44 echo ' checked="checked"'; 45 echo " /></td> 46 <td><input type='checkbox' name='show_register_$tokenfield' value='Y'"; 47 if (!empty($tokenvalues['show_register']) && $tokenvalues['show_register'] == 'Y') 48 echo ' checked="checked"'; 49 echo " /></td>"; 50 } 51 else 52 { 53 echo " 54 <td>", htmlspecialchars($tokenvalues['description'], ENT_QUOTES, 'UTF-8'), "</td>
#0 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/web/CBaseController.php(126): require("/kunden/181049_1014/webseiten/limesurvey/application/views/admin...") 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 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/web/CBaseController.php(95): CBaseController->renderInternal("/kunden/181049_1014/webseiten/limesurvey/application/views/admin...", array("thissurvey" => array("sid" => "365943", "owner_id" => "1", "admin" => "Administrator", "active" => "Y", ...), "surveyid" => "365943", "tokenfields" => array(17 => "attribute_1", 18 => "attribute_2"), "tokenfielddata" => array("attribute_1" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => ""), "attribute_2" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => "")), ...), 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 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/web/CController.php(869): CBaseController->renderFile("/kunden/181049_1014/webseiten/limesurvey/application/views/admin...", array("thissurvey" => array("sid" => "365943", "owner_id" => "1", "admin" => "Administrator", "active" => "Y", ...), "surveyid" => "365943", "tokenfields" => array(17 => "attribute_1", 18 => "attribute_2"), "tokenfielddata" => array("attribute_1" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => ""), "attribute_2" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => "")), ...), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#3 |
+
–
/kunden/181049_1014/webseiten/limesurvey/application/core/Survey_Common_Action.php(306): CController->renderPartial("/admin/token/managetokenattributes", array("thissurvey" => array("sid" => "365943", "owner_id" => "1", "admin" => "Administrator", "active" => "Y", ...), "surveyid" => "365943", "tokenfields" => array(17 => "attribute_1", 18 => "attribute_2"), "tokenfielddata" => array("attribute_1" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => ""), "attribute_2" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => "")), ...)) 301 { 302 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) 303 { 304 if (is_numeric($sViewKey)) 305 { 306 Yii::app()->getController()->renderPartial($sViewPath . $viewUrl, $aData); 307 } 308 elseif (is_array($viewUrl)) 309 { 310 foreach ($viewUrl as $aSubData) 311 { |
#4 |
+
–
/kunden/181049_1014/webseiten/limesurvey/application/controllers/admin/tokens.php(2438): Survey_Common_Action->_renderWrappedTemplate("token", array("tokenbar", "managetokenattributes"), array("thissurvey" => array("sid" => "365943", "owner_id" => "1", "admin" => "Administrator", "active" => "Y", ...), "surveyid" => "365943", "tokenfields" => array(17 => "attribute_1", 18 => "attribute_2"), "tokenfielddata" => array("attribute_1" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => ""), "attribute_2" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => "")), ...)) 2433 */ 2434 protected function _renderWrappedTemplate($sAction = 'token', $aViewUrls = array(), $aData = array()) 2435 { 2436 $aData['imageurl'] = Yii::app()->getConfig('adminimageurl'); 2437 $aData['display']['menu_bars'] = false; 2438 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData); 2439 } 2440 2441 } |
#5 |
+
–
/kunden/181049_1014/webseiten/limesurvey/application/controllers/admin/tokens.php(1062): tokens->_renderWrappedTemplate("token", array("tokenbar", "managetokenattributes"), array("thissurvey" => array("sid" => "365943", "owner_id" => "1", "admin" => "Administrator", "active" => "Y", ...), "surveyid" => "365943", "tokenfields" => array(17 => "attribute_1", 18 => "attribute_2"), "tokenfielddata" => array("attribute_1" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => ""), "attribute_2" => array("description" => "", "mandatory" => "N", "show_register" => "N", "cpdbmap" => "")), ...)) 1057 $aData['aCPDBAttributes']['']=$clang->gT('(none)'); 1058 foreach (ParticipantAttributeName::model()->getCPDBAttributes() as $aCPDBAttribute) 1059 { 1060 $aData['aCPDBAttributes'][$aCPDBAttribute['attribute_id']]=$aCPDBAttribute['attribute_name']; 1061 } 1062 $this->_renderWrappedTemplate('token', array('tokenbar', 'managetokenattributes'), $aData); 1063 } 1064 1065 /** 1066 * Update token attributes 1067 */ |
#6 |
unknown(0): tokens->managetokenattributes("365943")
|
#7 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(tokens, array("365943")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#8 |
+
–
/kunden/181049_1014/webseiten/limesurvey/application/core/Survey_Common_Action.php(99): CAction->runWithParamsInternal(tokens, ReflectionMethod, array("surveyid" => "365943", "sa" => "managetokenattributes", "iSurveyId" => "365943", "iSurveyID" => "365943")) 094 $oMethod = new ReflectionMethod($this, $sDefault); 095 } 096 097 // We're all good to go, let's execute it 098 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 099 return parent::runWithParamsInternal($this, $oMethod, $params); 100 } 101 102 /** 103 * Some functions have different parameters, which are just an alias of the 104 * usual parameters we're getting in the url. This function just populates |
#9 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "365943", "sa" => "managetokenattributes")) 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; |
#10 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/web/CController.php(286): CController->runAction(tokens) 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(); |
#11 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(tokens, 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); |
#12 |
+
–
/kunden/181049_1014/webseiten/limesurvey/application/controllers/AdminController.php(169): CController->run("tokens") 164 $this->redirect(array('/admin/authentication/sa/login')); 165 } 166 167 } 168 169 return parent::run($action); 170 } 171 172 /** 173 * Routes all the actions to their respective places 174 * |
#13 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("tokens") 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))); |
#14 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/tokens/sa/managetokenattributes") 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. |
#15 |
+
–
/kunden/181049_1014/webseiten/limesurvey/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#16 |
+
–
/kunden/181049_1014/webseiten/limesurvey/index.php(190): CApplication->run() 185 die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath)); 186 } 187 } 188 189 190 Yii::createApplication('LSYii_Application', $config)->run(); 191 192 /* End of file index.php */ 193 /* Location: ./index.php */ |