Added Widget to msmain/index: "ExpandedLogHeader"
This commit is contained in:
15
www/protected/components/widgets/ExpandedLogHeader.php
Normal file
15
www/protected/components/widgets/ExpandedLogHeader.php
Normal 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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user