mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix #2146 missing input for member signature max height
This commit is contained in:
parent
0fce8eef93
commit
5c8aff893d
2 changed files with 7 additions and 3 deletions
|
|
@ -440,7 +440,7 @@ class MemberAdminController extends Member
|
|||
'profile_image_max_width', 'profile_image_max_height', 'profile_image_max_filesize', 'profile_image_force_ratio',
|
||||
'image_name_max_width', 'image_name_max_height', 'image_name_max_filesize',
|
||||
'image_mark_max_width', 'image_mark_max_height', 'image_mark_max_filesize',
|
||||
'signature_editor_skin', 'sel_editor_colorset', 'signature_html', 'signature_html_retroact', 'member_allow_fileupload'
|
||||
'signature_editor_skin', 'sel_editor_colorset', 'signature_max_height', 'signature_html', 'signature_html_retroact', 'member_allow_fileupload'
|
||||
);
|
||||
|
||||
$list_order = Context::get('list_order');
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@
|
|||
</p>
|
||||
<!--@if($item->name === 'profile_image')-->
|
||||
<p class="x_help-block">
|
||||
<label class="x_inline">{$lang->cmd_image_force_ratio}</label>
|
||||
<label class="x_inline">{$lang->cmd_image_force_ratio}</label>
|
||||
<label class="x_inline"><input type="radio" name="profile_image_force_ratio" value="Y" checked="checked"|cond="$config->profile_image_force_ratio !== 'N'" /> {$lang->cmd_yes}</label>
|
||||
<label class="x_inline"><input type="radio" name="profile_image_force_ratio" value="N" checked="checked"|cond="$config->profile_image_force_ratio === 'N'" /> {$lang->cmd_no}</label>
|
||||
</p>
|
||||
|
|
@ -196,6 +196,10 @@
|
|||
<!--@end-->
|
||||
</select>
|
||||
<select name="sel_editor_colorset" id="sel_editor_colorset" style="display:none"></select>
|
||||
<p class="x_help-block">
|
||||
<label class="x_inline" for="signature_max_height">{$lang->signature_max_height}</label>
|
||||
<input type="number" min="0" name="signature_max_height" id="signature_max_height" value="{$config->signature_max_height ?? 100}" /> px
|
||||
</p>
|
||||
<p class="x_help-block">
|
||||
<label class="x_inline">{lang('allow_html')}</label>
|
||||
<label class="x_inline"><input type="radio" name="signature_html" id="signature_html_yes" value="Y" checked="checked"|cond="$config->signature_html != 'N'" /> {$lang->cmd_yes}</label>
|
||||
|
|
@ -211,7 +215,7 @@
|
|||
</p>
|
||||
<script>
|
||||
getEditorSkinColorList('{$config->signature_editor_skin}','{$config->sel_editor_colorset}');
|
||||
|
||||
|
||||
if(!$('#signature_html_no').is(':checked'))
|
||||
{
|
||||
$('#signature_html_retroact').hide();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue