mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
178 lines
8 KiB
HTML
178 lines
8 KiB
HTML
<config autoescape="on" />
|
|
|
|
<include target="config_header.html" />
|
|
|
|
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/admin/tpl/config_domains_edit/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
|
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
|
</div>
|
|
<section class="section">
|
|
<form action="./" method="post" class="x_form-horizontal" enctype="multipart/form-data">
|
|
<input type="hidden" name="module" value="admin" />
|
|
<input type="hidden" name="act" value="procAdminInsertDomain" />
|
|
<input type="hidden" name="xe_validator_id" value="modules/admin/tpl/config_domains_edit/1" />
|
|
<input type="hidden" name="domain_srl" value="{$domain_info ? $domain_info->domain_srl : ''}" />
|
|
<div class="x_control-group">
|
|
<label class="x_control-label">{$lang->site_title}</label>
|
|
<div class="x_controls">
|
|
<input type="text" name="title" value="{$domain_info ? escape($domain_info->settings->title) : ''}" class="lang_code" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label">{$lang->site_subtitle}</label>
|
|
<div class="x_controls">
|
|
<input type="text" name="subtitle" value="{$domain_info ? escape($domain_info->settings->subtitle) : ''}" class="lang_code" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="domain">{$lang->domain}</label>
|
|
<div class="x_controls">
|
|
<input type="text" name="domain" id="domain" value="{$domain_info ? escape($domain_info->domain) : ''}"/>
|
|
|
|
<label for="is_default_domain" class="x_inline">
|
|
<input type="checkbox" name="is_default_domain" id="is_default_domain" value="Y" checked="checked"|cond="$domain_info && $domain_info->is_default_domain === 'Y'" disabled="disabled"|cond="$domain_info && $domain_info->is_default_domain === 'Y'" /> {$lang->cmd_is_default_domain}
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="http_port">{$lang->cmd_http_port}</label>
|
|
<div class="x_controls">
|
|
<input type="number" name="http_port" id="http_port" size="5" value="{($domain_info && $domain_info->http_port) ? $domain_info->http_port : ''}" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="https_port">{$lang->cmd_https_port}</label>
|
|
<div class="x_controls">
|
|
<input type="number" name="https_port" id="https_port" size="5" value="{($domain_info && $domain_info->https_port) ? $domain_info->https_port : ''}" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="domain_security">{$lang->use_ssl}</label>
|
|
<div class="x_controls">
|
|
<select id="domain_security" name="domain_security">
|
|
<!--@foreach($lang->ssl_options as $key => $val)-->
|
|
<option value="{$key}" selected="selected"|cond="($domain_info && $domain_info->security == $key) || (!$domain_info && config('url.ssl') == $key)" />{$val}</option>
|
|
<!--@endforeach-->
|
|
</select>
|
|
<div class="x_help-block">{lang('admin.about_use_ssl')}</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="index_module_srl">{$lang->cmd_index_module_srl}</label>
|
|
<div class="x_controls">
|
|
<input class="module_search" type="text" id="index_module_srl" name="index_module_srl" value="{$index_module_srl}" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="index_document_srl">{$lang->cmd_index_document_srl}</label>
|
|
<div class="x_controls">
|
|
<input type="number" name="index_document_srl" id="index_document_srl" value="{($domain_info && $domain_info->index_document_srl) ? $domain_info->index_document_srl : ''}"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="default_lang">{$lang->default_lang}</label>
|
|
<div class="x_controls">
|
|
<select name="default_lang" id="default_lang">
|
|
<option value="{$key}" loop="$enabled_lang => $key" selected="selected"|cond="$key == $domain_lang">{$supported_lang[$key]['name']}</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="default_timezone">{$lang->timezone}</label>
|
|
<div class="x_controls">
|
|
<select name="default_timezone">
|
|
<option loop="$timezones => $key,$val" value="{$key}" selected="selected"|cond="$key == $domain_timezone">{$val}</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="meta_keywords">{$lang->site_meta_keywords}</label>
|
|
<div class="x_controls">
|
|
<input type="text" name="meta_keywords" id="meta_keywords" value="{$domain_info ? $domain_info->settings->meta_keywords : ''}" class="lang_code" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="meta_description">{$lang->site_meta_description}</label>
|
|
<div class="x_controls">
|
|
<input type="text" name="meta_description" id="meta_description" value="{$domain_info ? $domain_info->settings->meta_description : ''}" class="lang_code" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="html_header">{$lang->input_header_script}</label>
|
|
<div class="x_controls" style="margin-right:14px">
|
|
<textarea name="html_header" id="html_header" rows="6" style="width:100%">{$domain_info ? $domain_info->settings->html_header : ''}</textarea>
|
|
<div class="x_help-block">{$lang->detail_input_header_script}</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label" for="html_footer">{$lang->input_footer_script}</label>
|
|
<div class="x_controls" style="margin-right:14px">
|
|
<textarea name="html_footer" id="html_footer" rows="6" style="width:100%">{$domain_info ? $domain_info->settings->html_footer : ''}</textarea>
|
|
<div class="x_help-block">{$lang->detail_input_footer_script}</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label">{$lang->allow_use_favicon}</label>
|
|
<div class="x_controls">
|
|
<p id="faviconPreview">
|
|
<img src="{$favicon_url ?: (\RX_BASEURL . 'modules/admin/tpl/img/faviconSample.png')}" alt="Favicon" class="fn1" style="width:16px;height:16px">
|
|
<img src="{$favicon_url ?: (\RX_BASEURL . 'modules/admin/tpl/img/faviconSample.png')}" alt="Favicon" class="fn2" style="width:16px;height:16px">
|
|
</p>
|
|
<label for="delete_favicon" cond="$favicon_url">
|
|
<input type="checkbox" name="delete_favicon" id="delete_favicon" value="1" /> {$lang->cmd_delete}
|
|
</label>
|
|
<input type="file" name="favicon" id="favicon" title="Favicon" />
|
|
<span class="x_help-block">{$lang->about_use_favicon}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label">{$lang->allow_use_mobile_icon}</label>
|
|
<div class="x_controls">
|
|
<p id="mobiconPreview">
|
|
<img src="{$mobicon_url ?: (\RX_BASEURL . 'modules/admin/tpl/img/mobiconSample.png')}" alt="Mobile Home Icon" width="32" height="32" />
|
|
<span>Rhymix</span>
|
|
</p>
|
|
<label for="delete_mobicon" cond="$mobicon_url">
|
|
<input type="checkbox" name="delete_mobicon" id="delete_mobicon" value="1" /> {$lang->cmd_delete}
|
|
</label>
|
|
<input type="file" name="mobicon" id="mobicon" title="Mobile Home Icon" />
|
|
<span class="x_help-block">{$lang->detail_use_mobile_icon}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_control-group">
|
|
<label class="x_control-label">{$lang->cmd_site_default_image}</label>
|
|
<div class="x_controls">
|
|
<p id="default_imagePreview" cond="$default_image_url">
|
|
<img src="{$default_image_url}" alt="Default Image" style="width:200px;height:auto" />
|
|
</p>
|
|
<label for="delete_default_image" cond="$default_image_url">
|
|
<input type="checkbox" name="delete_default_image" id="delete_default_image" value="1" /> {$lang->cmd_delete}
|
|
</label>
|
|
<input type="file" name="default_image" id="default_image" title="Default Image" />
|
|
<span class="x_help-block">{$lang->about_site_default_image}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="x_clearfix btnArea">
|
|
<div class="x_pull-right">
|
|
<button type="submit" class="x_btn x_btn-primary">{$lang->cmd_save}</button>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</section>
|