public function attributeLabels() { return array('value' => SocialauthModule::t('Value')); }
<?php $this->pageTitle = Yii::app()->name . ' - ' . SocialauthModule::t('Manage social settings'); $this->breadcrumbs = array(SocialauthModule::t('Social settings') => array('/socialauth/backend/main'), SocialauthModule::t('Update {name}', array('{name}' => $model->title))); $this->adminTitle = SocialauthModule::t('Update param "{name}"', array('{name}' => $model->title)); if ($ajax) { ?> <div class="modal-header"> <a class="close" data-dismiss="modal">×</a> <h3><?php echo $this->adminTitle; ?> </h3> </div> <div class="modal-body"> <?php } ?> <div class="form"> <?php $form = $this->beginWidget('CustomForm', array('id' => $this->modelName . '-form', 'enableAjaxValidation' => true, 'htmlOptions' => array('class' => 'white_noborder'))); ?> <p class="note"><?php echo Yii::t('common', 'Fields with <span class="required">*</span> are required.'); ?> </p>