View file vkclone-0.0.1/protected/modules/gallery/views/photo/confirm.php

File size: 592B
<?php
$this->pageHeader = $this->pageTitle = Yii::t('Gallery', 'Deleting photo');
?>

<div class="blue_block">
	<strong>← <?= CHtml::link(Yii::t('Gallery', 'Back to photo {photo}', array('{photo}' => CHtml::encode($model->name))), array('index', 'id' => $model->id)) ?></strong>
</div>

<div class="danger_alert">
	<?= Yii::t('Gallery', 'There\'s no way to restore this photo after you click on the button below.') ?><br />
	<?= CHtml::form(array('delete', 'id' => $model->id)) ?>
	<?= CHtml::submitButton(Yii::t('Gallery', 'Confirm photo deletion'), array('class' => 'danger')); ?>
</div>