1
0

Added FullProgPreview to Indexpage

This commit is contained in:
2014-06-04 18:06:38 +02:00
parent fc21232523
commit 12b6a3359e
14 changed files with 436 additions and 211 deletions

View File

@@ -0,0 +1,24 @@
<?php
class ThumbnailProgPreview extends CWidget {
public $caption = '';
public $link = '';
public $enabled = true;
public $description = '';
public $category = '';
public $language = [];
public $starcount = 0;
public $downloads = 0;
public $date = null;
public $image = '';
public $programminglang = '???';
public function run() {
if ($this->date == null)
$this->date = new DateTime('2000-01-01');
$this->render('thumbnailProgPreview');
}
}
?>