1
0
www.mikescher.com/www/protected/views/blogpost/view.php

34 lines
691 B
PHP
Raw Permalink Normal View History

2014-07-11 19:29:19 +02:00
<?php
/* @var $this BlogPostController */
/* @var $model BlogPost */
?>
<?php
$this->pageTitle = 'Blogpost: ' . $model->Title . ' - ' . Yii::app()->name;
$this->breadcrumbs = array(
'Blog' => array('/blog'),
$model->Title,
);
?>
<div class="container">
2014-07-19 18:25:35 +02:00
<?php echo MsHtml::pageHeader("Blog", "My personal programming blog"); ?>
<div class="blogOwner well markdownOwner" id="markdownAjaxContent">
2014-07-11 19:29:19 +02:00
<?php echo ParsedownHelper::parse($model->Content); ?>
2014-07-19 18:25:35 +02:00
<div class="blogFooter">
<div class="blogFooterLeft">
<?php echo $model->Title; ?>
</div>
<div class="blogFooterRight">
<?php echo $model->getDateTime()->format('d.m.Y'); ?>
</div>
</div>
2014-07-11 19:29:19 +02:00
</div>
</div>