mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Make SEO info, header/footer text, and some other fields full width #2516
This commit is contained in:
parent
f980ea58c6
commit
3aa0d38a67
9 changed files with 31 additions and 30 deletions
|
|
@ -89,7 +89,7 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="mobile_viewport">{$lang->mobile_viewport}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="mobile_viewport" id="mobile_viewport" value="{$mobile_viewport}" style="min-width: 80%" />
|
||||
<input type="text" name="mobile_viewport" id="mobile_viewport" value="{$mobile_viewport}" class="x_full-width" />
|
||||
<p class="x_help-block">{$lang->about_mobile_viewport} <a href="javascript:restoreDefaultViewport()">{$lang->restore_default_viewport}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="debug_log_filename">{$lang->debug_log_filename}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="debug_log_filename" id="debug_log_filename" value="{$debug_log_filename}" style="min-width: 80%" />
|
||||
<input type="text" name="debug_log_filename" id="debug_log_filename" value="{$debug_log_filename}" class="x_full-width" />
|
||||
<p class="x_help-block">{$lang->about_debug_log_filename}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -103,29 +103,29 @@
|
|||
<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" />
|
||||
<input type="text" name="meta_keywords" id="meta_keywords" value="{$domain_info ? $domain_info->settings->meta_keywords : ''}" class="x_full-width 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" />
|
||||
<input type="text" name="meta_description" id="meta_description" value="{$domain_info ? $domain_info->settings->meta_description : ''}" class="x_full-width 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_controls">
|
||||
<textarea name="html_header" id="html_header" rows="6" class="x_full-width">{$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_controls">
|
||||
<textarea name="html_footer" id="html_footer" rows="6" class="x_full-width">{$domain_info ? $domain_info->settings->html_footer : ''}</textarea>
|
||||
<div class="x_help-block">{$lang->detail_input_footer_script}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,22 +12,22 @@
|
|||
<input type="hidden" name="xe_validator_id" value="modules/admin/tpl/config_security/1" />
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="mediafilter_whitelist">{$lang->mediafilter_whitelist}</label>
|
||||
<div class="x_controls" style="margin-right:14px">
|
||||
<textarea name="mediafilter_whitelist" id="mediafilter_whitelist" rows="8" style="width:100%;">{$mediafilter_whitelist}</textarea>
|
||||
<div class="x_controls">
|
||||
<textarea name="mediafilter_whitelist" id="mediafilter_whitelist" rows="8" class="x_full-width">{$mediafilter_whitelist}</textarea>
|
||||
<p class="x_help-block">{$lang->about_mediafilter_whitelist}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="mediafilter_classes">{$lang->mediafilter_classes}</label>
|
||||
<div class="x_controls" style="margin-right:14px">
|
||||
<textarea name="mediafilter_classes" id="mediafilter_classes" rows="4" style="width:100%;">{$mediafilter_classes}</textarea>
|
||||
<div class="x_controls">
|
||||
<textarea name="mediafilter_classes" id="mediafilter_classes" rows="4" class="x_full-width">{$mediafilter_classes}</textarea>
|
||||
<p class="x_help-block">{$lang->about_mediafilter_classes}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="robot_user_agents">{$lang->robot_user_agents}</label>
|
||||
<div class="x_controls" style="margin-right:14px">
|
||||
<textarea name="robot_user_agents" id="robot_user_agents" rows="4" style="width:100%;">{$robot_user_agents}</textarea>
|
||||
<div class="x_controls">
|
||||
<textarea name="robot_user_agents" id="robot_user_agents" rows="4" class="x_full-width">{$robot_user_agents}</textarea>
|
||||
<p class="x_help-block">{$lang->about_robot_user_agents}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -13,35 +13,35 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="seo_main_title">{$lang->seo_main_title}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="seo_main_title" id="seo_main_title" value="{$seo_main_title}" style="min-width: 80%" class="lang_code" />
|
||||
<input type="text" name="seo_main_title" id="seo_main_title" value="{$seo_main_title}" class="x_full-width lang_code" />
|
||||
<p class="x_help-block">{$lang->about_seo_main_title}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="seo_subpage_title">{$lang->seo_subpage_title}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="seo_subpage_title" id="seo_subpage_title" value="{$seo_subpage_title}" style="min-width: 80%" class="lang_code" />
|
||||
<input type="text" name="seo_subpage_title" id="seo_subpage_title" value="{$seo_subpage_title}" class="x_full-width lang_code" />
|
||||
<p class="x_help-block">{$lang->about_seo_subpage_title}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="seo_document_title">{$lang->seo_document_title}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="seo_document_title" id="seo_document_title" value="{$seo_document_title}" style="min-width: 80%" class="lang_code" />
|
||||
<input type="text" name="seo_document_title" id="seo_document_title" value="{$seo_document_title}" class="x_full-width lang_code" />
|
||||
<p class="x_help-block">{$lang->about_seo_document_title}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="site_meta_keywords">{$lang->site_meta_keywords}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="site_meta_keywords" id="site_meta_keywords" value="{$site_meta_keywords}" style="min-width: 80%" class="lang_code" />
|
||||
<input type="text" name="site_meta_keywords" id="site_meta_keywords" value="{$site_meta_keywords}" class="x_full-width lang_code" />
|
||||
<p class="x_help-block">{$lang->about_site_meta_keywords}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="site_meta_description">{$lang->site_meta_description}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="site_meta_description" id="site_meta_description" value="{$site_meta_description}" style="min-width: 80%" class="lang_code" />
|
||||
<input type="text" name="site_meta_description" id="site_meta_description" value="{$site_meta_description}" class="x_full-width lang_code" />
|
||||
<p class="x_help-block">{$lang->about_site_meta_description}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@
|
|||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="sitelock_message">{$lang->sitelock_message}</label>
|
||||
<div class="x_controls" style="margin-right:14px">
|
||||
<textarea name="sitelock_message" id="sitelock_message" rows="6" style="width:100%;">{$sitelock_message}</textarea>
|
||||
<div class="x_controls">
|
||||
<textarea name="sitelock_message" id="sitelock_message" rows="6" class="x_full-width">{$sitelock_message}</textarea>
|
||||
<span class="x_help-block">{$lang->sitelock_message_help}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -310,7 +310,8 @@
|
|||
.x input.x_full-width,
|
||||
.x textarea.x_full-width,
|
||||
.x .x_uneditable-input.x_full-width{width:calc(100% - 14px)}
|
||||
.x textarea{height:auto}
|
||||
.x textarea.x_full-width.lang_code{width:calc(100% - 42px)}
|
||||
.x textarea{height:auto;min-height:80px;resize:vertical}
|
||||
.x textarea,
|
||||
.x input[type="text"],
|
||||
.x input[type="password"],
|
||||
|
|
|
|||
|
|
@ -52,13 +52,13 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="lang_meta_keywords">{$lang->meta_keywords}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="meta_keywords" id="meta_keywords" value="{$module_info->meta_keywords}" class="lang_code" />
|
||||
<input type="text" name="meta_keywords" id="meta_keywords" value="{$module_info->meta_keywords}" class="x_full-width lang_code" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="lang_meta_description">{$lang->meta_description}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="meta_description" id="meta_description" value="{$module_info->meta_description}" class="lang_code" />
|
||||
<input type="text" name="meta_description" id="meta_description" value="{$module_info->meta_description}" class="x_full-width lang_code" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
|
|
@ -104,14 +104,14 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="lang_header_text">{$lang->header_text}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="header_text" id="header_text" class="lang_code" rows="8" cols="42">{$module_info->header_text}</textarea>
|
||||
<textarea name="header_text" id="header_text" class="x_full-width lang_code" rows="8" cols="42">{$module_info->header_text}</textarea>
|
||||
<p id="header_text_help" class="x_help-block">{$lang->about_header_text}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="lang_footer_text">{$lang->footer_text}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="footer_text" id="footer_text" class="lang_code" rows="8" cols="42">{$module_info->footer_text}</textarea>
|
||||
<textarea name="footer_text" id="footer_text" class="x_full-width lang_code" rows="8" cols="42">{$module_info->footer_text}</textarea>
|
||||
<p id="footer_text_help" class="x_help-block">{$lang->about_footer_text}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -178,14 +178,14 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="lang_mobile_header_text">{$lang->mobile_header_text}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="mobile_header_text" id="mobile_header_text" class="lang_code" rows="8" cols="42">{$module_info->mobile_header_text}</textarea>
|
||||
<textarea name="mobile_header_text" id="mobile_header_text" class="x_full-width lang_code" rows="8" cols="42">{$module_info->mobile_header_text}</textarea>
|
||||
<p id="mobile_header_text_help" class="x_help-block">{$lang->about_mobile_header_text}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="lang_mobile_footer_text">{$lang->mobile_footer_text}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="mobile_footer_text" id="mobile_footer_text" class="lang_code" rows="8" cols="42">{$module_info->mobile_footer_text}</textarea>
|
||||
<textarea name="mobile_footer_text" id="mobile_footer_text" class="x_full-width lang_code" rows="8" cols="42">{$module_info->mobile_footer_text}</textarea>
|
||||
<p id="mobile_footer_text_help" class="x_help-block">{$lang->about_mobile_footer_text}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -61,13 +61,13 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="lang_meta_keywords">{$lang->meta_keywords}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="meta_keywords" id="meta_keywords" value="<!--@if(strpos($module_info->meta_keywords, '$user_lang->') === false)-->{$module_info->meta_keywords}<!--@else-->{htmlspecialchars($module_info->meta_keywords)}<!--@end-->" class="lang_code" />
|
||||
<input type="text" name="meta_keywords" id="meta_keywords" value="<!--@if(strpos($module_info->meta_keywords, '$user_lang->') === false)-->{$module_info->meta_keywords}<!--@else-->{htmlspecialchars($module_info->meta_keywords)}<!--@end-->" class="x_full-width lang_code" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="lang_meta_description">{$lang->meta_description}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="meta_description" id="meta_description" value="<!--@if(strpos($module_info->meta_description, '$user_lang->') === false)-->{$module_info->meta_description}<!--@else-->{htmlspecialchars($module_info->meta_description)}<!--@end-->" class="lang_code" />
|
||||
<input type="text" name="meta_description" id="meta_description" value="<!--@if(strpos($module_info->meta_description, '$user_lang->') === false)-->{$module_info->meta_description}<!--@else-->{htmlspecialchars($module_info->meta_description)}<!--@end-->" class="x_full-width lang_code" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue