/var/www/limesurvey.?????.????/www/framework/base/CComponent.php(614) : eval()'d code(1)
#0 |
+
–
/var/www/limesurvey.?????.????/www/framework/base/CComponent.php(614): eval() 609 if(is_string($_expression_)) 610 { 611 extract($_data_); 612 try 613 { 614 return eval('return ' . $_expression_ . ';'); 615 } 616 catch (ParseError $e) 617 { 618 return false; 619 } |
#1 |
+
–
/var/www/limesurvey.?????.????/www/framework/zii/widgets/grid/CDataColumn.php(142): CComponent->evaluateExpression("$data->owner->users_name", array("data" => UserGroup, "row" => 2)) 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 } |
#2 |
+
–
/var/www/limesurvey.?????.????/www/framework/zii/widgets/grid/CGridColumn.php(231): CDataColumn->getDataCellContent(2) 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. |
#3 |
+
–
/var/www/limesurvey.?????.????/www/framework/zii/widgets/grid/CGridColumn.php(154): CGridColumn->renderDataCellContent(2, UserGroup) 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. |
#4 |
+
–
/var/www/limesurvey.?????.????/www/framework/zii/widgets/grid/CGridView.php(639): CGridColumn->renderDataCell(2) 634 * @param integer $row 635 * @since 1.1.16 636 */ 637 protected function renderDataCell($column, $row) 638 { 639 $column->renderDataCell($row); 640 } 641 642 /** 643 * @return boolean whether the table should render a footer. 644 * This is true if any of the {@link columns} has a true {@link CGridColumn::hasFooter} value. |
#5 |
+
–
/var/www/limesurvey.?????.????/www/framework/zii/widgets/grid/CGridView.php(623): CGridView->renderDataCell(TbDataColumn, 2) 618 $htmlOptions['class']=$class; 619 } 620 621 echo CHtml::openTag('tr', $htmlOptions)."\n"; 622 foreach($this->columns as $column) 623 $this->renderDataCell($column, $row); 624 echo "</tr>\n"; 625 } 626 627 /** 628 * A seam for people extending CGridView to be able to hook onto the data cell rendering process. |
#6 |
+
–
/var/www/limesurvey.?????.????/www/framework/zii/widgets/grid/CGridView.php(579): CGridView->renderTableRow(2) 574 echo "<tbody>\n"; 575 576 if($n>0) 577 { 578 for($row=0;$row<$n;++$row) 579 $this->renderTableRow($row); 580 } 581 else 582 { 583 echo '<tr><td colspan="'.count($this->columns).'" class="empty">'; 584 $this->renderEmptyText(); |
#7 |
+
–
/var/www/limesurvey.?????.????/www/framework/zii/widgets/grid/CGridView.php(489): CGridView->renderTableBody() 484 if($this->dataProvider->getItemCount()>0 || $this->showTableOnEmpty) 485 { 486 echo "<table class=\"{$this->itemsCssClass}\">\n"; 487 $this->renderTableHeader(); 488 ob_start(); 489 $this->renderTableBody(); 490 $body=ob_get_clean(); 491 $this->renderTableFooter(); 492 echo $body; // TFOOT must appear before TBODY according to the standard. 493 echo "</table>"; 494 } |
#8 |
+
–
/var/www/limesurvey.?????.????/www/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 |
#9 |
unknown(0): CBaseListView->renderSection(array("{items}", "items"))
|
#10 |
+
–
/var/www/limesurvey.?????.????/www/framework/zii/widgets/CBaseListView.php(164): preg_replace_callback("/{(\w+)}/", array(TbGridView, "renderSection"), "{items}
<div id='tokenListPager'><div class="col-sm-4" id="massi...") 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. |
#11 |
+
–
/var/www/limesurvey.?????.????/www/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 |
#12 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/CBaseController.php(182): CBaseListView->run() 177 return ob_get_clean(); 178 } 179 else 180 { 181 $widget=$this->createWidget($className,$properties); 182 $widget->run(); 183 return $widget; 184 } 185 } 186 187 /** |
#13 |
+
–
/var/www/limesurvey.?????.????/www/application/views/admin/usergroup/usergroups_view.php(85): CBaseController->widget("bootstrap.widgets.TbGridView",
array("dataProvider" => CActiveDataProvider, "id" =>
"usergroups-grid-mine", "emptyText" => "Aucun groupe
d'utilisateurs n'a été trouvé.", "template" =>
"{items}
<div id='tokenListPager'><div class="col-sm-4" id="massi...",
...)) 80 81 ), 82 83 'htmlOptions'=>array('style'=>'cursor: pointer;', 'class'=>'hoverAction'), 84 'selectionChanged'=>"function(id){window.location='" . Yii::app()->urlManager->createUrl('admin/usergroups/sa/view/ugid' ) . '/' . "' + $.fn.yiiGridView.getSelection(id.split(',', 1));}", 85 'ajaxUpdate' => 'usergroups-grid-mine', 86 )); 87 ?> 88 </div> 89 </div> 90 |
#14 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/CBaseController.php(126): require("/var/www/limesurvey.?????.????/www/application/views/admin/usergro...") 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 } |
#15 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/CBaseController.php(95): CBaseController->renderInternal("/var/www/limesurvey.?????.????/www/application/views/admin/usergro...",
array("ugid" => false, "imageurl" =>
"/themes/admin/Sea_Green/images/", "model" => UserGroup,
"usergroupbar" => array("returnbutton" => array("url" =>
"admin/index", "text" => "Retour vers l’interface
d’administration")), ...), 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); |
#16 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/CController.php(872): CBaseController->renderFile("/var/www/limesurvey.?????.????/www/application/views/admin/usergro...",
array("ugid" => false, "imageurl" =>
"/themes/admin/Sea_Green/images/", "model" => UserGroup,
"usergroupbar" => array("returnbutton" => array("url" =>
"admin/index", "text" => "Retour vers l’interface
d’administration")), ...), 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 |
#17 |
+
–
/var/www/limesurvey.?????.????/www/application/core/Survey_Common_Action.php(273): CController->renderPartial("/admin/usergroup/usergroups_view",
array("ugid" => false, "imageurl" =>
"/themes/admin/Sea_Green/images/", "model" => UserGroup,
"usergroupbar" => array("returnbutton" => array("url" =>
"admin/index", "text" => "Retour vers l’interface
d’administration")), ...), true) 268 if (is_numeric($sViewKey)) { 269 $content .= Yii::app()->getController()->renderPartial($sViewPath.$viewUrl, $aData, true); 270 } elseif (is_array($viewUrl)) { 271 foreach ($viewUrl as $aSubData) { 272 $aSubData = array_merge($aData, $aSubData); 273 $content .= Yii::app()->getController()->renderPartial($sViewPath.$sViewKey, $aSubData, true); 274 } 275 } 276 } else { 277 switch ($sViewKey) { 278 //// We'll use some Bootstrap alerts, and call them inside each correct view. |
#18 |
+
–
/var/www/limesurvey.?????.????/www/application/core/Survey_Common_Action.php(346): Survey_Common_Action->renderCentralContents("usergroup",
array("usergroups_view" => array(array())), array("ugid" =>
false, "imageurl" => "/themes/admin/Sea_Green/images/", "model" =>
UserGroup, "usergroupbar" => array("returnbutton" => array("url"
=> "admin/index", "text" => "Retour vers l’interface
d’administration")), ...)) 341 } 342 } else { 343 $renderFile = $basePath.'/'.$sRenderFile; 344 } 345 346 $content = $this->renderCentralContents($sAction, $aViewUrls, $aData); 347 $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true); 348 349 App()->getClientScript()->render($out); 350 echo $out; 351 } |
#19 |
+
–
/var/www/limesurvey.?????.????/www/application/controllers/admin/usergroups.php(411): Survey_Common_Action->_renderWrappedTemplate("usergroup",
array("usergroups_view" => array(array())), array("ugid" =>
false, "imageurl" => "/themes/admin/Sea_Green/images/", "model" =>
UserGroup, "usergroupbar" => array("returnbutton" => array("url"
=> "admin/index", "text" => "Retour vers l’interface
d’administration")), ...), false) 406 { 407 App()->getClientScript()->registerPackage('jquery-tablesorter'); 408 App()->getClientScript()->registerScriptFile(App()->getConfig('adminscripts').'users.js'); 409 $aData['display']['menu_bars']['user_group'] = true; 410 411 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData, $sRenderFile); 412 } 413 } |
#20 |
+
–
/var/www/limesurvey.?????.????/www/application/controllers/admin/usergroups.php(343): Usergroups->_renderWrappedTemplate("usergroup",
array("usergroups_view" => array(array())), array("ugid" =>
false, "imageurl" => "/themes/admin/Sea_Green/images/", "model" =>
UserGroup, "usergroupbar" => array("returnbutton" => array("url"
=> "admin/index", "text" => "Retour vers l’interface
d’administration")), ...)) 338 } 339 340 if (!empty($header)) { 341 return array($aViewUrls, $aData); 342 } else { 343 $this->_renderWrappedTemplate('usergroup', $aViewUrls, $aData); 344 } 345 } 346 347 /** 348 * @todo Doc |
#21 |
unknown(0): Usergroups->index(false, false)
|
#22 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(Usergroups, array(false, 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 } |
#23 |
+
–
/var/www/limesurvey.?????.????/www/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(Usergroups, ReflectionMethod, array("sa" => "index")) 78 $oMethod = new ReflectionMethod($this, $sDefault); 79 } 80 81 // We're all good to go, let's execute it 82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 83 return parent::runWithParamsInternal($this, $oMethod, $params); 84 } 85 86 /** 87 * Some functions have different parameters, which are just an alias of the 88 * usual parameters we're getting in the url. This function just populates |
#24 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "index")) 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; |
#25 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/CController.php(286): CController->runAction(Usergroups) 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(); |
#26 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/CController.php(265): CController->runActionWithFilters(Usergroups, 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); |
#27 |
+
–
/var/www/limesurvey.?????.????/www/application/controllers/AdminController.php(158): CController->run("usergroups") 153 $this->redirect(array('/admin/authentication/sa/login')); 154 } 155 } 156 } 157 158 return parent::run($action); 159 } 160 161 /** 162 * Routes all the actions to their respective places 163 * |
#28 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/CWebApplication.php(282): AdminController->run("usergroups") 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))); |
#29 |
+
–
/var/www/limesurvey.?????.????/www/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/usergroups/sa/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. |
#30 |
+
–
/var/www/limesurvey.?????.????/www/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 /** |
#31 |
+
–
/var/www/limesurvey.?????.????/www/index.php(194): CApplication->run() 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |