Exemple #1
0
<div class="page-title-placeholder"></div>
<div class="page-title-fixed-outer">
    <div class="page-title-fixed-inner">';
}
?>
<div class="page-title">
    <?php 
$this->widget('RecordAliasesWidget', array('model' => $model));
$this->renderPartial('_vcrControls', array('model' => $model));
if (Yii::app()->user->checkAccess('ContactsUpdate', $authParams)) {
    if (!empty($model->company) && is_numeric($model->company)) {
        echo CHtml::link('<span></span>', '#', array('class' => 'x2-button icon sync right hint', 'id' => $model->id . '-account-sync', 'title' => Yii::t('contacts', 'Clicking this button will pull any relevant ' . 'fields from the associated {account} record and overwrite the {contact} ' . 'data for those fields.  This operation cannot be reversed.', array('{account}' => $modTitles['account'], '{contact}' => $modTitles['contact'])), 'submit' => array('syncAccount', 'id' => $model->id), 'confirm' => 'Are you sure you want to overwrite this record\'s fields with ' . 'relevant Account data?'));
    }
    echo CHtml::link('', $this->createUrl('update', array('id' => $model->id)), array('class' => 'x2-button icon edit right', 'title' => Yii::t('app', 'Edit {module}', array('{module}' => $modTitles['contact']))));
}
echo X2Html::emailFormButton();
echo X2Html::inlineEditButtons();
?>
</div>
<?php 
if (true) {
    //!IS_ANDROID && !IS_IPAD){
    echo '
    </div>
</div>
        ';
}
?>
<div id="main-column" <?php 
echo $layoutManager->columnWidthStyleAttr(1);
?>