Changeset 2635


Ignore:
Timestamp:
Oct 2, 2008, 12:40:09 AM (16 years ago)
Author:
rub
Message:

Purpose of datepicker with jQuery.

Use {html_head}
year are empty not 0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/include/datepicker.inc.tpl

    r2632 r2635  
    33{known_script id="jquery.ui.datepicker-$lang_info.code" src=$ROOT_URL|@cat:"template-common/lib/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"}
    44
     5{html_head}
    56<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/theme/{$themeconf.theme}/datepicker.css">
     7{/html_head}
    68
    79{literal}
     
    9092            if (date.length == 0)
    9193            {
    92               $(year).val("0");
     94              $(year).val("");
    9395              $(month).val("0");
    9496              $(day).val("0");
     
    121123</script>
    122124{/literal}
    123 
    124 
Note: See TracChangeset for help on using the changeset viewer.