/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/qanda_helper.php(4659)
4647 $answertext = $ansrow['question']; 4648 $answertextsave=$answertext; 4649 if (strpos($answertext,'|')) 4650 { 4651 $answertext=substr($answertext,0, strpos($answertext,'|')); 4652 } 4653 /* Check if this item has not been answered: the 'notanswered' variable must be an array, 4654 containing a list of unanswered questions, the current question must be in the array, 4655 and there must be no answer available for the item in this session. */ 4656 4657 if (strpos($answertext,'|')) {$answerwidth=$answerwidth/2;} 4658 4659 if ($ia[6]=='Y' && (is_array($notanswered)) && (array_search($myfname, $notanswered) !== FALSE) && ($_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$myfname] == '') ) { 4660 $answertext = '<span class="errormandatory">'.$answertext.'</span>'; 4661 } 4662 // Get array_filter stuff 4663 // 4664 // TMSW - is this correct? 4665 $trbc = alternation($trbc , 'row'); 4666 list($htmltbody2, $hiddenfield)=return_array_filter_strings($ia, $aQuestionAttributes, $thissurvey, $ansrow, $myfname, $trbc, $myfname,"tr","$trbc answers-list radio-list"); 4667 $fn++; 4668 $answer .= $htmltbody2; 4669 4670 $answer .= "\t<th class=\"answertext\">\n$answertext" 4671 . $hiddenfield
#0 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/qanda_helper.php(265): do_array(array("42024", "696427X1932X42024", "ARRAY", "An array : this launch undefined notice with index", ...)) 260 break; 261 case 'E': //ARRAY (Increase/Same/Decrease) radio-buttons 262 $values=do_array_increasesamedecrease($ia); 263 break; 264 case 'F': //ARRAY (Flexible) - Row Format 265 $values=do_array($ia); 266 break; 267 case 'H': //ARRAY (Flexible) - Column Format 268 $values=do_arraycolumns($ia); 269 break; 270 case ':': //ARRAY (Multi Flexi) 1 to 10 |
#1 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/SurveyRuntimeHelper.php(860): retrieveAnswers(array("42024", "696427X1932X42024", "ARRAY", "An array : this launch undefined notice with index", ...), "696427") 855 } 856 857 //Get the answers/inputnames 858 // TMSW - can content of retrieveAnswers() be provided by LEM? Review scope of what it provides. 859 // TODO - retrieveAnswers is slow - queries database separately for each question. May be fixed in _CI or _YII ports, so ignore for now 860 list($plus_qanda, $plus_inputnames) = retrieveAnswers($ia, $surveyid); 861 if ($plus_qanda) 862 { 863 $plus_qanda[] = $ia[4]; 864 $plus_qanda[] = $ia[6]; // adds madatory identifyer for adding mandatory class to question wrapping div 865 // Add a finalgroup in qa array , needed for random attribute : TODO: find a way to have it in new quanda_helper in 2.1 |
#2 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/survey/index.php(571): SurveyRuntimeHelper->run("696427", array("surveyid" => "696427", "thissurvey" => array("sid" => "696427", "owner_id" => "1", "admin" => "Denis Chenu", "active" => "Y", ...), "thisstep" => "1", "tokensexist" => 0, ...)) 566 //Send local variables to the appropriate survey type 567 unset($redata); 568 $redata = compact(array_keys(get_defined_vars())); 569 Yii::import('application.helpers.SurveyRuntimeHelper'); 570 $tmp = new SurveyRuntimeHelper(); 571 $tmp->run($surveyid,$redata); 572 573 if (isset($_POST['saveall']) || isset($flashmessage)) 574 { 575 echo "<script type='text/javascript'> $(document).ready( function() { alert('".$clang->gT("Your responses were successfully saved.","js")."');}) </script>"; 576 } |
#3 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/survey/index.php(46): index->action() 41 App()->getClientScript()->render($buffer); 42 App()->getClientScript()->reset(); 43 return $buffer; 44 }); 45 ob_implicit_flush(false); 46 $this->action(); 47 ob_flush(); 48 } 49 50 function action() 51 { |
#4 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/actions/CAction.php(76): index->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 else 76 return $this->run(); 77 } 78 79 /** 80 * Executes a method of an object with the supplied named parameters. 81 * This method is internally used. |
#5 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(308): CAction->runWithParams(array()) 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; |
#6 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(286): CController->runAction(index) 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(); |
#7 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CController.php(265): CController->runActionWithFilters(index, 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); |
#8 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(282): CController->run("index") 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))); |
#9 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index") 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. |
#10 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/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 /** |
#11 |
+
–
/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/index.php(200): CApplication->run() 195 die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath)); 196 } 197 } 198 199 200 Yii::createApplication('LSYii_Application', $config)->run(); 201 202 /* End of file index.php */ 203 /* Location: ./index.php */ |