1
0

Added Widget to msmain/index: "ExpandedLogHeader"

This commit is contained in:
2014-06-05 10:11:44 +02:00
parent 12b6a3359e
commit 1e8fafebe4
10 changed files with 200 additions and 222 deletions

View File

@@ -0,0 +1,15 @@
<?php
class ExpandedLogHeader extends CWidget {
public $date;
public $caption = '';
public $link = '';
public $content = '';
public function run() {
if ($this->date == null)
$this->date = new DateTime('2000-01-01');
$this->render('expandedLogHeader');
}
}

View File

@@ -11,6 +11,4 @@ class FullProgPreview extends CWidget {
public function run() {
$this->render('fullProgPreview');
}
}
?>
}

View File

@@ -19,6 +19,4 @@ class ThumbnailProgPreview extends CWidget {
$this->render('thumbnailProgPreview');
}
}
?>
}

View File

@@ -0,0 +1,14 @@
<?php
/* @var $this ExpandedLogHeader */
?>
<div class="expCollHeader">
<?php echo MsHtml::collapsedHeader($this->date, $this->caption, $this->link); ?>
<div class="expCollContent">
<p>
<?php echo $this->content; ?>
</p>
</div>
</div>