Allow some signup field names to be customized

This commit is contained in:
Kijin Sung 2021-01-29 22:43:17 +09:00
parent 9228d3b8a9
commit 4335da3975
6 changed files with 27 additions and 12 deletions

View file

@ -3,7 +3,7 @@
</div>
<table class="x_table x_table-striped x_table-hover">
<tr loop="$displayDatas => $item">
<th scope="row" ><em style="color:red" cond="$item->required || $item->mustRequired">*</em> {$item->title}</th>
<th scope="row" >{$item->title} <em style="color:red" cond="$item->required || $item->mustRequired">*</em></th>
<td class="text">{$item->value}</td>
</tr>
<tr>

View file

@ -113,7 +113,11 @@
<th scope="row">
<div class="wrap">
<button type="button" class="dragBtn">Move to</button>
<span class="_title" style="display:inline-block;white-space:pre-line;overflow:inherit;width:120px;text-overflow:ellipsis" title="{$item->title}">{$item->title}</span>
<!--@if(in_array($item->name, ['birthday', 'signature', 'profile_image', 'image_name', 'image_mark']))-->
<input class="_title_edit lang_code" type="text" name="{$item->name}_title_edit" value="{$item->title}" placeholder="{lang($item->name)}" />
<!--@else-->
<span class="_title" style="display:inline-block;white-space:pre-line;overflow:inherit;width:120px;text-overflow:ellipsis" title="{$item->title}">{$item->title}</span>
<!--@endif-->
</div>
</th>
<td style="text-align:center">