mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 00:29:58 +09:00
for jquery update
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7388 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b851540b9f
commit
9cca48f2ce
1 changed files with 8 additions and 2 deletions
|
|
@ -75,7 +75,8 @@
|
|||
<th scope="row"><div>{$lang->birthday}</div></th>
|
||||
<td>
|
||||
<input type="hidden" name="birthday" id="date_birthday" value="{$member_info->birthday}" />
|
||||
<input type="text" class="inputDate" value="{zdate($member_info->birthday,'Y-m-d')}" readonly="readonly" />
|
||||
<input type="text" class="inputDate" value="{zdate($member_info->birthday,'Y-m-d',false)}" readonly="readonly" />
|
||||
<span class="button"><input type="button" value="{$lang->cmd_delete}" class="dateRemover" /></span>
|
||||
<p>{$lang->about_birthday}</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -114,7 +115,9 @@
|
|||
<th scope="row"><div>{$lang->limit_date}</div></th>
|
||||
<td>
|
||||
<input type="hidden" name="limit_date" id="date_limit_date" value="{$member_info->limit_date}" />
|
||||
<input type="text" class="inputDate" value="{zdate($member_info->limit_date,'Y-m-d')}" readonly="readonly" />
|
||||
<input type="text" class="inputDate" value="{zdate($member_info->limit_date,'Y-m-d',false)}" readonly="readonly" />
|
||||
<span class="button"><input type="button" value="{$lang->cmd_delete}" class="dateRemover" /></span>
|
||||
|
||||
<p class="clear">{$lang->about_limit_date}</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -275,6 +278,9 @@
|
|||
};
|
||||
$.extend(option,$.datepicker.regional['{$lang_type}']);
|
||||
$(".inputDate").datepicker(option);
|
||||
$(".dateRemover").click(function() {
|
||||
$(this).parent().prevAll('input').val('');
|
||||
return false;});
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue