/media/shnoulle/data/webdev/master/application/helpers/replacements_helper.php(462)
450 // (e.g. for email and template functions) 451 function ReplaceFields($text, $fieldsarray, $bReplaceInsertans = true, $staticReplace = true) 452 { 453 454 if ($bReplaceInsertans) { 455 $replacements = array(); 456 foreach ($fieldsarray as $key => $value) { 457 $replacements[substr((string) $key, 1, -1)] = $value; 458 } 459 $text = LimeExpressionManager::ProcessString($text, null, $replacements, 2, 1, false, false, $staticReplace); 460 } else { 461 foreach ($fieldsarray as $key => $value) { 462 $text = str_replace($key, $value, (string) $text); 463 } 464 } 465 return $text; 466 } 467 468 469 /** 470 * passthruReplace() takes a string and looks for {PASSTHRU:myarg} variables 471 * which it then substitutes for parameter data sent in the initial URL and stored 472 * in the session array containing responses 473 * 474 * @param mixed $line string - the string to iterate, and then return
#0 |
+
–
/media/shnoulle/data/webdev/master/application/helpers/replacements_helper.php(462): str_replace("{EXPIRY}", null, "Einladung zu einer Umfrage") 457 $replacements[substr((string) $key, 1, -1)] = $value; 458 } 459 $text = LimeExpressionManager::ProcessString($text, null, $replacements, 2, 1, false, false, $staticReplace); 460 } else { 461 foreach ($fieldsarray as $key => $value) { 462 $text = str_replace($key, $value, (string) $text); 463 } 464 } 465 return $text; 466 } 467 |
#1 |
+
–
/media/shnoulle/data/webdev/master/application/views/admin/token/invite.php(106): ReplaceFields("Einladung
zu einer Umfrage", array("{ADMINNAME}" => "Administrator",
"{ADMINEMAIL}" => "denis@sondages.pro", "{SURVEYNAME}" =>
"Bootstrap Dropdown Demo Survey Dolorem facilis fuga harum accu...",
"{SURVEYDESCRIPTION}" => "", ...), false) 101 $fieldsarray["{ADMINEMAIL}"] = $admin_email; 102 $fieldsarray["{SURVEYNAME}"] = $oSurvey->languagesettings[$language]->surveyls_title; 103 $fieldsarray["{SURVEYDESCRIPTION}"] = $oSurvey->languagesettings[$language]->surveyls_description; 104 $fieldsarray["{EXPIRY}"] = $oSurvey->expires; 105 106 $subject = Replacefields($oSurvey->languagesettings[$language]->surveyls_email_invite_subj, $fieldsarray, false); 107 $textarea = Replacefields($oSurvey->languagesettings[$language]->surveyls_email_invite, $fieldsarray, false); 108 if ($ishtml !== true) { 109 $textarea = str_replace(array('<x>', '</x>'), array(''), (string) $textarea); 110 } 111 ?> |
#2 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CBaseController.php(126): require("/media/shnoulle/data/webdev/master/application/views/admin/token...") 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 } |
#3 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal("/media/shnoulle/data/webdev/master/application/views/admin/token...",
array("sidemenu" => array("state" => false, "token_menu" =>
true, "landOnSideMenuTab" => "settings"), "title_bar" =>
array("title" => "Bootstrap Dropdown Demo Survey Dolorem facilis
fuga harum accu..."), "thissurvey" => array("sid" => 893992,
"owner_id" => 1, "gsid" => 1, "admin" => "Administrator", ...),
"surveyid" => 893992, ...), 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); |
#4 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(872): CBaseController->renderFile("/media/shnoulle/data/webdev/master/application/views/admin/token...",
array("sidemenu" => array("state" => false, "token_menu" =>
true, "landOnSideMenuTab" => "settings"), "title_bar" =>
array("title" => "Bootstrap Dropdown Demo Survey Dolorem facilis
fuga harum accu..."), "thissurvey" => array("sid" => 893992,
"owner_id" => 1, "gsid" => 1, "admin" => "Administrator", ...),
"surveyid" => 893992, ...), 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 |
#5 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/AdminController.php(261): CController->renderPartial("/admin/token/invite",
array("sidemenu" => array("state" => false, "token_menu" =>
true, "landOnSideMenuTab" => "settings"), "title_bar" =>
array("title" => "Bootstrap Dropdown Demo Survey Dolorem facilis
fuga harum accu..."), "thissurvey" => array("sid" => 893992,
"owner_id" => 1, "gsid" => 1, "admin" => "Administrator", ...),
"surveyid" => 893992, ...), true, false) 256 $view = $sModulePath; 257 } 258 } 259 } 260 261 return parent::renderPartial($view, $data, $return, $processOutput); 262 } 263 264 /** 265 * Routes all the actions to their respective places 266 * |
#6 |
+
–
/media/shnoulle/data/webdev/master/application/core/SurveyCommonAction.php(273): AdminController->renderPartial("/admin/token/invite",
array("sidemenu" => array("state" => false, "token_menu" =>
true, "landOnSideMenuTab" => "settings"), "title_bar" =>
array("title" => "Bootstrap Dropdown Demo Survey Dolorem facilis
fuga harum accu..."), "thissurvey" => array("sid" => 893992,
"owner_id" => 1, "gsid" => 1, "admin" => "Administrator", ...),
"surveyid" => 893992, ...), true) 268 $content = ""; 269 270 foreach ($aViewUrls as $sViewKey => $viewUrl) { 271 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) { 272 if (is_numeric($sViewKey)) { 273 $content .= Yii::app()->getController()->renderPartial($sViewPath . $viewUrl, $aData, true); 274 } elseif (is_array($viewUrl)) { 275 foreach ($viewUrl as $aSubData) { 276 $aSubData = array_merge($aData, $aSubData); 277 $content .= Yii::app()->getController()->renderPartial($sViewPath . $sViewKey, $aSubData, true); 278 } |
#7 |
+
–
/media/shnoulle/data/webdev/master/application/core/SurveyCommonAction.php(395): SurveyCommonAction->renderCentralContents("token",
array("invite"), array("sidemenu" => array("state" => false,
"token_menu" => true, "landOnSideMenuTab" => "settings"),
"title_bar" => array("title" => "Bootstrap Dropdown Demo Survey
Dolorem facilis fuga harum accu..."), "thissurvey" => array("sid"
=> 893992, "owner_id" => 1, "gsid" => 1, "admin" =>
"Administrator", ...), "surveyid" => 893992, ...)) 390 $renderFile = $basePath . '/layout_main.php'; 391 } 392 } else { 393 $renderFile = $basePath . '/' . $sRenderFile; 394 } 395 $content = $this->renderCentralContents($sAction, $aViewUrls, $aData); 396 $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true); 397 398 App()->getClientScript()->render($out); 399 echo $out; 400 } |
#8 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/admin/Tokens.php(2926): SurveyCommonAction->renderWrappedTemplate("token",
array("invite"), array("sidemenu" => array("state" => false,
"token_menu" => true, "landOnSideMenuTab" => "settings"),
"title_bar" => array("title" => "Bootstrap Dropdown Demo Survey
Dolorem facilis fuga harum accu..."), "thissurvey" => array("sid"
=> 893992, "owner_id" => 1, "gsid" => 1, "admin" =>
"Administrator", ...), "surveyid" => 893992, ...), false) 2921 2922 if (!empty($aData['surveyid'])) { 2923 $aData['returnUrl'] = Yii::app()->createUrl('admin/tokens/sa/index/surveyid/' . $aData['surveyid']); 2924 } 2925 2926 parent::renderWrappedTemplate($sAction, $aViewUrls, $aData, $sRenderFile); 2927 } 2928 2929 /** 2930 * @return string SQL condition 2931 */ |
#9 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/admin/Tokens.php(3081): Tokens->renderWrappedTemplate("token",
array("invite"), array("sidemenu" => array("state" => false,
"token_menu" => true), "title_bar" => array("title" =>
"Bootstrap Dropdown Demo Survey Dolorem facilis fuga harum accu..."),
"thissurvey" => array("sid" => 893992, "owner_id" => 1, "gsid"
=> 1, "admin" => "Administrator", ...), "surveyid" => 893992,
...)) 3076 '/surveyAdministration/partial/topbar_tokens/rightSideButtons', 3077 $topbarData, 3078 true 3079 ); 3080 3081 $this->renderWrappedTemplate('token', array($sSubAction), $aData); 3082 } 3083 3084 /** 3085 * Reminders that are send are stored in session, so that they 3086 * are not send twice by accident in case of an unpredicted page |
#10 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/admin/Tokens.php(1517): Tokens->showInviteOrReminderEmailForm(893992,
array("de"), array("sidemenu" => array("state" => false,
"token_menu" => true), "title_bar" => array("title" =>
"Bootstrap Dropdown Demo Survey Dolorem facilis fuga harum accu..."),
"thissurvey" => array("sid" => 893992, "owner_id" => 1, "gsid"
=> 1, "admin" => "Administrator", ...), "surveyid" => 893992,
...)) 1512 $aData['topBar']['name'] = 'tokensTopbar_view'; 1513 1514 // TODO: Rename 'ok' to something meaningful. 1515 if (!Yii::app()->request->getPost('ok')) { 1516 $this->clearEmailSessionCache($iSurveyId); 1517 $this->showInviteOrReminderEmailForm($iSurveyId, $aSurveyLangs, $aData); 1518 } else { 1519 $aData['topBar']['hide'] = true; 1520 1521 $SQLemailstatuscondition = $this->getSQLemailstatuscondition(); 1522 $SQLremindercountcondition = $this->getSQLremindercountcondition(); |
#11 |
unknown(0): Tokens->email(893992)
|
#12 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/actions/CAction.php(114): ReflectionMethod->invokeArgs(Tokens, array(893992)) 109 elseif($param->isDefaultValueAvailable()) 110 $ps[]=$param->getDefaultValue(); 111 else 112 return false; 113 } 114 $method->invokeArgs($object,$ps); 115 return true; 116 } 117 } |
#13 |
+
–
/media/shnoulle/data/webdev/master/application/core/SurveyCommonAction.php(83): CAction->runWithParamsInternal(Tokens,
ReflectionMethod, array("r" =>
"admin/tokens/sa/email/surveyid/893992", "sa" => "email", "surveyid"
=> 893992, "iSurveyId" => 893992, ...)) 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 |
#14 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(308): SurveyCommonAction->runWithParams(array("r"
=> "admin/tokens/sa/email/surveyid/893992", "sa" => "email",
"surveyid" => 893992, "iSurveyId" => 893992, ...)) 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; |
#15 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction(Tokens) 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(); |
#16 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(Tokens, 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); |
#17 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/AdminController.php(202): CController->run("tokens") 197 } 198 199 $this->runModuleController($action); 200 201 202 return parent::run($action); 203 } 204 205 /** 206 * Starting with LS4, 3rd party developer can extends any of the LimeSurve controllers. 207 * |
#18 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): AdminController->run("tokens") 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))); |
#19 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/tokens/sa/email/surveyid/893992") 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. |
#20 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/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 /** |
#21 |
+
–
/media/shnoulle/data/webdev/master/index.php(161): CApplication->run() 156 require_once APPPATH . 'core/LSYii_Application' . EXT; 157 158 $config = require_once(APPPATH . 'config/internal' . EXT); 159 160 Yii::$enableIncludePath = false; 161 Yii::createApplication('LSYii_Application', $config)->run(); 162 163 /* End of file index.php */ 164 /* Location: ./index.php */ |