hello,
I tried subitting a bug report, but I am getting a php error.
The problem is that the phpMyEdit-mce-cal extension generates HTML code to setup the jscalendar using double quotes for integer values (eg. firstDay) confusing jsCal(at least on my setup). There is also a missing space between id and name attributes in HTML.
I propose the enclosed patch
Thanks for this useful project
Regards
Marco
patch against phpMyEdit-mce-cal.class.php v 1.6 2006-09-16 18:43:47 nepto:
| Code: |
469c469
< echo 'name="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="';
---
> echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="';
494c494,500
< echo "\t",str_pad($ck1, 15),' : "',$cv1,'",',"\n";
---
> if(is_int($cv1)){
> echo "\t",str_pad($ck1, 15),' : ',$cv1,',',"\n";
> }else if(is_bool($cv1)){
> echo "\t",str_pad($ck1, 15),' : ',$cv1?'true':'false',',',"\n";
> }else{
> echo "\t",str_pad($ck1, 15),' : "',$cv1,'",',"\n";
> }
|
|