chinese-journal/yii/protected/views/site/langBox.php

8 lines
288 B
PHP
Raw Normal View History

2014-11-22 13:14:22 +00:00
<?php echo CHtml::form(); ?>
<div id="langdrop">
<?php echo CHtml::dropDownList('lang', $currentLang, array(
'en' => 'English', 'ru' => 'Русский', 'cn' => '中文'), array('submit' => array('site/index'))); ?>
</div>
<?php echo CHtml::endForm(); ?>
2015-01-20 20:48:23 +00:00
HaH