Просмотр файла vkclone-0.0.1/protected/modules/forums/views/topic/confirm.php

Размер файла: 640B
<?php
$this->pageHeader = $this->pageTitle = Yii::t('Forums', 'Deleting topic');
?>

<div class="blue_block">
	<strong>← <?= CHtml::link(Yii::t('Forums', 'Back to topic'), array('index', 'id' => $model->id)) ?></strong>
</div>

<div class="danger_alert">
	<strong><?= Yii::t('Forums', 'Total {n} post|Total {n} posts', array($model->total_posts)) ?></strong><br />
	<?= Yii::t('Forums', 'There\'s no way to restore all posts after you click on the button below.') ?><br />
	<?= CHtml::form(array('delete', 'id' => $model->id)) ?>
	<?= CHtml::submitButton(Yii::t('Forums', 'Confirm topic deletion'), array('class' => 'danger')); ?>
</div>