/homepages/12/d330113348/htdocs/outils/limesurvey/application/views/admin/emailtemplates/email_language_template_tab.php(12)
01 02 <div id='<?php echo "tab-$grouplang-$tab"; ?>' class="tab-pane fade in <?php echo $active; ?>"> 03 <div class='form-group'> 04 <div class='col-sm-6 col-sm-offset-2'> 05 <?php echo CHtml::link(sprintf(gT("Validate expression in %s"),$details['title']),array('admin/validate','sa'=>'email','sid'=>$surveyid,'lang'=>$grouplang,'type'=>$tab),array('title'=>$details['title'],"target"=>"dialog")); ?> 06 </div> 07 </div> 08 09 <div class='form-group'> 10 <label class='col-sm-2 control-label' for='email_<?php echo $tab; ?>_subj_<?php echo $grouplang; ?>'><?php echo $details['subject'] ?></label> 11 <div class='col-sm-6'> 12 <?php echo CHtml::textField("email_{$tab}_subj_{$grouplang}",$esrow->$details['field']['subject'],array('class' => 'form-control', 'size'=>80)); ?> 13 </div> 14 <div class='col-sm-1'> 15 <?php echo CHtml::button(gT("Reset"),array('class'=>'fillin btn btn-default','data-target'=>"email_{$tab}_subj_{$grouplang}",'data-value'=>$details['default']['subject'])); ?> 16 </div> 17 </div> 18 19 <div class='form-group'> 20 <label class='col-sm-2 control-label' for='email_<?php echo $tab; ?>_<?php echo $grouplang; ?>'><?php echo $details['body']; ?></label> 21 <div class='col-sm-6'> 22 <?php echo CHtml::textArea("email_{$tab}_{$grouplang}",$esrow->$details['field']['body'],array('cols'=>80,'rows'=>20, 'class'=>'form-control')); ?> 23 <?php echo getEditor("email-$tab","email_{$tab}_$grouplang", $details['body'].'('.$grouplang.')',$surveyid,'','','editemailtemplates'); ?> 24 </div>
#0 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CBaseController.php(126): require("/homepages/12/d330113348/htdocs/outils/limesurvey/application/vi...") 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 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CBaseController.php(95): CBaseController->renderInternal("/homepages/12/d330113348/htdocs/outils/limesurvey/application/vi...", array("ishtml" => false, "surveyid" => "12268", "esrow" => SurveyLanguageSetting, "grouplang" => "fr", ...), 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 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CController.php(869): CBaseController->renderFile("/homepages/12/d330113348/htdocs/outils/limesurvey/application/vi...", array("ishtml" => false, "surveyid" => "12268", "esrow" => SurveyLanguageSetting, "grouplang" => "fr", ...), 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 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/application/views/admin/emailtemplates/email_language_tab.php(114): CController->renderPartial("/admin/emailtemplates/email_language_template_tab", array("ishtml" => false, "surveyid" => "12268", "esrow" => SurveyLanguageSetting, "grouplang" => "fr", ...)) 109 <?php 110 $count = 0; 111 $active = 'active'; 112 foreach ($tabs as $tab => $details) 113 { 114 $this->renderPartial('/admin/emailtemplates/email_language_template_tab', compact('ishtml', 'surveyid' , 'esrow', 'grouplang', 'tab', 'details', 'active')); 115 if($count == 0){ $active = ''; $count++;} 116 } 117 ?> 118 </div> 119 </div> |
#4 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CBaseController.php(126): require("/homepages/12/d330113348/htdocs/outils/limesurvey/application/vi...") 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 } |
#5 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CBaseController.php(95): CBaseController->renderInternal("/homepages/12/d330113348/htdocs/outils/limesurvey/application/vi...", array("surveyinfo" => array("template" => "default", "language" => "fr", "sid" => "12268", "owner_id" => "1", ...), "ishtml" => false, "surveyid" => "12268", "grouplang" => "fr", ...), 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); |
#6 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CController.php(869): CBaseController->renderFile("/homepages/12/d330113348/htdocs/outils/limesurvey/application/vi...", array("surveyinfo" => array("template" => "default", "language" => "fr", "sid" => "12268", "owner_id" => "1", ...), "ishtml" => false, "surveyid" => "12268", "grouplang" => "fr", ...), 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 |
#7 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/application/views/admin/emailtemplates/emailtemplates_view.php(64): CController->renderPartial("/admin/emailtemplates/email_language_tab", array("surveyinfo" => array("template" => "default", "language" => "fr", "sid" => "12268", "owner_id" => "1", ...), "ishtml" => false, "surveyid" => "12268", "grouplang" => "fr", ...)) 59 if ($ishtml == true) 60 { 61 $aDefaultTexts['admin_detailed_notification']=$aDefaultTexts['admin_detailed_notification_css'].conditionalNewlineToBreak($aDefaultTexts['admin_detailed_notification'],$ishtml); 62 } 63 64 $this->renderPartial('/admin/emailtemplates/email_language_tab', compact('surveyinfo', 'ishtml', 'surveyid', 'grouplang', 'bplang', 'esrow', 'aDefaultTexts', 'active')); 65 66 if($count == 0) 67 { 68 $count++; 69 $active = ''; |
#8 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CBaseController.php(126): require("/homepages/12/d330113348/htdocs/outils/limesurvey/application/vi...") 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 } |
#9 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CBaseController.php(95): CBaseController->renderInternal("/homepages/12/d330113348/htdocs/outils/limesurvey/application/vi...", array("attrib" => array(SurveyLanguageSetting), "bplangs" => array("fr"), "defaulttexts" => array(array("admin_detailed_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME} avec r...", "admin_detailed_notification" => "Bonjour,
Une nouvelle réponse a été soumise pour votre quest...", "admin_detailed_notification_css" => "<style type="text/css">
.printouttable {
margin:1em auto...", "admin_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME}", ...)), "sidemenu" => array("state" => false), ...), 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); |
#10 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CController.php(869): CBaseController->renderFile("/homepages/12/d330113348/htdocs/outils/limesurvey/application/vi...", array("attrib" => array(SurveyLanguageSetting), "bplangs" => array("fr"), "defaulttexts" => array(array("admin_detailed_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME} avec r...", "admin_detailed_notification" => "Bonjour,
Une nouvelle réponse a été soumise pour votre quest...", "admin_detailed_notification_css" => "<style type="text/css">
.printouttable {
margin:1em auto...", "admin_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME}", ...)), "sidemenu" => array("state" => false), ...), 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 |
#11 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/application/core/Survey_Common_Action.php(314): CController->renderPartial("/admin/emailtemplates/emailtemplates_view", array("attrib" => array(SurveyLanguageSetting), "bplangs" => array("fr"), "defaulttexts" => array(array("admin_detailed_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME} avec r...", "admin_detailed_notification" => "Bonjour,
Une nouvelle réponse a été soumise pour votre quest...", "admin_detailed_notification_css" => "<style type="text/css">
.printouttable {
margin:1em auto...", "admin_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME}", ...)), "sidemenu" => array("state" => false), ...)) 309 { 310 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) 311 { 312 if (is_numeric($sViewKey)) 313 { 314 Yii::app()->getController()->renderPartial($sViewPath . $viewUrl, $aData); 315 } 316 elseif (is_array($viewUrl)) 317 { 318 foreach ($viewUrl as $aSubData) 319 { |
#12 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/application/controllers/admin/emailtemplates.php(182): Survey_Common_Action->_renderWrappedTemplate("emailtemplates", array("output" => "<script type="text/javascript" src="/third_party/ckeditor/ckedit...", 0 => "emailtemplates_view"), array("attrib" => array(SurveyLanguageSetting), "bplangs" => array("fr"), "defaulttexts" => array(array("admin_detailed_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME} avec r...", "admin_detailed_notification" => "Bonjour,
Une nouvelle réponse a été soumise pour votre quest...", "admin_detailed_notification_css" => "<style type="text/css">
.printouttable {
margin:1em auto...", "admin_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME}", ...)), "sidemenu" => array("state" => false), ...)) 177 */ 178 protected function _renderWrappedTemplate($sAction = 'emailtemplates', $aViewUrls = array(), $aData = array()) 179 { 180 $this->registerScriptFile( 'ADMIN_SCRIPT_PATH', 'emailtemplates.js'); 181 $aData['display']['menu_bars']['surveysummary'] = 'editemailtemplates'; 182 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData); 183 } 184 185 } |
#13 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/application/controllers/admin/emailtemplates.php(89): emailtemplates->_renderWrappedTemplate("emailtemplates", array("output" => "<script type="text/javascript" src="/third_party/ckeditor/ckedit...", 0 => "emailtemplates_view"), array("attrib" => array(SurveyLanguageSetting), "bplangs" => array("fr"), "defaulttexts" => array(array("admin_detailed_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME} avec r...", "admin_detailed_notification" => "Bonjour,
Une nouvelle réponse a été soumise pour votre quest...", "admin_detailed_notification_css" => "<style type="text/css">
.printouttable {
margin:1em auto...", "admin_notification_subject" => "Soumission de réponse pour le questionnaire {SURVEYNAME}", ...)), "sidemenu" => array("state" => false), ...)) 84 $aData['surveybar']['closebutton']['url'] = 'admin/survey/sa/view/surveyid/'.$iSurveyId; // Close button 85 86 $aData['surveyid'] = $iSurveyId; 87 $aData['ishtml'] = $ishtml; 88 $aData['grplangs'] = $grplangs; 89 $this->_renderWrappedTemplate('emailtemplates', array('output' => $sEditScript, 'emailtemplates_view'), $aData); 90 } 91 92 /** 93 * Function responsible to process any change in email template. 94 * @return |
#14 |
unknown(0): emailtemplates->index("12268")
|
#15 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(emailtemplates, array("12268")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#16 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/application/core/Survey_Common_Action.php(101): CAction->runWithParamsInternal(emailtemplates, ReflectionMethod, array("surveyid" => "12268", "sa" => "index", "iSurveyId" => "12268", "iSurveyID" => "12268")) 096 $oMethod = new ReflectionMethod($this, $sDefault); 097 } 098 099 // We're all good to go, let's execute it 100 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 101 return parent::runWithParamsInternal($this, $oMethod, $params); 102 } 103 104 /** 105 * Some functions have different parameters, which are just an alias of the 106 * usual parameters we're getting in the url. This function just populates |
#17 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("surveyid" => "12268", "sa" => "index", "iSurveyId" => "12268", "iSurveyID" => "12268")) 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; |
#18 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CController.php(286): CController->runAction(emailtemplates) 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(); |
#19 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(emailtemplates, 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); |
#20 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/application/controllers/AdminController.php(160): CController->run("emailtemplates") 155 $this->redirect(array('/admin/authentication/sa/login')); 156 } 157 158 } 159 160 return parent::run($action); 161 } 162 163 /** 164 * Routes all the actions to their respective places 165 * |
#21 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("emailtemplates") 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))); |
#22 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/emailtemplates/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. |
#23 |
+
–
/homepages/12/d330113348/htdocs/outils/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 /** |
#24 |
+
–
/homepages/12/d330113348/htdocs/outils/limesurvey/index.php(212): CApplication->run() 207 die (sprintf('%s should be writable by the webserver (766 or 776).', $runtimePath)); 208 } 209 } 210 211 Yii::$enableIncludePath = false; 212 Yii::createApplication('LSYii_Application', $config)->run(); 213 214 /* End of file index.php */ 215 /* Location: ./index.php */ |