mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Issue 2860 related. Code refactoring.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12646 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7406fd1cd9
commit
835d7a8bc0
8 changed files with 17 additions and 17 deletions
|
|
@ -19,7 +19,7 @@
|
|||
<label for="" class="x_control-label">{$lang->poll_stop_date}</label>
|
||||
<div class="x_controls">
|
||||
<input type="hidden" name="stop_date" id="stop_date" value="{date('Ymd',time()+60*60*24*30)}" />
|
||||
<input type="text" class="inputDate" value="{date('Y-m-d',time()+60*60*24*30)}" readonly="readonly" />
|
||||
<input type="date" class="inputDate" value="{date('Y-m-d',time()+60*60*24*30)}" readonly="readonly" />
|
||||
<script>
|
||||
(function($){
|
||||
$(function(){
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<load target="css/member.css" />
|
||||
<div class="xm">
|
||||
<h2 class="h2">{$lang->member_info}</h2>
|
||||
<h1>{$lang->member_info}</h1>
|
||||
<div class="table even">
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<table class="table table-striped table-hover">
|
||||
<tr loop="$displayDatas => $item">
|
||||
<th scope="row" >{$item->title} <em cond="$item->required || $item->mustRequired">*</em></th>
|
||||
<td class="text">{$item->value}</td>
|
||||
|
|
|
|||
|
|
@ -33,9 +33,10 @@
|
|||
</li>
|
||||
<li loop="$formTags=>$formTag">
|
||||
<label for="{$formTag->name}">{$formTag->title}</label>
|
||||
<div id="{$formTag->name}" cond="$formTag->name != 'signature' && $formTag->type != 'date'" class="tel"|cond="$formTag->type == 'tel'">{$formTag->inputTag}</div>
|
||||
<textarea id="{$formTag->name}" cond="$formTag->name == 'signature'" name="signature" rows="8" cols="42" class="itxx">{$member_info->signature}</textarea>
|
||||
<input id="{$formTag->name}" class="inputText" type="date" name="{$formTag->name}" value="{$oMemberInfo[$formTag->name]}" cond="$formTag->type == 'date'" />
|
||||
<div cond="$formTag->name != 'signature'">{$formTag->inputTag}</div>
|
||||
<div cond="$formTag->name =='signature'">
|
||||
<textarea id="{$formTag->name}" name="signature" rows="8" cols="42" class="itxx">{$member_info->signature}</textarea>
|
||||
</div>
|
||||
</li>
|
||||
<li><label for="mailing" class="db fb al">{$lang->allow_mailing}</label><input id="mailing" type="checkbox" name="allow_mailing" value="Y" class="checkbox" <!--@if($member_info->allow_mailing!='N')-->checked="checked"<!--@end--> /> <p style="color:#666">{$lang->about_allow_mailing}</p></li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -36,10 +36,9 @@
|
|||
<label for="password2">{$lang->password3} <em style="color:red">*</em></label>
|
||||
<input type="password" name="password2" id="password2" value=""/>
|
||||
</li>
|
||||
<li loop="$formTags=>$formTag">
|
||||
<li loop="$formTags=>$formTag" cond="$formTag->name != 'signature'">
|
||||
<label for="{$formTag->name}">{$formTag->title}</label>
|
||||
<div cond="$formTag->name != 'signature' && $formTag->type != 'date'" class="tel"|cond="$formTag->type == 'tel'">{$formTag->inputTag}</div>
|
||||
<input id="{$formTag->name}" class="inputText" type="date" value="{$oMemberInfo[$formTag->name]}" cond="$formTag->type == 'date'" />
|
||||
<div>{$formTag->inputTag}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label>{$lang->allow_mailing}</label>
|
||||
|
|
|
|||
|
|
@ -447,7 +447,7 @@ class memberAdminView extends member
|
|||
{
|
||||
$inputTag = sprintf('<input type="hidden" name="__%s_exist" value="false" />', $formInfo->name);
|
||||
}
|
||||
$inputTag .= sprintf('<input type="file" name="%s" id="%s" value="" accept="image/*" /><p class="x_help-block">%s: %dpx, %s: %dpx</p>',
|
||||
$inputTag .= sprintf('<input type="file" name="%s" id="%s" value="" accept="image/*" /><p class="help-block">%s: %dpx, %s: %dpx</p>',
|
||||
$formInfo->name,
|
||||
$formInfo->name,
|
||||
$lang->{$formInfo->name.'_max_width'},
|
||||
|
|
@ -458,7 +458,7 @@ class memberAdminView extends member
|
|||
else if($formInfo->name == 'birthday')
|
||||
{
|
||||
$formTag->type = 'date';
|
||||
$inputTag = sprintf('<input type="hidden" name="birthday" id="date_birthday" value="%s" /><input type="date" placeholder="YYYY-MM-DD" class="inputDate" id="birthday" value="%s" /> <input type="button" value="%s" class="x_btn dateRemover" />',
|
||||
$inputTag = sprintf('<input type="hidden" name="birthday" id="date_birthday" value="%s" /><input type="date" placeholder="YYYY-MM-DD" class="inputDate" id="birthday" value="%s" /> <input type="button" value="%s" class="btn dateRemover" />',
|
||||
$memberInfo['birthday'],
|
||||
zdate($memberInfo['birthday'], 'Y-m-d', false),
|
||||
$lang->cmd_delete);
|
||||
|
|
@ -598,9 +598,9 @@ class memberAdminView extends member
|
|||
<div class="krZip" style="padding-top:5px">
|
||||
<div id="zone_address_search_%column_name%" style="margin-bottom:10px">
|
||||
<label for="krzip_address1_%column_name%">%msg_kr_address%</label>
|
||||
<span class="x_input-append">
|
||||
<span class="input-append">
|
||||
<input type="text" id="krzip_address1_%column_name%" value="%addr_0%" />
|
||||
<button type="button" class="x_btn">%cmd_search%</button>
|
||||
<button type="button" class="btn">%cmd_search%</button>
|
||||
</span>
|
||||
</div>
|
||||
<div id="zone_address_list_%column_name%" hidden style="margin-bottom:10px">
|
||||
|
|
@ -629,7 +629,7 @@ EOD;
|
|||
$inputTag = preg_replace('@%(\w+)%@e', '$replace[$1]', $template);
|
||||
|
||||
if($extendForm->description)
|
||||
$inputTag .= '<p class="x_help-block">'.htmlspecialchars($extendForm->description).'</p>';
|
||||
$inputTag .= '<p class="help-block">'.htmlspecialchars($extendForm->description).'</p>';
|
||||
}
|
||||
$formTag->inputTag = $inputTag;
|
||||
$formTags[] = $formTag;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<dl class="dl-horizontal">
|
||||
<block loop="$displayDatas => $item">
|
||||
<dt><em cond="$item->required || $item->mustRequired">*</em> {$item->title}</dt>
|
||||
<dd>{$item->value}</dd>
|
||||
<dd>{$item->value} </dd>
|
||||
</block>
|
||||
<dt>{$lang->member_group}</dt>
|
||||
<dd>{implode(', ', $memberInfo['group_list'])}</dd>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="control-group" loop="$formTags=>$formTag" cond="$formTag->name != 'signature'">
|
||||
<label for="" class="control-label">{$formTag->title}</label>
|
||||
<label for="{$formTag->name}" class="control-label">{$formTag->title}</label>
|
||||
<div class="controls">{$formTag->inputTag}</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="description">{$lang->description}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="description" id="description" rows="2" cols="42">{htmlspecialchars($member_info->description)}</textarea>
|
||||
<textarea name="description" id="description" rows="2" cols="42" style="vertical-align:top">{htmlspecialchars($member_info->description)}</textarea>
|
||||
<span class="x_help-inline">{$lang->about_member_description}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue