1
0
www.mikescher.com/www/protected/views/log/index.php

40 lines
751 B
PHP
Raw Normal View History

2014-06-06 19:31:05 +02:00
<?php
/* @var $this MsMainController */
/* @var $logs Log[] */
/* @var $logid integer */
2014-06-10 13:27:17 +02:00
$this->pageTitle = 'Log - ' . Yii::app()->name;
2014-06-06 19:31:05 +02:00
$this->breadcrumbs=
[
'Log'
];
$this->selectedNav = '';
?>
<div class="container">
<?php echo MsHtml::pageHeader("Site-log", "Changelog and Blog for mikescher.de"); ?>
<div class="accordion" id="lca">
<?php
$i = 0;
foreach($logs as $logelem) { //TODO-MS Translate all log things to eng
$i++;
$this->widget('ExpandedLogHeader',
[
'date' => new DateTime($logelem->date),
'caption' => $logelem->title,
'content' => $logelem->content,
'collapseID' => $i,
'collapseOwner' => '#lca',
'collapseOpen' => ($logelem->ID == $logid),
]);
}
?>
</div>
</div>