C:\inetpub\wwwroot\limesurvey\framework\web\helpers\CHtml.php(2104)
2092 $raw=false; 2093 2094 if($raw) 2095 { 2096 foreach($htmlOptions as $name=>$value) 2097 { 2098 if(isset($specialAttributes[$name])) 2099 { 2100 if($value) 2101 $html .= ' ' . $name . '="' . $name . '"'; 2102 } 2103 else if($value!==null) 2104 $html .= ' ' . $name . '="' . $value . '"'; 2105 } 2106 } 2107 else 2108 { 2109 foreach($htmlOptions as $name=>$value) 2110 { 2111 if(isset($specialAttributes[$name])) 2112 { 2113 if($value) 2114 $html .= ' ' . $name . '="' . $name . '"'; 2115 } 2116 else if($value!==null)
| #0 |
+
–
C:\inetpub\wwwroot\limesurvey\framework\web\helpers\CHtml.php(140): CHtml::renderAttributes(array("style"
=> "width: 156px", "encode" => false, "en" => array("selected"
=> true), "name" => "InstallerConfigForm[surveylang]", ...)) 135 * @param boolean $closeTag whether to generate the close tag. 136 * @return string the generated HTML element tag 137 */ 138 public static function tag($tag,$htmlOptions=array(),$content=false,$closeTag=true) 139 { 140 $html='<' . $tag . self::renderAttributes($htmlOptions); 141 if($content===false) 142 return $closeTag ? $html.' />' : $html.'>'; 143 else 144 return $closeTag ? $html.'>'.$content.'</'.$tag.'>' : $html.'>'.$content; 145 } |
| #1 |
+
–
C:\inetpub\wwwroot\limesurvey\framework\web\helpers\CHtml.php(1412): CHtml::tag("select",
array("style" => "width: 156px", "encode" => false, "en" =>
array("selected" => true), "name" =>
"InstallerConfigForm[surveylang]", ...), "
<option value="he">
עברית - Hebre...") 1407 if(isset($htmlOptions['multiple'])) 1408 { 1409 if(substr($htmlOptions['name'],-2)!=='[]') 1410 $htmlOptions['name'].='[]'; 1411 } 1412 return self::tag('select',$htmlOptions,$options); 1413 } 1414 1415 /** 1416 * Generates a list box for a model attribute. 1417 * The model attribute value is used as the selection. |
| #2 |
+
–
C:\inetpub\wwwroot\limesurvey\application\views\installer\optconfig_view.php(73): CHtml::activeDropDownList(InstallerConfigForm,
"surveylang", array("he" => "
עברית - Hebrew", "be"
=>
"Беларускі
...", "mk" =>
"Македонск&...",
"ru" =>
"Русский
- Russian", ...), array("style" => "width: 156px", "encode" =>
false, "en" => array("selected" => true))) 68 <?php 69 foreach(getLanguageData(true, Yii::app()->session['installerLang']) as $langkey => $languagekind) 70 { 71 $languages[htmlspecialchars($langkey)] = sprintf('%s - %s', $languagekind['nativedescription'], $languagekind['description']); 72 } 73 echo CHtml::activeDropDownList($model, 'surveylang', $languages, array('style' => 'width: 156px', 'encode' => false, 'en' => array('selected' => true))); 74 ?> 75 </td> 76 </tr> 77 <tr> 78 <td> </td> |
| #3 |
+
–
C:\inetpub\wwwroot\limesurvey\framework\web\CBaseController.php(127): require("C:\inetpub\wwwroot\limesurvey\application\views\installer\optcon...") 122 $data=$_data_; 123 if($_return_) 124 { 125 ob_start(); 126 ob_implicit_flush(false); 127 require($_viewFile_); 128 return ob_get_clean(); 129 } 130 else 131 require($_viewFile_); 132 } |
| #4 |
+
–
C:\inetpub\wwwroot\limesurvey\framework\web\CBaseController.php(96): CBaseController->renderInternal("C:\inetpub\wwwroot\limesurvey\application\views/installer/optcon...",
array("clang" => Limesurvey_lang, "confirmation" => "Database
<b>limesurvey</b> has been successfully populated.", "title"
=> "Optional settings", "descp" => "Optional settings to give you
a head start", ...), true) 091 { 092 $widgetCount=count($this->_widgetStack); 093 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 094 $content=$renderer->renderFile($this,$viewFile,$data,$return); 095 else 096 $content=$this->renderInternal($viewFile,$data,$return); 097 if(count($this->_widgetStack)===$widgetCount) 098 return $content; 099 else 100 { 101 $widget=end($this->_widgetStack); |
| #5 |
+
–
C:\inetpub\wwwroot\limesurvey\framework\web\CController.php(870): CBaseController->renderFile("C:\inetpub\wwwroot\limesurvey\application\views/installer/optcon...",
array("clang" => Limesurvey_lang, "confirmation" => "Database
<b>limesurvey</b> has been successfully populated.", "title"
=> "Optional settings", "descp" => "Optional settings to give you
a head start", ...), true) 865 */ 866 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 867 { 868 if(($viewFile=$this->getViewFile($view))!==false) 869 { 870 $output=$this->renderFile($viewFile,$data,true); 871 if($processOutput) 872 $output=$this->processOutput($output); 873 if($return) 874 return $output; 875 else |
| #6 |
+
–
C:\inetpub\wwwroot\limesurvey\framework\web\CController.php(783): CController->renderPartial("/installer/optconfig_view",
array("clang" => Limesurvey_lang, "confirmation" => "Database
<b>limesurvey</b> has been successfully populated.", "title"
=> "Optional settings", "descp" => "Optional settings to give you
a head start", ...), true) 778 */ 779 public function render($view,$data=null,$return=false) 780 { 781 if($this->beforeRender($view)) 782 { 783 $output=$this->renderPartial($view,$data,true); 784 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 785 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 786 787 $this->afterRender($view,$output); 788 |
| #7 |
+
–
C:\inetpub\wwwroot\limesurvey\application\controllers\InstallerController.php(657): CController->render("/installer/optconfig_view",
array("clang" => Limesurvey_lang, "confirmation" => "Database
<b>limesurvey</b> has been successfully populated.", "title"
=> "Optional settings", "descp" => "Optional settings to give you
a head start", ...)) 652 } 653 } elseif(empty(Yii::app()->session['configFileWritten'])) { 654 $this->_writeConfigFile(); 655 } 656 657 $this->render('/installer/optconfig_view', $aData); 658 } 659 660 /** 661 * Loads a helper 662 * |
| #8 |
+
–
C:\inetpub\wwwroot\limesurvey\application\controllers\InstallerController.php(82): InstallerController->stepOptionalConfiguration() 77 case 'populatedb': 78 $this->stepPopulateDb(); 79 break; 80 81 case 'optional': 82 $this->stepOptionalConfiguration(); 83 break; 84 85 case 'index' : 86 default : 87 $this->redirect($this->createUrl('installer/welcome')); |
| #9 |
+
–
C:\inetpub\wwwroot\limesurvey\framework\web\CWebApplication.php(276): InstallerController->run("optional") 271 { 272 list($controller,$actionID)=$ca; 273 $oldController=$this->_controller; 274 $this->_controller=$controller; 275 $controller->init(); 276 $controller->run($actionID); 277 $this->_controller=$oldController; 278 } 279 else 280 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 281 array('{route}'=>$route===''?$this->defaultController:$route))); |
| #10 |
+
–
C:\inetpub\wwwroot\limesurvey\framework\web\CWebApplication.php(135): CWebApplication->runController("installer/optional") 130 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 131 $_GET[$name]=$value; 132 } 133 else 134 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 135 $this->runController($route); 136 } 137 138 /** 139 * Registers the core application components. 140 * This method overrides the parent implementation by registering additional core components. |
| #11 |
+
–
C:\inetpub\wwwroot\limesurvey\framework\base\CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
| #12 |
+
–
C:\inetpub\wwwroot\limesurvey\index.php(171): CApplication->run() 166 * 167 */ 168 require_once BASEPATH . 'yii' . EXT; 169 require_once APPPATH . 'core/LSYii_Application' . EXT; 170 171 Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run(); 172 173 /* End of file index.php */ 174 /* Location: ./index.php */ |