//echo CHtml::link('['.Yii::t('contacts','Show All').']','javascript:void(0)',array('id'=>'showAll','class'=>'right hide','style'=>'text-decoration:none;')); ?> <?php //echo CHtml::link('['.Yii::t('contacts','Hide All').']','javascript:void(0)',array('id'=>'hideAll','class'=>'right','style'=>'text-decoration:none;')); ?> <h2><span class="no-bold"><?php echo Yii::t('accounts', '{module}:', array('{module}' => Modules::displayName(false))); ?> </span> <?php echo CHtml::encode($model->name); ?> </h2> <?php if (Yii::app()->user->checkAccess('AccountsUpdate', $authParams)) { echo X2Html::editRecordButton($model); } echo X2Html::emailFormButton(); echo X2Html::inlineEditButtons(); ?> </div> </div> </div> <div id="main-column" <?php echo $layoutManager->columnWidthStyleAttr(1); ?> > <?php $form = $this->beginWidget('CActiveForm', array('id' => 'accounts-form', 'enableAjaxValidation' => false, 'action' => array('saveChanges', 'id' => $model->id))); $this->widget('DetailView', array('model' => $model));