本文整理汇总了PHP中X2Html::inlineEditButtons方法的典型用法代码示例。如果您正苦于以下问题:PHP X2Html::inlineEditButtons方法的具体用法?PHP X2Html::inlineEditButtons怎么用?PHP X2Html::inlineEditButtons使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类X2Html
的用法示例。
在下文中一共展示了X2Html::inlineEditButtons方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<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);
?>
>