update plugin/jquery-ui
This commit is contained in:
parent
11f801c71b
commit
ed70ef2219
1 changed files with 29 additions and 39 deletions
|
|
@ -1,40 +1,30 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||||
|
|
||||||
add_stylesheet('<link type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css" rel="stylesheet" />', 0);
|
add_stylesheet('<link type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/themes/base/jquery-ui.css" rel="stylesheet" />', 0);
|
||||||
add_stylesheet('<link type="text/css" href="'.G5_PLUGIN_URL.'/jquery-ui/style.css">', 0);
|
add_stylesheet('<link type="text/css" href="'.G5_PLUGIN_URL.'/jquery-ui/style.css">', 0);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js"></script>
|
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
jQuery.browser = {};
|
jQuery(function($){
|
||||||
(function () {
|
$.datepicker.regional["ko"] = {
|
||||||
jQuery.browser.msie = false;
|
closeText: "닫기",
|
||||||
jQuery.browser.version = 0;
|
prevText: "이전달",
|
||||||
if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
|
nextText: "다음달",
|
||||||
jQuery.browser.msie = true;
|
currentText: "오늘",
|
||||||
jQuery.browser.version = RegExp.$1;
|
monthNames: ["1월(JAN)","2월(FEB)","3월(MAR)","4월(APR)","5월(MAY)","6월(JUN)", "7월(JUL)","8월(AUG)","9월(SEP)","10월(OCT)","11월(NOV)","12월(DEC)"],
|
||||||
}
|
monthNamesShort: ["1월","2월","3월","4월","5월","6월", "7월","8월","9월","10월","11월","12월"],
|
||||||
})();
|
dayNames: ["일","월","화","수","목","금","토"],
|
||||||
|
dayNamesShort: ["일","월","화","수","목","금","토"],
|
||||||
jQuery(function($){
|
dayNamesMin: ["일","월","화","수","목","금","토"],
|
||||||
$.datepicker.regional["ko"] = {
|
weekHeader: "Wk",
|
||||||
closeText: "닫기",
|
dateFormat: "yymmdd",
|
||||||
prevText: "이전달",
|
firstDay: 0,
|
||||||
nextText: "다음달",
|
isRTL: false,
|
||||||
currentText: "오늘",
|
showMonthAfterYear: true,
|
||||||
monthNames: ["1월(JAN)","2월(FEB)","3월(MAR)","4월(APR)","5월(MAY)","6월(JUN)", "7월(JUL)","8월(AUG)","9월(SEP)","10월(OCT)","11월(NOV)","12월(DEC)"],
|
yearSuffix: ""
|
||||||
monthNamesShort: ["1월","2월","3월","4월","5월","6월", "7월","8월","9월","10월","11월","12월"],
|
};
|
||||||
dayNames: ["일","월","화","수","목","금","토"],
|
$.datepicker.setDefaults($.datepicker.regional["ko"]);
|
||||||
dayNamesShort: ["일","월","화","수","목","금","토"],
|
});
|
||||||
dayNamesMin: ["일","월","화","수","목","금","토"],
|
|
||||||
weekHeader: "Wk",
|
|
||||||
dateFormat: "yymmdd",
|
|
||||||
firstDay: 0,
|
|
||||||
isRTL: false,
|
|
||||||
showMonthAfterYear: true,
|
|
||||||
yearSuffix: ""
|
|
||||||
};
|
|
||||||
$.datepicker.setDefaults($.datepicker.regional["ko"]);
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
Loading…
Reference in a new issue