change default language to en

This commit is contained in:
wlx 2014-05-08 13:31:00 +00:00
parent 045d50424c
commit 42c2cba7bb
1 changed files with 4 additions and 2 deletions

View File

@ -82,11 +82,13 @@ $(document).ready(function(){
<label class="radio inline">
<input type="radio" id="inlineCheckbox1" name="language" value="zh"
<?= isset($this->data['language']) && $this->data['language'] =='zh' ? 'checked="checked"':"" ?>
<?= !isset($this->data['language']) || empty($this->data['language']) ? 'checked="checked"':"" ?>
> zh
</label>
<label class="radio inline">
<input type="radio" id="inlineCheckbox1" name="language" value="en" <?= isset($this->data['language']) && $this->data['language'] =='en' ? 'checked="checked"':"" ?>> en
<input type="radio" id="inlineCheckbox1" name="language" value="en" <?= isset($this->data['language']) && $this->data['language'] =='en' ? 'checked="checked"':"" ?>
<?= !isset($this->data['language']) || empty($this->data['language']) ? 'checked="checked"':"" ?>
> en
</label>
</div>
</div>