change default language to en
This commit is contained in:
parent
045d50424c
commit
42c2cba7bb
|
@ -82,11 +82,13 @@ $(document).ready(function(){
|
||||||
<label class="radio inline">
|
<label class="radio inline">
|
||||||
<input type="radio" id="inlineCheckbox1" name="language" value="zh"
|
<input type="radio" id="inlineCheckbox1" name="language" value="zh"
|
||||||
<?= isset($this->data['language']) && $this->data['language'] =='zh' ? 'checked="checked"':"" ?>
|
<?= isset($this->data['language']) && $this->data['language'] =='zh' ? 'checked="checked"':"" ?>
|
||||||
<?= !isset($this->data['language']) || empty($this->data['language']) ? 'checked="checked"':"" ?>
|
|
||||||
> zh
|
> zh
|
||||||
</label>
|
</label>
|
||||||
<label class="radio inline">
|
<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>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue