Changeset 2743 for trunk/admin


Ignore:
Timestamp:
Oct 15, 2008, 6:55:50 AM (16 years ago)
Author:
rub
Message:

Resolved issue 0000893: 404 errors on template-common/lib/ui/i18n/ui.datepicker-en.js

New implementation.

File:
1 edited

Legend:

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

    r2742 r2743  
    11{* $Id$ *}
     2
    23{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
    34{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
    45{known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.datepicker.packed.js"}
    5 {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"}
    66{known_script id="datepicker.js" src=$ROOT_URL|@cat:"template-common/datepicker.js"}
     7
     8{assign var="datepicker_language" value="template-common/lib/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"}
     9
     10{if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists}
     11{known_script id="jquery.ui.datepicker-$lang_info.code" src=$ROOT_URL|@cat:$datepicker_language}
     12{/if}
    713
    814{html_head}
Note: See TracChangeset for help on using the changeset viewer.