\limesurvey\application\views\admin\quotas\viewquotas_quota_members.php(24)
12 $icon = 'fa-exclamation-circle'; 13 } elseif ($oQuota->action == Quota::ACTION_CONFIRM_TERMINATE){ 14 $tooltip = gT("Allow user to modify his last answers before terminate survey."); 15 $icon = 'fa-exclamation-triangle'; 16 } 17 ?> 18 19 <div class="panel panel-<?php echo ($oQuota->active==1 ? 'primary' : 'default') ?>"> 20 <div class="panel-heading"> 21 <div class="pull-right small"> 22 <span><span class="fa <?php echo $icon?>"></span> <?php echo $tooltip;?></span> 23 <?php if($oQuota->autoload_url == 1):?> 24 <span><span class="fa fa-external-link"></span> <?php echo gT('Autoload URL:').' '.htmlentities($oQuota->mainLanguagesetting->quotals_url);?>"</span> 25 <?php endif;?> 26 </div> 27 <?php echo viewHelper::flatEllipsizeText($oQuota->name) ;?> 28 </div> 29 <table class="table table-quota-items table-striped table-condensed" > 30 <thead> 31 <tr> 32 <th><?php eT('Question');?></th> 33 <th><?php eT('Answer');?></th> 34 <th class="text-right"> 35 <?php echo CHtml::beginForm(array("admin/quotas/sa/new_answer/surveyid/{$oSurvey->getPrimaryKey()}"), 'post');?> 36 <?php echo CHtml::hiddenField('sid',$oSurvey->getPrimaryKey());?>
#0 |
+
–
\limesurvey\framework\web\CBaseController.php(126): require("\limesurvey\application\vie...") 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 |
+
–
\limesurvey\framework\web\CBaseController.php(95): CBaseController->renderInternal("\limesurvey\application\vie...", array("oSurvey" => Survey, "oQuota" => Quota, "aQuotaItems" => array(1330 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1331 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1332 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1333 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), ...)), 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 |
+
–
\limesurvey\framework\web\CController.php(869): CBaseController->renderFile("\limesurvey\application\vie...", array("oSurvey" => Survey, "oQuota" => Quota, "aQuotaItems" => array(1330 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1331 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1332 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1333 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), ...)), 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 |
+
–
\limesurvey\application\views\admin\quotas\viewquotas_view.php(78): CController->renderPartial("/admin/quotas/viewquotas_quota_members", array("oSurvey" => Survey, "oQuota" => Quota, "aQuotaItems" => array(1330 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1331 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1332 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), 1333 => array(array("oQuestion" => Question, "answer_title" => "Some question text", "oQuotaMember" => QuotaMember)), ...))) 73 $out = '<p>'.$this->renderPartial('/admin/quotas/viewquotas_quota_members', 74 array( 75 'oSurvey'=>$oSurvey, 76 'oQuota'=>$oQuota, 77 'aQuotaItems'=>$aQuotaItems, 78 )).'<p>'; 79 return $out; 80 }, 81 ), 82 array( 83 'name'=>'completed', |
#4 |
unknown(0): CBaseController->{closure}(Quota, 0, TbDataColumn)
|
#5 |
+
–
\limesurvey\framework\base\CComponent.php(617): call_user_func_array(Closure, array("data" => Quota, "row" => 0, 0 => TbDataColumn)) 612 return eval('return '.$_expression_.';'); 613 } 614 else 615 { 616 $_data_[]=$this; 617 return call_user_func_array($_expression_, $_data_); 618 } 619 } 620 } 621 622 |
#6 |
+
–
\limesurvey\framework\zii\widgets\grid\CDataColumn.php(142): CComponent->evaluateExpression(Closure, array("data" => Quota, "row" => 0)) 137 */ 138 public function getDataCellContent($row) 139 { 140 $data=$this->grid->dataProvider->data[$row]; 141 if($this->value!==null) 142 $value=$this->evaluateExpression($this->value,array('data'=>$data,'row'=>$row)); 143 elseif($this->name!==null) 144 $value=CHtml::value($data,$this->name); 145 return $value===null ? $this->grid->nullDisplay : $this->grid->getFormatter()->format($value,$this->type); 146 } 147 } |
#7 |
+
–
\limesurvey\framework\zii\widgets\grid\CGridColumn.php(231): CDataColumn->getDataCellContent(0) 226 * @param mixed $data the data associated with the row 227 * @deprecated since 1.1.16. Use {@link getDataCellContent()} instead. 228 */ 229 protected function renderDataCellContent($row,$data) 230 { 231 echo $this->getDataCellContent($row); 232 } 233 234 /** 235 * Returns the filter cell content. 236 * The default implementation simply returns an empty column. |
#8 |
+
–
\limesurvey\framework\zii\widgets\grid\CGridColumn.php(154): CGridColumn->renderDataCellContent(0, Quota) 149 else 150 $options['class']=$class; 151 } 152 } 153 echo CHtml::openTag('td',$options); 154 $this->renderDataCellContent($row,$data); 155 echo '</td>'; 156 } 157 158 /** 159 * Renders the footer cell. |
#9 |
+
–
\limesurvey\framework\zii\widgets\grid\CGridView.php(638): CGridColumn->renderDataCell(0) 633 * @param integer $row 634 * @since 1.1.16 635 */ 636 protected function renderDataCell($column, $row) 637 { 638 $column->renderDataCell($row); 639 } 640 641 /** 642 * @return boolean whether the table should render a footer. 643 * This is true if any of the {@link columns} has a true {@link CGridColumn::hasFooter} value. |
#10 |
+
–
\limesurvey\framework\zii\widgets\grid\CGridView.php(622): CGridView->renderDataCell(TbDataColumn, 0) 617 $htmlOptions['class']=$class; 618 } 619 620 echo CHtml::openTag('tr', $htmlOptions)."\n"; 621 foreach($this->columns as $column) 622 $this->renderDataCell($column, $row); 623 echo "</tr>\n"; 624 } 625 626 /** 627 * A seam for people extending CGridView to be able to hook onto the data cell rendering process. |
#11 |
+
–
\limesurvey\framework\zii\widgets\grid\CGridView.php(578): CGridView->renderTableRow(0) 573 echo "<tbody>\n"; 574 575 if($n>0) 576 { 577 for($row=0;$row<$n;++$row) 578 $this->renderTableRow($row); 579 } 580 else 581 { 582 echo '<tr><td colspan="'.count($this->columns).'" class="empty">'; 583 $this->renderEmptyText(); |
#12 |
+
–
\limesurvey\framework\zii\widgets\grid\CGridView.php(488): CGridView->renderTableBody() 483 if($this->dataProvider->getItemCount()>0 || $this->showTableOnEmpty) 484 { 485 echo "<table class=\"{$this->itemsCssClass}\">\n"; 486 $this->renderTableHeader(); 487 ob_start(); 488 $this->renderTableBody(); 489 $body=ob_get_clean(); 490 $this->renderTableFooter(); 491 echo $body; // TFOOT must appear before TBODY according to the standard. 492 echo "</table>"; 493 } |
#13 |
+
–
\limesurvey\framework\zii\widgets\CBaseListView.php(181): CGridView->renderItems() 176 protected function renderSection($matches) 177 { 178 $method='render'.$matches[1]; 179 if(method_exists($this,$method)) 180 { 181 $this->$method(); 182 $html=ob_get_contents(); 183 ob_clean(); 184 return $html; 185 } 186 else |
#14 |
unknown(0): CBaseListView->renderSection(array("{items}", "items"))
|
#15 |
+
–
\limesurvey\framework\zii\widgets\CBaseListView.php(164): preg_replace_callback("/{(\w+)}/", array(TbGridView, "renderSection"), "{items}
<div class="row-fluid"><div class="span6">{pager}</div><...") 159 * The rendering results will replace the corresponding placeholders in {@link template}. 160 */ 161 public function renderContent() 162 { 163 ob_start(); 164 echo preg_replace_callback("/{(\w+)}/",array($this,'renderSection'),$this->template); 165 ob_end_flush(); 166 } 167 168 /** 169 * Renders a section. |
#16 |
+
–
\limesurvey\framework\zii\widgets\CBaseListView.php(149): CBaseListView->renderContent() 144 { 145 $this->registerClientScript(); 146 147 echo CHtml::openTag($this->tagName,$this->htmlOptions)."\n"; 148 149 $this->renderContent(); 150 $this->renderKeys(); 151 152 echo CHtml::closeTag($this->tagName); 153 } 154 |
#17 |
+
–
\limesurvey\framework\web\CBaseController.php(181): CBaseListView->run() 176 return ob_get_clean(); 177 } 178 else 179 { 180 $widget=$this->createWidget($className,$properties); 181 $widget->run(); 182 return $widget; 183 } 184 } 185 186 /** |
#18 |
+
–
\limesurvey\application\views\admin\quotas\viewquotas_view.php(124): CBaseController->widget("bootstrap.widgets.TbGridView", array("dataProvider" => CArrayDataProvider, "id" => "quota-grid", "emptyText" => "No quotas", "summaryText" => "Displaying {start}-{end} of {count} result(s). <select class="ch...", ...)) 119 ), 120 121 ), 122 'itemsCssClass' =>'table-quotas table-striped table-condensed', 123 'ajaxUpdate' => true, 124 )); 125 ?> 126 </div> 127 <?php endif; ?> 128 129 <?php if (Permission::model()->hasSurveyPermission($oSurvey->getPrimaryKey(), 'quotas','create')):?> |
#19 |
+
–
\limesurvey\framework\web\CBaseController.php(126): require("\limesurvey\application\vie...") 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 } |
#20 |
+
–
\limesurvey\framework\web\CBaseController.php(95): CBaseController->renderInternal("\limesurvey\application\vie...", array("surveyid" => "851717", "iSurveyId" => "851717", "sBaseLang" => "ru", "aLangs" => array("ru"), ...), 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); |
#21 |
+
–
\limesurvey\framework\web\CController.php(869): CBaseController->renderFile("\limesurvey\application\vie...", array("surveyid" => "851717", "iSurveyId" => "851717", "sBaseLang" => "ru", "aLangs" => array("ru"), ...), 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 |
#22 |
+
–
\limesurvey\application\core\Survey_Common_Action.php(303): CController->renderPartial("/admin/quotas/viewquotas_view", array("surveyid" => "851717", "iSurveyId" => "851717", "sBaseLang" => "ru", "aLangs" => array("ru"), ...)) 298 { 299 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) 300 { 301 if (is_numeric($sViewKey)) 302 { 303 Yii::app()->getController()->renderPartial($sViewPath . $viewUrl, $aData); 304 } 305 elseif (is_array($viewUrl)) 306 { 307 foreach ($viewUrl as $aSubData) 308 { |
#23 |
+
–
\limesurvey\application\controllers\admin\quotas.php(648): Survey_Common_Action->_renderWrappedTemplate("quotas", array(0 => "viewquotas_view", "output" => ""), array("surveyid" => "851717", "iSurveyId" => "851717", "sBaseLang" => "ru", "aLangs" => array("ru"), ...)) 643 * @param array $aData Data to be passed on. Optional. 644 */ 645 protected function _renderWrappedTemplate($sAction = 'quotas', $aViewUrls = array(), $aData = array()) 646 { 647 $this->registerScriptFile( 'ADMIN_SCRIPT_PATH', 'quotas.js'); 648 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData); 649 } 650 651 } |
#24 |
+
–
\limesurvey\application\controllers\admin\quotas.php(250): quotas->_renderWrappedTemplate("quotas", array(0 => "viewquotas_view", "output" => ""), array("surveyid" => "851717", "iSurveyId" => "851717", "sBaseLang" => "ru", "aLangs" => array("ru"), ...)) 245 $aData['totalquotas'] = $totalquotas; 246 $aData['totalcompleted'] = $totalcompleted; 247 248 if ($quickreport == false) 249 { 250 $this->_renderWrappedTemplate('quotas', $aViewUrls, $aData); 251 } 252 else 253 { 254 255 //// WHY ??????? |
#25 |
unknown(0): quotas->index("851717", false)
|
#26 |
+
–
\limesurvey\framework\web\actions\CAction.php(109): ReflectionMethod->invokeArgs(quotas, array("851717", false)) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#27 |
+
–
\limesurvey\application\core\Survey_Common_Action.php(96): CAction->runWithParamsInternal(quotas, ReflectionMethod, array("surveyid" => "851717", "sa" => "view", "iSurveyId" => "851717", "iSurveyID" => "851717")) 091 $oMethod = new ReflectionMethod($this, $sDefault); 092 } 093 094 // We're all good to go, let's execute it 095 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 096 return parent::runWithParamsInternal($this, $oMethod, $params); 097 } 098 099 /** 100 * Some functions have different parameters, which are just an alias of the 101 * usual parameters we're getting in the url. This function just populates |
#28 |
+
–
\limesurvey\framework\web\CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "851717", "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; |
#29 |
+
–
\limesurvey\framework\web\CController.php(286): CController->runAction(quotas) 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(); |
#30 |
+
–
\limesurvey\framework\web\CController.php(265): CController->runActionWithFilters(quotas, 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); |
#31 |
+
–
\limesurvey\application\controllers\AdminController.php(177): CController->run("quotas") 172 $this->redirect(array('/admin/authentication/sa/login')); 173 } 174 175 } 176 177 return parent::run($action); 178 } 179 180 /** 181 * Routes all the actions to their respective places 182 * |
#32 |
+
–
\limesurvey\framework\web\CWebApplication.php(282): AdminController->run("quotas") 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))); |
#33 |
+
–
\limesurvey\framework\web\CWebApplication.php(141): CWebApplication->runController("admin/quotas/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. |
#34 |
+
–
\limesurvey\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 /** |
#35 |
+
–
\limesurvey\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 */ |