/app/instancesWeb/limesurvey/www/application/views/admin/usergroup/usergroupbar_view.php(19)
07 <div class="col-lg-6 col-sm-8"> 08 09 <!-- Add --> 10 <?php if (Permission::model()->hasGlobalPermission('usergroups','create') && isset($usergroupbar['returnbutton']['url'])):?> 11 <a class="btn btn-default" href="<?php echo $this->createUrl("admin/usergroups/sa/add"); ?>" role="button"> 12 <span class="icon-add text-success"></span> 13 <?php eT("Add new user group"); ?> 14 </a> 15 <?php endif; ?> 16 17 <!-- Mail to all Members --> 18 <?php if(isset($usergroupbar['edit'])): ?> 19 <a class="btn btn-default" href="<?php echo $this->createUrl("admin/usergroups/sa/mail/ugid/".$userGroup->ugid); ?>" role="button"> 20 <span class="icon-invite text-success"></span> 21 <?php eT("Mail to all Members"); ?> 22 </a> 23 <?php endif;?> 24 25 <!-- Edit current user group --> 26 <?php if(isset($usergroupbar['edit']) && (Yii::app()->session['loginID'] == $userGroup->owner_id || Permission::model()->hasGlobalPermission('superadmin','read')) ):?> 27 <a class="btn btn-default" href="<?php echo $this->createUrl("admin/usergroups/sa/edit/ugid/".$userGroup->ugid); ?>" role="button"> 28 <span class="fa fa-pencil text-success"></span> 29 <?php eT("Edit current user group"); ?> 30 </a> 31 <?php endif;?>
#0 |
+
–
/app/instancesWeb/limesurvey/www/framework/web/CBaseController.php(126): require("/app/instancesWeb/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 } |
#1 |
+
–
/app/instancesWeb/limesurvey/www/framework/web/CBaseController.php(95): CBaseController->renderInternal("/app/instancesWeb/limesurvey/www/application/views/admin/usergro...", array("ugid" => 1, "imageurl" => "/themes/admin/Sea_Green/images/", "usergroupid" => "1", "groupfound" => true, ...), 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 |
+
–
/app/instancesWeb/limesurvey/www/framework/web/CController.php(872): CBaseController->renderFile("/app/instancesWeb/limesurvey/www/application/views/admin/usergro...", array("ugid" => 1, "imageurl" => "/themes/admin/Sea_Green/images/", "usergroupid" => "1", "groupfound" => true, ...), 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 |
#3 |
+
–
/app/instancesWeb/limesurvey/www/application/core/Survey_Common_Action.php(1185): CController->renderPartial("/admin/usergroup/usergroupbar_view", array("ugid" => 1, "imageurl" => "/themes/admin/Sea_Green/images/", "usergroupid" => "1", "groupfound" => true, ...)) 1180 if (isset($aData['usergroupbar']['closebutton']['url'])) { 1181 $sAlternativeUrl = $aData['usergroupbar']['closebutton']['url']; 1182 $aData['usergroupbar']['closebutton']['url'] = Yii::app()->request->getUrlReferrer(Yii::app()->createUrl($sAlternativeUrl)); 1183 } 1184 1185 $this->getController()->renderPartial('/admin/usergroup/usergroupbar_view', $data); 1186 } 1187 } 1188 1189 /** 1190 * @param string $extractdir |
#4 |
+
–
/app/instancesWeb/limesurvey/www/application/views/admin/super/layout_main.php(12): Survey_Common_Action->_userGroupBar(array("ugid" => 1, "imageurl" => "/themes/admin/Sea_Green/images/", "usergroupid" => "1", "groupfound" => true, ...)) 07 //headers will be generated with the template file /admin/super/header.php 08 $this->_showHeaders($aData); 09 //The adminmenu bar will be generated from /admin/super/adminmenu.php 10 $this->_showadminmenu($aData); 11 // Generated through /admin/usergroup/usergroupbar_view 12 $this->_userGroupBar($aData); 13 echo "<!-- BEGIN LAYOUT_MAIN -->"; 14 // Generated through /admin/super/fullpagebar_view 15 $this->_fullpagebar($aData); 16 17 $this->_updatenotification(); |
#5 |
+
–
/app/instancesWeb/limesurvey/www/application/core/Survey_Common_Action.php(241): require("/app/instancesWeb/limesurvey/www/application/views/admin/super/l...") 236 } 237 238 if ($_return_) { 239 ob_start(); 240 ob_implicit_flush(0); 241 require($_viewFile_); 242 return ob_get_clean(); 243 } else { 244 require($_viewFile_); 245 } 246 } |
#6 |
+
–
/app/instancesWeb/limesurvey/www/application/core/Survey_Common_Action.php(347): Survey_Common_Action->renderInternal("/app/instancesWeb/limesurvey/www/application/views/admin/super/l...", array("content" => "<div class="col-lg-12 list-surveys">
<div class="pagetitle h...", "aData" => array("ugid" => 1, "imageurl" => "/themes/admin/Sea_Green/images/", "usergroupid" => "1", "groupfound" => true, ...)), true) 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 } 352 |
#7 |
+
–
/app/instancesWeb/limesurvey/www/application/controllers/admin/usergroups.php(411): Survey_Common_Action->_renderWrappedTemplate("usergroup", array("viewUserGroup_view"), array("ugid" => 1, "imageurl" => "/themes/admin/Sea_Green/images/", "usergroupid" => "1", "groupfound" => true, ...), 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 } |
#8 |
+
–
/app/instancesWeb/limesurvey/www/application/controllers/admin/usergroups.php(343): Usergroups->_renderWrappedTemplate("usergroup", array("viewUserGroup_view"), array("ugid" => 1, "imageurl" => "/themes/admin/Sea_Green/images/", "usergroupid" => "1", "groupfound" => true, ...)) 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 |
#9 |
unknown(0): Usergroups->index("1", false)
|
#10 |
+
–
/app/instancesWeb/limesurvey/www/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(Usergroups, array("1", 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 } |
#11 |
+
–
/app/instancesWeb/limesurvey/www/application/core/Survey_Common_Action.php(83): CAction->runWithParamsInternal(Usergroups, ReflectionMethod, array("ugid" => "1", "sa" => "view", "iUserGroupId" => "1")) 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 |
#12 |
+
–
/app/instancesWeb/limesurvey/www/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("ugid" => "1", "sa" => "view", "iUserGroupId" => "1")) 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; |
#13 |
+
–
/app/instancesWeb/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(); |
#14 |
+
–
/app/instancesWeb/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); |
#15 |
+
–
/app/instancesWeb/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 * |
#16 |
+
–
/app/instancesWeb/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))); |
#17 |
+
–
/app/instancesWeb/limesurvey/www/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/usergroups/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. |
#18 |
+
–
/app/instancesWeb/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 /** |
#19 |
+
–
/app/instancesWeb/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 */ |
Profiling Summary Report (Time: 0.08896s, Memory: 4,157KB) | |||||
---|---|---|---|---|---|
Procedure | Count | Total (s) | Avg. (s) | Min. (s) | Max. (s) |
system.db.CDbCommand.query(SELECT * FROM lime_user_in_groups AS a LEFT JOIN lime_user_groups ug on a.ugid=ug.ugid INNER JOIN lime_users AS b ON a.uid = b.uid WHERE a.ugid = 1 ORDER BY b.users_name) | 1 | 0.00402 | 0.00402 | 0.00402 | 0.00402 |
system.db.CDbCommand.query(SELECT COUNT(*) FROM `lime_surveys` `t` WHERE active = 'Y') | 1 | 0.00258 | 0.00258 | 0.00258 | 0.00258 |
system.db.CDbCommand.query(SELECT * FROM `lime_settings_global` `t`) | 2 | 0.00199 | 0.00100 | 0.00098 | 0.00102 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_notifications`) | 1 | 0.00157 | 0.00157 | 0.00157 | 0.00157 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_surveys`) | 1 | 0.00138 | 0.00138 | 0.00138 | 0.00138 |
system.db.CDbCommand.execute(UPDATE `lime_notifications` SET `id`=:yp0, `entity`=:yp1, `entity_id`=:yp2, `title`=:yp3, `message`=:yp4, `status`=:yp5, `importance`=:yp6, `display_class`=:yp7, `hash`=:yp8, `created`=:yp9, `first_read`=:yp10 WHERE `lime_notifications`.`id`=33. Bound with :yp0=33, :yp1='user', :yp2=1, :yp3='SSL not enforced', :yp4='<span class="fa fa-exclamation-circle text-warning"></span> Warning: Please enforce SSL encrpytion in Global settings/Security after SSL is properly configured for your webserver.', :yp5='new', :yp6=1, :yp7='default', :yp8='72d109bee95d1381831c7f2e8eade340a523f9702f5ec2c7cc2d25726bec3e9a', :yp9='2019-09-11 10:33:08', :yp10='2019-09-23 09:44:54') | 1 | 0.00123 | 0.00123 | 0.00123 | 0.00123 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_settings_global`) | 1 | 0.00119 | 0.00119 | 0.00119 | 0.00119 |
system.db.CDbCommand.query(SELECT a.uid, a.users_name, a.full_name FROM lime_users AS a LEFT JOIN (SELECT uid AS id FROM lime_user_in_groups WHERE ugid = 1) AS b ON a.uid = b.id WHERE id IS NULL ORDER BY a.users_name) | 1 | 0.00106 | 0.00106 | 0.00106 | 0.00106 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_users`) | 1 | 0.00094 | 0.00094 | 0.00094 | 0.00094 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_tutorials`) | 1 | 0.00094 | 0.00094 | 0.00094 | 0.00094 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_surveys`) | 1 | 0.00090 | 0.00090 | 0.00090 | 0.00090 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_permissions`) | 1 | 0.00087 | 0.00087 | 0.00087 | 0.00087 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_user_groups`) | 1 | 0.00083 | 0.00083 | 0.00083 | 0.00083 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_plugins`) | 1 | 0.00081 | 0.00081 | 0.00081 | 0.00081 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_asset_version`) | 1 | 0.00081 | 0.00081 | 0.00081 | 0.00081 |
system.db.CDbCommand.query(SELECT COUNT(*) FROM `lime_notifications` `t` WHERE (entity =:uentity AND entity_id=:uentity_id) AND (importance = 3). Bound with :uentity='user', :uentity_id='1') | 1 | 0.00074 | 0.00074 | 0.00074 | 0.00074 |
system.db.CDbCommand.query(SHOW FULL COLUMNS FROM `lime_user_in_groups`) | 1 | 0.00074 | 0.00074 | 0.00074 | 0.00074 |
system.db.CDbCommand.query(SELECT a.ugid, a.name, a.owner_id, a.description, b.uid FROM lime_user_groups AS a LEFT JOIN lime_user_in_groups AS b ON a.ugid = b.ugid WHERE a.ugid = :ugid ORDER BY name. Bound with :ugid='1') | 1 | 0.00072 | 0.00072 | 0.00072 | 0.00072 |
system.db.CDbCommand.query(SELECT * FROM `lime_permissions` `t` WHERE `t`.`entity_id`=:yp0 AND `t`.`entity`=:yp1 AND `t`.`uid`=:yp2 AND `t`.`permission`=:yp3 LIMIT 1. Bound with :yp0=0, :yp1='global', :yp2=1, :yp3='superadmin') | 1 | 0.00069 | 0.00069 | 0.00069 | 0.00069 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_users`) | 1 | 0.00069 | 0.00069 | 0.00069 | 0.00069 |
system.db.CDbCommand.query(SELECT * FROM `lime_notifications` `t` WHERE `t`.`hash`=:yp0 LIMIT 1. Bound with :yp0='72d109bee95d1381831c7f2e8eade340a523f9702f5ec2c7cc2d25726bec3e9a') | 1 | 0.00066 | 0.00066 | 0.00066 | 0.00066 |
system.db.CDbCommand.query(SELECT * FROM `lime_settings_global` `t` WHERE stg_name=:name LIMIT 1. Bound with :name='DBVersion') | 1 | 0.00065 | 0.00065 | 0.00065 | 0.00065 |
system.db.CDbCommand.query(SELECT COUNT(*) FROM `lime_notifications` `t` WHERE (entity =:uentity AND entity_id=:uentity_id) AND (status = 'new'). Bound with :uentity='user', :uentity_id='1') | 1 | 0.00064 | 0.00064 | 0.00064 | 0.00064 |
system.db.CDbCommand.query(SELECT * FROM `lime_asset_version` `t` WHERE path = :path LIMIT 1. Bound with :path='/app/instancesWeb/limesurvey/www/application/extensions/LimeScript/assets/script.js') | 1 | 0.00061 | 0.00061 | 0.00061 | 0.00061 |
system.db.CDbCommand.query(SELECT COUNT(*) FROM `lime_users` `t`) | 1 | 0.00061 | 0.00061 | 0.00061 | 0.00061 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_settings_global`) | 1 | 0.00060 | 0.00060 | 0.00060 | 0.00060 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_user_groups`) | 1 | 0.00059 | 0.00059 | 0.00059 | 0.00059 |
system.db.CDbCommand.query(SELECT * FROM `lime_asset_version` `t` WHERE path = :path LIMIT 1. Bound with :path='/app/instancesWeb/limesurvey/www/application/extensions/FlashMessage/assets') | 1 | 0.00059 | 0.00059 | 0.00059 | 0.00059 |
system.db.CDbCommand.query(SELECT COUNT(*) FROM `lime_notifications` `t` WHERE entity =:uentity AND entity_id=:uentity_id. Bound with :uentity='user', :uentity_id='1') | 1 | 0.00059 | 0.00059 | 0.00059 | 0.00059 |
system.db.CDbCommand.query(SELECT * FROM `lime_user_in_groups` `t` WHERE `t`.`ugid`=:yp0 AND (uid=:uid) LIMIT 1. Bound with :yp0='1', :uid=1) | 1 | 0.00055 | 0.00055 | 0.00055 | 0.00055 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_notifications`) | 1 | 0.00054 | 0.00054 | 0.00054 | 0.00054 |
system.db.CDbCommand.query(SELECT * FROM `lime_user_groups` `t` WHERE `t`.`ugid`=1 LIMIT 1) | 1 | 0.00054 | 0.00054 | 0.00054 | 0.00054 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_plugins`) | 1 | 0.00054 | 0.00054 | 0.00054 | 0.00054 |
system.db.CDbCommand.query(SELECT * FROM `lime_plugins` `t` WHERE `t`.`active`=:yp0. Bound with :yp0=1) | 1 | 0.00054 | 0.00054 | 0.00054 | 0.00054 |
system.db.CDbCommand.query(SELECT * FROM `lime_tutorials` `t` WHERE active=1) | 1 | 0.00053 | 0.00053 | 0.00053 | 0.00053 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_tutorials`) | 1 | 0.00052 | 0.00052 | 0.00052 | 0.00052 |
system.db.CDbCommand.query(SELECT COUNT(*) FROM `lime_surveys` `t`) | 1 | 0.00052 | 0.00052 | 0.00052 | 0.00052 |
system.db.CDbCommand.query(SELECT `ugid` FROM `lime_user_groups` WHERE ugid = :ugid LIMIT 1. Bound with :ugid='1') | 1 | 0.00049 | 0.00049 | 0.00049 | 0.00049 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_user_in_groups`) | 1 | 0.00047 | 0.00047 | 0.00047 | 0.00047 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_asset_version`) | 1 | 0.00045 | 0.00045 | 0.00045 | 0.00045 |
system.db.CDbCommand.query(SHOW CREATE TABLE `lime_permissions`) | 1 | 0.00045 | 0.00045 | 0.00045 | 0.00045 |