mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +09:00
calendar 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5031 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b6c0b99ac0
commit
0be6188c8a
26 changed files with 5557 additions and 3346 deletions
|
|
@ -17,22 +17,9 @@
|
|||
<!--@end-->
|
||||
|
||||
<!--// calendar -->
|
||||
<!--%import("../../../../common/js/calendar.min.js",optimized=false)-->
|
||||
<!--@if($lang_type == 'ko')-->
|
||||
<!--%import("../../../../common/js/calendar-ko.js",optimized=false)-->
|
||||
<!--@elseif($lang_type == 'es')-->
|
||||
<!--%import("../../../../common/js/calendar-es.js",optimized=false)-->
|
||||
<!--@elseif($lang_type == 'ge')-->
|
||||
<!--%import("../../../../common/js/calendar-ge.js",optimized=false)-->
|
||||
<!--@elseif($lang_type == 'ru')-->
|
||||
<!--%import("../../../../common/js/calendar-ru.js",optimized=false)-->
|
||||
<!--@elseif($lang_type == 'zh-CN')-->
|
||||
<!--%import("../../../../common/js/calendar-zh-CN.js",optimized=false)-->
|
||||
<!--@else-->
|
||||
<!--%import("../../../../common/js/calendar-en.js",optimized=false)-->
|
||||
<!--@end-->
|
||||
<!--%import("../../../../common/js/calendar-setup.js",optimized=false)-->
|
||||
<!--%import("../../../../common/css/calendar-system.css",optimized=false)-->
|
||||
<!--%import("../../../../common/js/ui.datepicker.js",optimized=false)-->
|
||||
<!--%import("../../../../common/css/ui.datepicker.css",optimized=false)-->
|
||||
|
||||
|
||||
<form id="fo_insert_member" action="./" method="post" onsubmit="return procFilter(this, modify_info)" <!--@if($member_config->profile_image == 'Y' || $member_config->image_name=='Y' || $member_config->image_mark=='Y')-->enctype="multipart/form-data"<!--@end-->>
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
|
|
@ -130,13 +117,11 @@
|
|||
<tr>
|
||||
<th scope="row">{$lang->birthday}</th>
|
||||
<td>
|
||||
<input type="hidden" name="birthday" id="date_birthday" value="{$member_info->birthday}" />
|
||||
<div class="display_date" id="str_birthday">{zdate($member_info->birthday,"Y-m-d")}</div>
|
||||
|
||||
<input type="hidden" name="birthday" value="{$member_info->birthday}" />
|
||||
<input type="text" class="inputDate" value="{zdate($member_info->birthday,'Y-m-d')}" readonly="readonly" />
|
||||
<p>{$lang->about_birthday}</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
DyCalendar.setup( { firstDay : 0, inputField : "date_birthday", ifFormat : "%Y%m%d", displayArea : "str_birthday", daFormat : "%Y-%m-%d" } );
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
@ -237,11 +222,9 @@
|
|||
<!--// 날짜 입력 -->
|
||||
<!--@elseif($val->column_type == 'date')-->
|
||||
<input type="hidden" name="{$val->column_name}" id="date_{$val->column_name}" value="{$val->value}" />
|
||||
<div class="display_date" id="str_{$val->column_name}">{zdate($val->value,"Y-m-d")}</div>
|
||||
<input type="text" class="inputDate" value="{zdate($val->value,'Y-m-d')}" />
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
DyCalendar.setup( { firstDay : 0, inputField : "date_{$val->column_name}", ifFormat : "%Y%m%d", displayArea : "str_{$val->column_name}", daFormat : "%Y-%m-%d"});
|
||||
</script>
|
||||
|
||||
<!--@end-->
|
||||
|
||||
|
|
@ -257,4 +240,18 @@
|
|||
<a href="{getUrl('act','dispMemberInfo','member_srl','')}" class="button"><span>{$lang->cmd_cancel}</span></a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = { gotoCurrent: false,yearRange:'-100:+10', onSelect:function(){
|
||||
|
||||
$(this).prev('input[type="hidden"]').val(this.value.replace(/-/g,""))}
|
||||
};
|
||||
$.extend(option,$.datepicker.regional['{$lang_type}']);
|
||||
$(".inputDate").datepicker(option);
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
|
||||
<!--#include("./common_footer.html")-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue