コード例 #1
0
ファイル: frameview.php プロジェクト: hikaram/utitheme
					<h4 class="h4-label"><?php 
echo CHtml::encode(SlidebarFrames::model()->getAttributeLabel('padding_left'));
?>
:</h4>
				</div>
				<div class="col-md-9">
					<h4><?php 
echo sprintf('%.0f', $model->padding_left);
?>
</h4>
				</div>
			</div>
			<div class="row">
				<div class="col-md-3 text-right">
					<h4 class="h4-label"><?php 
echo CHtml::encode(SlidebarFrames::model()->getAttributeLabel('width'));
?>
:</h4>
				</div>
				<div class="col-md-9">
					<h4><?php 
echo sprintf('%.0f', $model->width);
?>
</h4>
				</div>
			</div>
		</div>
		<div class="form-actions">
			<?php 
if (Yii::app()->user->checkAccess('AdminSlidebarListFrameedit')) {
    ?>
コード例 #2
0
ファイル: active.php プロジェクト: hikaram/utitheme
					<thead>
						<tr>
							<th><?php 
    echo Yii::t('app', 'Изображение');
    ?>
</th>
							<th><?php 
    echo CHtml::encode(SlidebarFramesLang::model()->getAttributeLabel('text'));
    ?>
</th>
							<th><?php 
    echo CHtml::encode(SlidebarFrames::model()->getAttributeLabel('link'));
    ?>
</th>
							<th><?php 
    echo CHtml::encode(SlidebarFrames::model()->getAttributeLabel('status_id'));
    ?>
</th>
							<th><?php 
    echo Yii::t('app', 'Позиция');
    ?>
</th>
							<th><?php 
    echo Yii::t('app', 'Действия');
    ?>
</th>
						</tr>
					</thead>
					<tbody>
						<?php 
    foreach ($carousel->frames as $key => $frame) {