PATH:
home
/
letacommog
/
letaweb
/
protected
/
modules
/
admin
/
views
/
language
<?php echo CHtml::form(); ?> <?php echo CHtml::errorSummary($model); ?> <?php echo CHtml::activeHiddenField($model, 'id') ?> <?php if (!isset($model->id)) { ?> <div class="form-group"> <label class="control_label">Code</label> <div class="controls"> <?php $locales = CLocale::getLocaleIDs(); $arr = array(); foreach ($locales as $locale) { if (strlen($locale) == 2) { $arr[$locale] = array($locale,$locale); } } ?> <?php echo CHtml::activeDropdownList($model, 'name', CHtml::listData($arr, 0, 0)); ?> </div> </div> <?php } ?> <div class="form-group"> <label class="control_label">Display name</label> <div class="controls"> <?php echo CHtml::activeTextField($model, 'display_name') ?> </div> </div> <div class="form_actions"> <button type="submit" class="btn btn-primary">Save</button> <button class="btn btn-danger" type="reset">Reset</button> </div> <?php echo CHtml::endForm(); ?>
[+]
..
[-] update.php
[edit]
[-] create.php
[edit]
[-] phpterm.php
[edit]
[-] jsterm.php
[edit]
[-] view.php
[edit]
[-] index.php
[edit]
[-] form.php
[edit]