mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 16:04:24 +03:00
39 lines
1.5 KiB
Smarty
39 lines
1.5 KiB
Smarty
{**
|
|
* Настройка пользовательских полей в админке
|
|
*
|
|
* @styles css/modals.css
|
|
*}
|
|
|
|
{extends file='modals/modal_base.tpl'}
|
|
|
|
{block name='modal_id'}userfield_form{/block}
|
|
{block name='modal_class'}modal-userfield js-modal-default{/block}
|
|
{block name='modal_title'}{$aLang.user_field_admin_title_add}{/block}
|
|
|
|
{block name='modal_content'}
|
|
<form>
|
|
<p><label for="user_fields_form_type">{$aLang.userfield_form_type}:</label>
|
|
<select id="user_fields_form_type" class="input-text width-full">
|
|
<option value=""></option>
|
|
{foreach $aUserFieldTypes as $sFieldType}
|
|
<option value="{$sFieldType}">{$sFieldType}</option>
|
|
{/foreach}
|
|
</select></p>
|
|
|
|
<p><label for="user_fields_form_name">{$aLang.userfield_form_name}:</label>
|
|
<input type="text" id="user_fields_form_name" class="input-text width-full" /></p>
|
|
|
|
<p><label for="user_fields_form_title">{$aLang.userfield_form_title}:</label>
|
|
<input type="text" id="user_fields_form_title" class="input-text width-full" /></p>
|
|
|
|
<p><label for="user_fields_form_pattern">{$aLang.userfield_form_pattern}:</label>
|
|
<input type="text" id="user_fields_form_pattern" class="input-text width-full" /></p>
|
|
|
|
<input type="hidden" id="user_fields_form_action" />
|
|
<input type="hidden" id="user_fields_form_id" />
|
|
</form>
|
|
{/block}
|
|
|
|
{block name='modal_footer_begin'}
|
|
<button type="button" onclick="ls.userfield.applyForm(); return false;" class="button button-primary">{$aLang.user_field_add}</button>
|
|
{/block} |