[pmwiki-users] new recipe: datepicker

Knut Alboldt pmwiki at alboldt.de
Sun Feb 7 12:55:15 CST 2010


done
thanks for the hint

Knut

Am 07.02.2010 18:44, schrieb Hans:
> Sunday, February 7, 2010, 5:24:49 PM, Knut Alboldt wrote:
>
>> fine, I'll be back when I've corrected the erros, could you send me the
>> HTMLHeaderFmt-changes (iI guess you changed it to use<link ...>-tags to
>> the css etc ?
>
> Just now i got this (3 lines, watch for email line breaks):
>
> $HTMLHeaderFmt['datepicker'] = "<script type='text/javascript' language='JavaScript1.2'>".datepicker_translate()."</script>\n"
>    ."<script type='text/javascript' language='JavaScript1.2' src='$FarmPubDirUrl/datepicker/datepicker.js'></script>\n"
>    ."<link rel='stylesheet' type='text/css' href='$FarmPubDirUrl/datepicker/datepicker.css' />\n"
>
> Perhaps the datepicker/ part could be set with a $DatepickerDirUrl
> variable? And this also be used in the $DatapickerImg variable?
> Perhaps like
>
> $DatepickerDirUrl = '$FarmPubDirUrl/datepicker/';
>
> and then use $DatepickerDirUrl in the above $HTMLHeaderFmt ?
>
> cheers,
>    ~Hans
>
>



More information about the pmwiki-users mailing list