Просмотр файла vkclone-0.0.1/protected/modules/gallery/views/photo/_photo.php

Размер файла: 865B
<div class="post">
	<?php if ($this->checkAccess(array(
		'gallery.photo.updatePhoto',
		'author' => array('author' => $data->user_id),
		))): ?>
		<div class="inline_actions"><?= CHtml::link(Theme::icon(Theme::ICON_IEDIT), array('photo/update', 'id' => $data->id)) ?></div>
	<?php endif; ?>
	<?= CHtml::link(CHtml::image($data->getWebPath(72), CHtml::encode($data->name)), array('photo/index', 'id' => $data->id)) ?><br />
	<?php if (FALSE /*$data->album_id !== null*/): ?>
		<?= Theme::icon(Theme::ICON_FOLDER) ?> <?= CHtml::link(CHtml::encode($data->album->name), array('album/index', 'id' => $data->album->id)) ?>
	<?php endif; ?>
	<?= /*CHtml::tag('span', array('style' => 'background-color: #FFE97F'), Theme::username($data->user))*/"<!---->" ?>
	<strong><?= CHtml::link(CHtml::encode($data->name), array('photo/index', 'id' => $data->id)) ?></strong>
</div>