1
0

Added various things

Translated Log + Short Prog Desc to Eng
Added Category filter to progs
This commit is contained in:
2014-06-30 22:51:59 +02:00
parent ccf18ad491
commit 6e39aefd52
14 changed files with 328 additions and 333 deletions

View File

@@ -1,6 +1,6 @@
<?php
$this->beginWidget('CMarkdown');
$this->beginWidget('CMarkdown', array('purifyOutput'=>true));
echo $content;

View File

@@ -19,7 +19,12 @@
<?php echo $form->errorSummary($model); ?>
<?php echo $form->textFieldControlGroup($model,'date',array('span'=>5, 'value'=>date('Y-m-d'))); ?>
<?php
if ($model->isNewRecord)
echo $form->textFieldControlGroup($model,'date',array('span'=>5, 'value' => date('Y-m-d')));
else
echo $form->textFieldControlGroup($model,'date',array('span'=>5, ));
?>
<?php echo $form->textAreaControlGroup($model,'title',array('rows'=>6,'span'=>8)); ?>

View File

@@ -47,6 +47,7 @@ or <b>=</b>) at the beginning of each of your search values to specify how the c
'id'=>'log-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'ID',
'date',