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">
|
|
|
|
|
2016-01-01 21:13:33 +01:00
|
|
|
<?php echo MsHtml::pageHeader("Site-log", "Changelog and Blog for mikescher.com"); ?>
|
2014-06-06 19:31:05 +02:00
|
|
|
|
|
|
|
<div class="accordion" id="lca">
|
|
|
|
<?php
|
|
|
|
$i = 0;
|
2014-07-05 21:15:24 +02:00
|
|
|
foreach($logs as $logelem) {
|
2014-06-06 19:31:05 +02:00
|
|
|
$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>
|