/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/models/TemplateConfiguration.php(197)
185 $oCssFiles = $this->config->files->css->filename; // The CSS files of this template 186 $oJsFiles = $this->config->files->js->filename; // The JS files of this template 187 188 $jsDeactivateConsole = " 189 <script> var dummyConsole = { 190 log : function(){}, 191 error : function(){} 192 }; 193 console = dummyConsole; 194 window.console = dummyConsole; 195 </script>"; 196 197 if (getLanguageRTL($this->oSurvey->language)) 198 { 199 $oCssFiles = $this->config->files->rtl->css->filename; // In RTL mode, original CSS files should not be loaded, else padding-left could be added to padding-right.) 200 $oJsFiles = $this->config->files->rtl->js->filename; // In RTL mode, 201 } 202 203 if (Yii::app()->getConfig('debug') == 0) 204 { 205 Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/scripts/deactivatedebug.js', CClientScript::POS_END); 206 } 207 208 $aCssFiles = (array) $oCssFiles; 209 $aJsFiles = (array) $oJsFiles;
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/models/TemplateConfiguration.php(142): TemplateConfiguration->createTemplatePackage() 137 138 $this->otherFiles = $this->setOtherFiles(); 139 $this->depends = $this->packages; // TODO: remove 140 141 // Package creation 142 $this->createTemplatePackage(); 143 144 libxml_disable_entity_loader($bOldEntityLoaderState); // Put back entity loader to its original state, to avoid contagion to other applications on the server 145 return $this; 146 } 147 |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/models/Template.php(143): TemplateConfiguration->setTemplateConfiguration("default", "") 138 * @return StdClass 139 */ 140 public static function getTemplateConfiguration($sTemplateName='', $iSurveyId='') 141 { 142 $oTemplate = new TemplateConfiguration; 143 $oTemplate->setTemplateConfiguration($sTemplateName, $iSurveyId); 144 return $oTemplate; 145 } 146 147 /** 148 * Return the list of ALL files present in the file directory |
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/models/Template.php(304): Template::getTemplateConfiguration("default", "") 299 */ 300 public static function getInstance($sTemplateName='', $iSurveyId='') 301 { 302 if (empty(self::$instance)) 303 { 304 self::$instance = self::getTemplateConfiguration($sTemplateName, $iSurveyId); 305 } 306 return self::$instance; 307 } 308 309 /** |
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/helpers/replacements_helper.php(131): Template::getInstance("default") 126 * 127 * If templatereplace is called from the template editor, a $oTemplate is provided. 128 */ 129 if ($oTemplate === '') 130 { 131 $oTemplate = Template::model()->getInstance($templatename); 132 } 133 134 if(stripos ($line,"{TEMPLATECSS}")) 135 { 136 // This package is created in model TemplateConfiguration::createTemplatePackage |
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/views/admin/survey/surveySummary_view.php(423):
templatereplace("") 418 <td style="border-top: none; padding-left: 2em"> 419 <?php eT("Welcome:");?> 420 </td> 421 <td style="border-top: none;" > 422 <?php 423 templatereplace(flattenText($surveyinfo['surveyls_welcometext'])); 424 echo LimeExpressionManager::GetLastPrettyPrintExpression(); 425 ?> 426 </td> 427 </tr> 428 |
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/framework/web/CBaseController.php(126): require("/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/applicati...") 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 } |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/framework/web/CBaseController.php(95): CBaseController->renderInternal("/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/applicati...",
array("aAdditionalLanguages" => array(), "title_bar" =>
array("title" => "Date broken (ID:753612)"), "surveyinfo" =>
array("template" => "default", "language" => "en", "sid" =>
753612, "owner_id" => 1, ...), "surveyid" => 753612, ...), 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); |
#7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/framework/web/CController.php(872): CBaseController->renderFile("/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/applicati...",
array("aAdditionalLanguages" => array(), "title_bar" =>
array("title" => "Date broken (ID:753612)"), "surveyinfo" =>
array("template" => "default", "language" => "en", "sid" =>
753612, "owner_id" => 1, ...), "surveyid" => 753612, ...), 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 |
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/core/Survey_Common_Action.php(1256): CController->renderPartial("/admin/survey/surveySummary_view",
array("aAdditionalLanguages" => array(), "title_bar" =>
array("title" => "Date broken (ID:753612)"), "surveyinfo" =>
array("template" => "default", "language" => "en", "sid" =>
753612, "owner_id" => 1, ...), "surveyid" => 753612, ...), true)
1251 // We get the state of the quickaction 1252 // If the survey is new (ie: it has no group), it is opened by default 1253 $setting_entry = 'quickaction_'.Yii::app()->user->getId(); 1254 $aData['quickactionstate'] = ($sumcount2<1)?1:getGlobalSetting($setting_entry); 1255 1256 $content = $this->getController()->renderPartial("/admin/survey/surveySummary_view", $aData, true); 1257 $this->getController()->renderPartial("/admin/super/sidebody", array( 1258 'content' => $content, 1259 'sideMenuOpen' => true 1260 )); 1261 } |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/core/Survey_Common_Action.php(466): Survey_Common_Action->_surveysummary(array("aAdditionalLanguages"
=> array(), "title_bar" => array("title" => "Date broken
(ID:753612)"), "surveyinfo" => array("template" => "default",
"language" => "en", "sid" => "753612", "owner_id" => "1", ...),
"surveyid" => 753612, ...)) 461 { 462 if ((empty($aData['display']['menu_bars']['surveysummary']) || !is_string($aData['display']['menu_bars']['surveysummary'])) && !empty($aData['gid'])) 463 { 464 $aData['display']['menu_bars']['surveysummary'] = 'viewgroup'; 465 } 466 $this->_surveysummary($aData); 467 } 468 } 469 470 /** 471 * Header |
#10 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/core/Survey_Common_Action.php(288): Survey_Common_Action->_nsurveysummary(array("aAdditionalLanguages"
=> array(), "title_bar" => array("title" => "Date broken
(ID:753612)"), "surveyinfo" => array("template" => "default",
"language" => "en", "sid" => "753612", "owner_id" => "1", ...),
"surveyid" => 753612, ...)) 283 284 //// Here the main content views. 285 $this->_surveysidemenu($aData); 286 $this->_listquestiongroups($aData); 287 $this->_listquestions($aData); 288 $this->_nsurveysummary($aData); 289 290 } 291 else 292 { 293 /// |
#11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/controllers/admin/surveyadmin.php(1813): Survey_Common_Action->_renderWrappedTemplate("survey",
array(), array("aAdditionalLanguages" => array(), "title_bar" =>
array("title" => "Date broken (ID:753612)"), "surveyinfo" =>
array("template" => "default", "language" => "en", "sid" =>
"753612", "owner_id" => "1", ...), "surveyid" => "753612", ...))
1808 * @param string|array $aViewUrls View url(s) 1809 * @param array $aData Data to be passed on. Optional. 1810 */ 1811 protected function _renderWrappedTemplate($sAction = 'survey', $aViewUrls = array(), $aData = array()) 1812 { 1813 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData); 1814 } 1815 1816 } |
#12 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/controllers/admin/surveyadmin.php(419): SurveyAdmin->_renderWrappedTemplate("survey",
array(), array("aAdditionalLanguages" => array(), "title_bar" =>
array("title" => "Date broken (ID:753612)"), "surveyinfo" =>
array("template" => "default", "language" => "en", "sid" =>
"753612", "owner_id" => "1", ...), "surveyid" => "753612", ...))
414 else 415 { 416 $aData['showLastQuestion'] = false; 417 } 418 419 $this->_renderWrappedTemplate('survey', array(), $aData); 420 } 421 422 423 424 /** |
#13 |
unknown(0): SurveyAdmin->view(753612, null, null)
|
#14 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(SurveyAdmin, array(753612, null, null)) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#15 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(SurveyAdmin,
ReflectionMethod, array("surveyid" => 753612, "sa" => "view",
"iSurveyId" => 753612, "iSurveyID" => 753612, ...)) 81 $oMethod = new ReflectionMethod($this, $sDefault); 82 } 83 84 // We're all good to go, let's execute it 85 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 86 return parent::runWithParamsInternal($this, $oMethod, $params); 87 } 88 89 /** 90 * Some functions have different parameters, which are just an alias of the 91 * usual parameters we're getting in the url. This function just populates |
#16 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "753612", "sa" => "view")) 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; |
#17 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/framework/web/CController.php(286): CController->runAction(SurveyAdmin) 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(); |
#18 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/framework/web/CController.php(265): CController->runActionWithFilters(SurveyAdmin, 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); |
#19 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/application/controllers/AdminController.php(174): CController->run("survey") 169 $this->redirect(array('/admin/authentication/sa/login')); 170 } 171 172 } 173 174 return parent::run($action); 175 } 176 177 /** 178 * Routes all the actions to their respective places 179 * |
#20 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/framework/web/CWebApplication.php(282): AdminController->run("survey") 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))); |
#21 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/survey/sa/view") 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. |
#22 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/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 /** |
#23 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey_PG/index.php(214): CApplication->run() 209 die (sprintf('%s should be writable by the webserver (766 or 776).', $sDefaultRuntimePath)); 210 } 211 } 212 213 Yii::$enableIncludePath = false; 214 Yii::createApplication('LSYii_Application', $config)->run(); 215 216 /* End of file index.php */ 217 /* Location: ./index.php */ |