wdCalendar generar color aleatorio al guardar evento
Se edita el archivo "datafeed.php"
Dentro de la función "function addCalendar($st, $et, $sub, $ade){"
$sql = "insert into `jqcalendar` (`subject`, `starttime`, `endtime`, `color` ,`isalldayevent`) values ('"
.mysql_real_escape_string($sub)."', '"
.php2MySqlTime(js2PhpTime($st))."', '"
.php2MySqlTime(js2PhpTime($et))."', '"
.mt_rand(1,21)."', '"
.mysql_real_escape_string($ade)."' )";
Queda así:
(http://t6.pixhost.org/thumbs/3130/28757920_color_aleatorio_eventos.png) (http://www.pixhost.org/show/3130/28757920_color_aleatorio_eventos.png)