本文整理汇总了PHP中X2Html::clearfix方法的典型用法代码示例。如果您正苦于以下问题:PHP X2Html::clearfix方法的具体用法?PHP X2Html::clearfix怎么用?PHP X2Html::clearfix使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类X2Html
的用法示例。
在下文中一共展示了X2Html::clearfix方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
?>
<br><br>
<?php
echo $form->label($model, 'disableAutomaticRecordTagging', array('class' => 'left-label'));
echo X2Html::hint2(Yii::t('admin', 'Enabling action backdating will allow any user to change the automatically set date fields (i.e. create date). While this setting is off, only those with Admin access to the Actions module will be allowed to backdate actions.'));
echo X2Html::clearfix();
echo $form->checkBox($model, 'disableAutomaticRecordTagging');
?>
</div>
<div class="form">
<label class='left-label' for="Admin_historyPrivacy"><?php
echo Yii::t('admin', 'Event/Action History Privacy');
?>
</label><?php
echo X2Html::hint2(Yii::t('admin', 'Default will allow users to see actions/events which are public or assigned to them. User Only will allow users to only see actions/events assigned to them. Group Only will allow users to see actions/events assigned to members of their groups.'));
echo X2Html::clearfix();
echo $form->dropDownList($model, 'historyPrivacy', array('default' => Yii::t('admin', 'Default'), 'user' => Yii::t('admin', 'User Only'), 'group' => Yii::t('admin', 'Group Only')));
?>
<br><br>
<?php
echo Yii::t('admin', 'Choose a privacy setting for the Action History widget and Activity Feed. Please note that any user with Admin level access to the module that the History is on will ignore this setting. Only users with full Admin access will ignore this setting on the Activity Feed.');
?>
</div>
<div class="form">
<?php
echo $form->labelEx($model, 'properCaseNames');
?>
<?php
echo Yii::t('admin', 'Attempt to format Contact names to have proper case?');
?>
<br>