Darius
Založený: 17.10.2008
Príspevky: 4
Zaslal: 2008-11-03 00:03
Návrat hore
Odpovedať s citátom
|
Hi,
Ok, everything works good, until I put the date mask in. When the date mask is in it does not show any values on the screen, when it is gone the dates shows up. Is there a way around this?
Code:
$opts['fdd']['YearlyNext_Test_Date'] = array(
'name' => 'Next Test Date',
'escape' => false,
'select' => 'T',
---> 'datemask' => 'd-m-Y',
'calendar' => true,
'maxlen' => 10,
'sort' => true,
'sql|LF' => 'CONCAT("<span style=\"background-color:",
IF(PMEtable0.YearlyNext_Test_Date<CURDATE(),"#FF0000",""),
"\">", PMEtable0.YearlyNext_Test_Date, "</span>")'
);
]
Thanks
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|