mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Issue 2452: [Admin UI Refactoring] Content > General
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11592 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a89669b465
commit
30a61a0cb9
5 changed files with 262 additions and 175 deletions
|
|
@ -652,9 +652,9 @@
|
|||
<value xml:lang="tr"><![CDATA[Bu işlem biraz uzun sürebilir. Başlatmak istiyor musunuz?]]></value>
|
||||
</item>
|
||||
<item name="use_ssl">
|
||||
<value xml:lang="ko"><![CDATA[SSL(Secure Sockets Layer, 보안접속)을 사용하시겠습니까?]]></value>
|
||||
<value xml:lang="en"><![CDATA[Do you want to use Secure Sockets Layer (SSL)?]]></value>
|
||||
<value xml:lang="jp"><![CDATA[SSL(Secure Sockets Layer)を使用しますか?]]></value>
|
||||
<value xml:lang="ko"><![CDATA[SSL(Secure Sockets Layer) 사용]]></value>
|
||||
<value xml:lang="en"><![CDATA[Use SSL(Secure Sockets Layer)]]></value>
|
||||
<value xml:lang="jp"><![CDATA[SSL(Secure Sockets Layer)を使用]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[是否使用SSL安全连接?]]></value>
|
||||
<value xml:lang="tr"><![CDATA[SSL(Secure Sockets Layer)'i kullanmak istiyor musunuz?]]></value>
|
||||
</item>
|
||||
|
|
@ -895,10 +895,10 @@
|
|||
<value xml:lang="zh-CN"><![CDATA[开启CDN]]></value>
|
||||
<value xml:lang="tr"><![CDATA[CDN Kullanımı]]></value>
|
||||
</item>
|
||||
<item name="about_use_rewrite">
|
||||
<value xml:lang="ko"><![CDATA[짧은 주소를 사용하시겠습니까?]]></value>
|
||||
<value xml:lang="en"><![CDATA[Do you want to use Rewrite Mod?]]></value>
|
||||
<value xml:lang="jp"><![CDATA[短縮アドレスを使用しますか?]]></value>
|
||||
<item name="use_rewrite">
|
||||
<value xml:lang="ko"><![CDATA[짧은 주소 사용]]></value>
|
||||
<value xml:lang="en"><![CDATA[Use Rewrite Mode]]></value>
|
||||
<value xml:lang="jp"><![CDATA[短縮アドレスを使用]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[是否开启伪静态?]]></value>
|
||||
<value xml:lang="tr"><![CDATA[Kısa bir adres kullanmak istiyor musunuz?]]></value>
|
||||
</item>
|
||||
|
|
@ -952,8 +952,8 @@
|
|||
<value xml:lang="zh-CN"><![CDATA[缩放]]></value>
|
||||
<value xml:lang="tr"><![CDATA[Ratio(Yüzde Ayarı)]]></value>
|
||||
</item>
|
||||
<item name="about_admin_ip_limit">
|
||||
<value xml:lang="ko"><![CDATA[관리자 페이지로 접근가능한 IP대역을 지정합니다.]]></value>
|
||||
<item name="admin_ip_limit">
|
||||
<value xml:lang="ko"><![CDATA[관리자 IP대역]]></value>
|
||||
<value xml:lang="en"><![CDATA[Sepcify IP address band that can access the admin page.]]></value>
|
||||
<value xml:lang="jp"><![CDATA[管理者ページへアクセス可能なIP帯域を指定します。]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[后台IP绑定]]></value>
|
||||
|
|
@ -965,8 +965,8 @@
|
|||
<value xml:lang="zh-CN"><![CDATA[本地IP地址]]></value>
|
||||
<value xml:lang="tr"><![CDATA[Yerel IP adresi]]></value>
|
||||
</item>
|
||||
<item name="detail_about_admin_ip_limit">
|
||||
<value xml:lang="ko"><![CDATA[해당 IP에 대해서만 관리자 페이지로 접근이 가능하므로 주의해주시기 바랍니다. IP대역 정보는 /files/config/db.config.php 파일에 저장됩니다. 여러개의 항목은 줄을 바꾸어 입력하세요.]]></value>
|
||||
<item name="about_admin_ip_limit">
|
||||
<value xml:lang="ko"><![CDATA[관리자 페이지로 접근가능한 IP대역을 지정합니다. 해당 IP에 대해서만 관리자 페이지로 접근이 가능하므로 주의해주시기 바랍니다. IP대역 정보는 /files/config/db.config.php 파일에 저장됩니다. 여러개의 항목은 줄을 바꾸어 입력하세요.]]></value>
|
||||
<value xml:lang="en"><![CDATA[Please note that only the specified IP addresses can access the admin page. The information on IP address band is stored in /files/config/db.config.php. Change the line to multiple IP.]]></value>
|
||||
<value xml:lang="jp"><![CDATA[該当IPについてのみ管理者ページへアクセスできるため、注意してください。IP帯域情報は、/files/config/db.config.php ファイルに保存されます。Change the line to multiple IP.]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[请注意,只有绑定的IP才能访问后台。IP信息将保存在 /files/config/db.config.php. 每行一个IP。]]></value>
|
||||
|
|
@ -1006,13 +1006,25 @@
|
|||
<value xml:lang="zh-CN"><![CDATA[请上传57*57像素或者114*114像素的<em>*.png</em>文件.]]></value>
|
||||
<value xml:lang="tr"><![CDATA[57 x 57 veya 114 x 114 boyutu<em>*.Png</em> dosyalar yüklenebilir.]]></value>
|
||||
</item>
|
||||
<item name="about_use_sso">
|
||||
<value xml:lang="ko"><![CDATA[SSO(Single Sign On)를 사용하시겠습니까?]]></value>
|
||||
<value xml:lang="en"><![CDATA[Do you want to use Single Sign On (SSO)?]]></value>
|
||||
<value xml:lang="jp"><![CDATA[SSO(Single Sign On)を使用しますか?]]></value>
|
||||
<item name="use_sso">
|
||||
<value xml:lang="ko"><![CDATA[SSO(Single Sign On) 사용]]></value>
|
||||
<value xml:lang="en"><![CDATA[Use Single Sign On (SSO)?]]></value>
|
||||
<value xml:lang="jp"><![CDATA[SSO(Single Sign On)を使用]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[是否启用通行证(SSO)?]]></value>
|
||||
<value xml:lang="tr"><![CDATA[SSO(Single Sign On) kullanmak ister misiniz?]]></value>
|
||||
</item>
|
||||
<item name="about_use_sso">
|
||||
<value xml:lang="ko"><![CDATA[사용자가 한 번만 로그인하면 기본 사이트와 가상 사이트에 동시에 로그인이 됩니다.<br />가상 사이트를 사용할 때만 필요합니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="jp"><![CDATA[ユーザが一度のログインで基本サイトと仮想サイトに同時にログインされる機能です。<br />仮想サイトの機能を使用してない場合、設定する必要がありません。]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="zh-TW"><![CDATA[此功能可讓用戶只需登入一次即可訪問多個網站。<br />使用虛擬網站,這將會是很重要的功能。]]></value>
|
||||
<value xml:lang="fr"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="ru"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="es"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="tr"><![CDATA[SSO kullanıcıları, geçreli ya da sanal siteye bir kere kayıt olmakla, ikisinden de yararlandıracaktır.<br />Bu, size sadece sanal websiteler kullandığınız durumda lazım olacaktır.]]></value>
|
||||
<value xml:lang="vi"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
</item>
|
||||
<item name="about_cdn">
|
||||
<value xml:lang="ko"><![CDATA[XE core의 css, js 파일을 CDN으로부터 제공받으려면 체크하세요.]]></value>
|
||||
<value xml:lang="en"><![CDATA[Check this to get css and js files of XE core from CDN.]]></value>
|
||||
|
|
|
|||
|
|
@ -1,38 +1,6 @@
|
|||
<script>
|
||||
jQuery(function($){
|
||||
$('#favicon').change(function(){
|
||||
var re_favicon = /[^.]+\.ico$/
|
||||
if(re_favicon.test($(this).val()) != true){
|
||||
alert('*.ico {$lang->msg_possible_only_file}');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
$('#mobicon').change(function(){
|
||||
var re_favicon = /[^.]+\.png$/
|
||||
if(re_favicon.test($(this).val()) != true){
|
||||
alert('*.png {$lang->msg_possible_only_file}');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<load target="./js/config.js" usecdn="true" />
|
||||
<load target="../install/lang/lang.xml" usecdn="true" />
|
||||
<load target="../../session/tpl/js/session.js" usecdn="true" />
|
||||
<script>
|
||||
jQuery(function($){
|
||||
$('.moduleSearch').bind('moduleSelect', function(e, aSelected){
|
||||
var sType, sName, sSrl;
|
||||
|
||||
sType = aSelected[0].type;
|
||||
sName = aSelected[0].browser_title;
|
||||
sSrl = aSelected[0].module_srl;
|
||||
|
||||
$('#_target_module').val(sName);
|
||||
$('#index_module_srl').val(sSrl);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
@ -47,7 +15,42 @@ jQuery(function($){
|
|||
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="ftp_host">{$lang->start_module}</label>
|
||||
<div class="x_controls">
|
||||
<div class="x_controls modulefinder moduleSearch">
|
||||
<input type="hidden" name="index_module_srl" id="index_module_srl" value="{$start_module->index_module_srl}" />
|
||||
<input type="text" name="_target_module" id="_target_module" value="{$start_module->browser_title} ({$start_module->mid})" readonly />
|
||||
<a href="#moduleSearchWindow" class="x_btn tgAnchor moduleSearch">{$lang->cmd_find}</a> {$lang->about_start_module}
|
||||
<div id="moduleSearchWindow" class="moduleSearchWindow tgContent">
|
||||
<div class="siteList sectionDiv">
|
||||
<h2>{$lang->select_site}</h2>
|
||||
<div class="siteListSearchBox">
|
||||
<div class="siteListSearchBoxBorder">
|
||||
<div class="searchImg icon-search"></div>
|
||||
<input type="text" class="siteListSearchInput" name="site_filter">
|
||||
</div>
|
||||
</div>
|
||||
<div class="siteListUL">
|
||||
<ul>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="moduleTypeList sectionDiv">
|
||||
<h2>{$lang->select_module_type}</h2>
|
||||
<div>
|
||||
<ul class="moduleTypeListUL">
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="moduleInstanceList sectionDiv">
|
||||
<h2>{$lang->select_module_instance}</h2>
|
||||
<div>
|
||||
<select class="moduleInstanceListSelect" size="8" multiple>
|
||||
</select>
|
||||
</div>
|
||||
<button class="x_btn x_btn-mini moduleSearch_ok">{$lang->cmd_select}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_controls modulefinder moduleSearch" cond="0">
|
||||
<input type="hidden" name="index_module_srl" id="index_module_srl" value="{$start_module->index_module_srl}" />
|
||||
<input type="text" name="_target_module" id="_target_module" value="{$start_module->browser_title} ({$start_module->mid})" readonly />
|
||||
<button type="button" href="#moduleSearchWindow" class="x_btn tgAnchor moduleSearch">{$lang->cmd_find}</button> {$lang->about_start_module}
|
||||
|
|
@ -87,7 +90,10 @@ jQuery(function($){
|
|||
<label class="x_control-label">{$lang->lang_select}</label>
|
||||
<div class="x_controls">
|
||||
<label for="lang_{$key}" class="x_inline" loop="$langs=>$key,$val">
|
||||
<input type="checkbox" name="selected_lang[]" id="lang_{$key}" value="{$key}" disabled="disabled"|cond="$key==$selected_lang" checked="checked"|cond="isset($lang_selected[$key])||$key==$selected_lang" />{$val}
|
||||
<input type="checkbox" name="selected_lang[]" id="lang_{$key}" value="{$key}" disabled="disabled"|cond="$key==$selected_lang" checked="checked"|cond="isset($lang_selected[$key])" />{$val}
|
||||
<!--@if($key==$selected_lang)-->
|
||||
<input type="hidden" name="selected_lang[]" id="lang_{$key}" value="{$key}" />
|
||||
<!--@end-->
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -161,100 +167,129 @@ jQuery(function($){
|
|||
<span class="x_help-block">{$lang->detail_use_mobile_icon}</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>
|
||||
<section class="section">
|
||||
<h1>{$lang->subtitle_advanced}</h1>
|
||||
<form action="./" method="post" enctype="multipart/form-data" class="x_form-horizontal">
|
||||
<input type="hidden" name="module" value="install" />
|
||||
<input type="hidden" name="act" value="procInstallAdminConfig" />
|
||||
<input type="hidden" name="act" value="procInstallAdminSaveTimeZone" />
|
||||
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="admin_ip_list">{$lang->about_admin_ip_limit}[<a href="#helpAdminip" class="tgAnchor">?</a>]</label>
|
||||
<label class="x_control-label" for="admin_ip_list">{$lang->admin_ip_limit}</label>
|
||||
<div class="x_controls">
|
||||
<div class="tgContent layer" id="helpAdminip">
|
||||
<p>{$lang->detail_about_admin_ip_limit}</p>
|
||||
</div>
|
||||
<textarea name="admin_ip_list" id="admin_ip_list" rows="8" cols="42">{$admin_ip_list}</textarea>
|
||||
{$lang->local_ip_address} : {$IP}</p>
|
||||
<span class="x_help-block">
|
||||
{$lang->about_admin_ip_limit}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="default_url">{$lang->default_url}[<a href="#helpDefaulturl" class="tgAnchor">?</a>]</label>
|
||||
<label class="x_control-label" for="default_url">{$lang->default_url}</label>
|
||||
<div class="x_controls">
|
||||
<div class="tgContent layer" id="helpDefaulturl">
|
||||
<p>{$lang->about_default_url}</p>
|
||||
</div>
|
||||
<input type="text" name="default_url" id="default_url" value="{$default_url}"/>
|
||||
<span class="x_help-block">
|
||||
{$lang->about_default_url}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label>{$lang->use_ssl}</label>[<a href="#helpUsessl" class="tgAnchor">?</a>]
|
||||
<label class="x_control-label">{$lang->use_ssl}</label>
|
||||
<div class="x_controls">
|
||||
<div class="tgContent layer" id="helpUsessl">
|
||||
<p>{$lang->about_use_ssl}</p>
|
||||
</div>
|
||||
<!--@foreach($lang->ssl_options as $key => $val)-->
|
||||
<input type="radio" name="use_ssl" id="ssl_{$key}" value="{$key}" <!--@if($use_ssl==$key)-->checked="checked" <!--@end-->/> <label for="ssl_{$key}">{$val}</label>
|
||||
<label for="ssl_{$key}" class="x_inline"><input type="radio" name="use_ssl" id="ssl_{$key}" value="{$key}" <!--@if($use_ssl==$key)-->checked="checked" <!--@end-->/> {$val}</label>
|
||||
<!--@endforeach-->
|
||||
<span class="x_help-block">{$lang->about_use_ssl}</span>
|
||||
</div>
|
||||
</div>
|
||||
<ul style="display:none">
|
||||
<li>
|
||||
<p class="q"><label>{$lang->server_ports}</label></p>
|
||||
<p class="a">
|
||||
<label for="http_port">HTTP:</label> <input type="text" name="http_port" id="http_port" size="5" value="{$http_port}" style="width:40px" />
|
||||
|
||||
<label for="https_port">HTTPS:</label> <input type="text" name="https_port" id="https_port" size="5" value="{$https_port}" style="width:40px" />
|
||||
</p>
|
||||
</li>
|
||||
<li cond="__XE_CDN_VERSION__!='%__XE_CDN_VERSION__%'">
|
||||
<p class="q">{$lang->about_cdn}</p>
|
||||
<p class="a">
|
||||
<input type="radio" name="use_cdn" id="cdn_y" value="Y" <!--@if($use_cdn=='Y')-->checked="checked" <!--@end-->/> <label for="cdn_y">{$lang->cmd_yes}</label>
|
||||
<input type="radio" name="use_cdn" id="cdn_n" value="N" <!--@if($use_cdn!='Y')-->checked="checked" <!--@end-->/> <label for="cdn_n">{$lang->cmd_no}</label>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label>{$lang->about_use_rewrite}</label></p>
|
||||
<p class="a">
|
||||
<input type="radio" name="use_rewrite" id="use_rewrite_y" value="Y" <!--@if($use_rewrite == 'Y')-->checked="checked" <!--@end-->/> <label for="use_rewrite_y">{$lang->cmd_yes}</label>
|
||||
<input type="radio" name="use_rewrite" id="use_rewrite_n" value="N" <!--@if($use_rewrite != 'Y')-->checked="checked" <!--@end-->/> <label for="use_rewrite_n">{$lang->cmd_no}</label>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label>{$lang->about_use_sso}</label>[<a href="#helpUsesso" class="tgAnchor">?</a>]</p>
|
||||
<div class="tgContent layer" id="helpUsesso">
|
||||
<p>{$lang->about_sso}</p>
|
||||
</div>
|
||||
<p class="a">
|
||||
<input type="radio" name="use_sso" id="sso_y" value="Y" <!--@if($use_sso=='Y')-->checked="checked" <!--@end-->/> <label for="sso_y">{$lang->cmd_yes}</label>
|
||||
<input type="radio" name="use_sso" id="sso_n" value="N" <!--@if($use_sso!='Y')-->checked="checked" <!--@end-->/> <label for="sso_n">{$lang->cmd_no}</label>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label>{$lang->use_db_session}</label>[<a href="#helpUsedbSession" class="tgAnchor">?</a>]</p>
|
||||
<div class="tgContent layer" id="helpUsedbSession">
|
||||
<p>{$lang->about_db_session}</p>
|
||||
</div>
|
||||
<p class="a">
|
||||
<input type="radio" name="use_db_session" id="use_db_session_y" value="Y" <!--@if($use_db_session=='Y')-->checked="checked" <!--@end-->/> <label for="use_db_session_y">{$lang->cmd_yes}</label>
|
||||
<input type="radio" name="use_db_session" id="use_db_session_n" value="N" <!--@if($use_db_session!='Y')-->checked="checked" <!--@end-->/> <label for="use_db_session_n">{$lang->cmd_no}</label>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label>{$lang->qmail_compatibility}</label>[<a href="#helpQmail" class="tgAnchor">?</a>]</p>
|
||||
<div class="tgContent layer" id="helpQmail">
|
||||
<p>{$lang->about_qmail_compatibility}</p>
|
||||
</div>
|
||||
<p class="a">
|
||||
<input type="radio" name="qmail_compatibility" id="qmail_compatibility_y" value="Y" <!--@if($qmail_compatibility=='Y')-->checked="checked" <!--@end-->/> <label for="qmail_compatibility_y">{$lang->cmd_yes}</label>
|
||||
<input type="radio" name="qmail_compatibility" id="qmail_compatibility_n" value="N" <!--@if($qmail_compatibility!='Y')-->checked="checked" <!--@end-->/> <label for="qmail_compatibility_n">{$lang->cmd_no}</label>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="btnArea">
|
||||
<span class="btn medium"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->server_ports}</label>
|
||||
<div class="x_controls">
|
||||
<label for="http_port" class="x_inline">HTTP: <input type="text" name="http_port" id="http_port" size="5" value="{$http_port}" style="width:40px" /></label>
|
||||
<label for="https_port" class="x_inline">HTTPS: <input type="text" name="https_port" id="https_port" size="5" value="{$https_port}" style="width:40px" /></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group" cond="__XE_CDN_VERSION__!='%__XE_CDN_VERSION__%'">
|
||||
<label class="x_control-label">{$lang->use_cdn}</label>
|
||||
<div class="x_controls">
|
||||
<label for="cdn_y" class="x_inline"><input type="radio" name="use_cdn" id="cdn_y" value="Y" checked="checked"|cond="$use_cdn=='Y'" /> {$lang->cmd_yes}</label>
|
||||
<label for="cdn_n" class="x_inline"><input type="radio" name="use_cdn" id="cdn_n" value="N" checked="checked"|cond="$use_cdn!='Y'" /> {$lang->cmd_no}</label>
|
||||
<span class="x_help-block">{$lang->about_cdn}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->use_rewrite}</label>
|
||||
<div class="x_controls">
|
||||
<label for="use_rewrite_y" class="x_inline"><input type="radio" name="use_rewrite" id="use_rewrite_y" value="Y" checked="checked"|cond="$use_rewrite == 'Y'" /> {$lang->cmd_yes}</label>
|
||||
<label for="use_rewrite_n" class="x_inline"><input type="radio" name="use_rewrite" id="use_rewrite_n" value="N" checked="checked"|cond="$use_rewrite != 'Y'" /> {$lang->cmd_no}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->use_sso}</label>
|
||||
<div class="x_controls">
|
||||
<label for="sso_y" class="x_inline"><input type="radio" name="use_sso" id="sso_y" value="Y" checked="checked"|cond="$use_sso=='Y'" /> {$lang->cmd_yes}</label>
|
||||
<label for="sso_n" class="x_inline"><input type="radio" name="use_sso" id="sso_n" value="N" checked="checked"|cond="$use_sso!='Y'" /> {$lang->cmd_no}</label>
|
||||
<span class="x_help-block">{$lang->about_use_sso}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->use_db_session}</label>
|
||||
<div class="x_controls">
|
||||
<label for="use_db_session_y" class="x_inline"><input type="radio" name="use_db_session" id="use_db_session_y" value="Y" checked="checked"|cond="$use_db_session=='Y'" /> {$lang->cmd_yes}</label>
|
||||
<label for="use_db_session_n" class="x_inline"><input type="radio" name="use_db_session" id="use_db_session_n" value="N" checked="checked"|cond="$use_db_session!='Y'" /> {$lang->cmd_no}</label>
|
||||
<span class="x_help-block">{$lang->about_db_session}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->qmail_compatibility}</label>
|
||||
<div class="x_controls">
|
||||
<label for="qmail_compatibility_y" class="x_inline"><input type="radio" name="qmail_compatibility" id="qmail_compatibility_y" value="Y" checked="checked"|cond="$qmail_compatibility=='Y'" /> {$lang->cmd_yes}</label>
|
||||
<label for="qmail_compatibility_n" class="x_inline"><input type="radio" name="qmail_compatibility" id="qmail_compatibility_n" value="N" checked="checked"|cond="$qmail_compatibility!='Y'" /> {$lang->cmd_no}</label>
|
||||
<span class="x_help-block">{$lang->about_qmail_compatibility}</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>
|
||||
<script>
|
||||
jQuery(function($){
|
||||
$('#favicon').change(function(){
|
||||
var re_favicon = /[^.]+\.ico$/
|
||||
if(re_favicon.test($(this).val()) != true){
|
||||
alert('*.ico {$lang->msg_possible_only_file}');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
$('#mobicon').change(function(){
|
||||
var re_favicon = /[^.]+\.png$/
|
||||
if(re_favicon.test($(this).val()) != true){
|
||||
alert('*.png {$lang->msg_possible_only_file}');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
jQuery(function($){
|
||||
$('.moduleSearch').bind('moduleSelect', function(e, aSelected){
|
||||
var sType, sName, sSrl;
|
||||
|
||||
sType = aSelected[0].type;
|
||||
sName = aSelected[0].browser_title;
|
||||
sSrl = aSelected[0].module_srl;
|
||||
|
||||
$('#_target_module').val(sName);
|
||||
$('#index_module_srl').val(sSrl);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -489,3 +489,43 @@ to{-o-transform:rotate(360deg)}
|
|||
.x #ftpSuggestion li button:active,
|
||||
.x #ftpSuggestion li button:focus,
|
||||
.x #ftpSuggestion li:hover{background:#eee}
|
||||
|
||||
/* Module Search */
|
||||
.x .moduleSearchWindow{position:absolute;width:700px;z-index:100}
|
||||
.x .moduleSearchWindow, .moduleSearchWindow div{margin:0;padding:0;color:#2d2c2d;font-size:12px}
|
||||
.x .moduleSearchWindow h2{margin:0;padding:4px;height:24px;line-height:24px;background:#666;text-align:left;color:#fff;font-size:12px}
|
||||
.x .moduleSearchWindow .sectionDiv{position:relative;margin:0px;background:#fff;border:1px solid}
|
||||
.x .moduleSearchWindow .siteList{float:left;width:295px}
|
||||
.x .moduleSearchWindow .highlight{background:yellow;color:red;font-style:italic}
|
||||
.x .moduleSearchWindow .moduleTypeList{margin-left:5px;float:left;width:200px}
|
||||
.x .moduleSearchWindow .moduleInstanceList{float:right;width:190px}
|
||||
.x .moduleSearchWindow ul{margin:0;padding:0;border:0}
|
||||
.x .moduleSearchWindow li{font-size:12px;border:0;border-bottom:1px solid #ccc;margin:0;padding: 4px 4px;font-family: 나눔고딕,NanumGothic,"맑은 고딕","Malgun Gothic",AppleGothic,돋움,Dotum,굴림,Gulim,sans-serif}
|
||||
.x .moduleSearchWindow li:hover, .moduleSearchWindow li.on{background:#eee;cursor:pointer}
|
||||
.x .moduleSearchWindow li div{margin:0;padding:0;display:inline-block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis}
|
||||
.x .moduleSearchWindow .siteList li div{width:270px}
|
||||
.x .moduleSearchWindow .siteListSearchBox{margin:0;padding:4px 0;height:24px;border-bottom:1px solid #888}
|
||||
.x .moduleSearchWindow .siteListSearchBoxBorder{margin-left:3px;height: 22px;width: 287px;border: 1px solid #ccc}
|
||||
.x .moduleSearchWindow input.siteListSearchInput{margin:0;padding:0;position:relative;float:right;width: 260px;margin-right:4px;border:0}
|
||||
.x .moduleSearchWindow .siteListSearchBox .searchImg{position:relative;float:left;margin-top:4px;margin-left:4px}
|
||||
.x .moduleSearchWindow .moduleTypeList li div{width:170px}
|
||||
.x .moduleSearchWindow .moduleInstanceList li div{width:190px}
|
||||
.x .moduleSearchWindow .moduleSearch_ok {float:right}
|
||||
.x .moduleSearchWindow select.moduleInstanceListSelect {width:100%}
|
||||
|
||||
|
||||
/*!
|
||||
* Bootstrap v2.0.4
|
||||
*
|
||||
* Copyright 2012 Twitter, Inc
|
||||
* Licensed under the Apache License v2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Designed and built with all the love in the world@twitter by@mdo and@fat.
|
||||
*/
|
||||
/* Bootstrap - Icons */
|
||||
[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat}
|
||||
[class^="icon-"]:last-child,[class*=" icon-"]:last-child{*margin-left:0}
|
||||
.icon-search{background-position:-48px 0}
|
||||
.icon-circle-arrow-right{background-position:-240px -144px}
|
||||
|
||||
|
|
|
|||
|
|
@ -46,35 +46,6 @@
|
|||
* @brief Change settings
|
||||
**/
|
||||
function procInstallAdminSaveTimeZone() {
|
||||
$use_rewrite = Context::get('use_rewrite');
|
||||
if($use_rewrite!='Y') $use_rewrite = 'N';
|
||||
|
||||
$use_sso = Context::get('use_sso');
|
||||
if($use_sso !='Y') $use_sso = 'N';
|
||||
|
||||
$use_cdn = Context::get('use_cdn');
|
||||
if($use_cdn != 'Y') $use_cdn = 'N';
|
||||
|
||||
$time_zone = Context::get('time_zone');
|
||||
|
||||
$qmail_compatibility = Context::get('qmail_compatibility');
|
||||
if($qmail_compatibility!='Y') $qmail_compatibility = 'N';
|
||||
|
||||
$use_db_session = Context::get('use_db_session');
|
||||
if($use_db_session!='Y') $use_db_session = 'N';
|
||||
|
||||
$use_ssl = Context::get('use_ssl');
|
||||
if(!$use_ssl) $use_ssl = 'none';
|
||||
|
||||
$use_html5 = Context::get('use_html5');
|
||||
if(!$use_html5) $use_html5 = 'N';
|
||||
|
||||
$http_port = Context::get('http_port');
|
||||
$https_port = Context::get('https_port');
|
||||
|
||||
$use_mobile_view = Context::get('use_mobile_view');
|
||||
if($use_mobile_view!='Y') $use_mobile_view = 'N';
|
||||
|
||||
$admin_ip_list = Context::get('admin_ip_list');
|
||||
|
||||
$admin_ip_list = preg_replace("/[\r|\n|\r\n]+/",",",$admin_ip_list);
|
||||
|
|
@ -84,18 +55,42 @@
|
|||
$admin_ip_list = '';
|
||||
}
|
||||
|
||||
$default_url = Context::get('default_url');
|
||||
if($default_url && !preg_match('/^(http|https):\/\//i', $default_url)) $default_url = 'http://'.$default_url;
|
||||
|
||||
$use_ssl = Context::get('use_ssl');
|
||||
if(!$use_ssl) $use_ssl = 'none';
|
||||
|
||||
$http_port = Context::get('http_port');
|
||||
$https_port = Context::get('https_port');
|
||||
|
||||
$use_cdn = Context::get('use_cdn');
|
||||
if($use_cdn != 'Y') $use_cdn = 'N';
|
||||
|
||||
$use_rewrite = Context::get('use_rewrite');
|
||||
if($use_rewrite!='Y') $use_rewrite = 'N';
|
||||
|
||||
$use_sso = Context::get('use_sso');
|
||||
if($use_sso !='Y') $use_sso = 'N';
|
||||
|
||||
$use_db_session = Context::get('use_db_session');
|
||||
if($use_db_session!='Y') $use_db_session = 'N';
|
||||
|
||||
$qmail_compatibility = Context::get('qmail_compatibility');
|
||||
if($qmail_compatibility!='Y') $qmail_compatibility = 'N';
|
||||
|
||||
$use_html5 = Context::get('use_html5');
|
||||
if(!$use_html5) $use_html5 = 'N';
|
||||
|
||||
$db_info = Context::getDBInfo();
|
||||
$db_info->default_url = Context::get('default_url');
|
||||
if($db_info->default_url && !preg_match('/^(http|https):\/\//i', $db_info->default_url)) $db_info->default_url = 'http://'.$db_info->default_url;
|
||||
$db_info->time_zone = $time_zone;
|
||||
$db_info->qmail_compatibility = $qmail_compatibility;
|
||||
$db_info->use_db_session = $use_db_session;
|
||||
$db_info->default_url = $default_url;
|
||||
$db_info->qmail_compatibility = $qmail_compatibility;
|
||||
$db_info->use_db_session = $use_db_session;
|
||||
$db_info->use_rewrite = $use_rewrite;
|
||||
$db_info->use_sso = $use_sso;
|
||||
$db_info->use_ssl = $use_ssl;
|
||||
$db_info->use_cdn = $use_cdn;
|
||||
$db_info->use_html5 = $use_html5;
|
||||
$db_info->use_mobile_view = $use_mobile_view;
|
||||
$db_info->admin_ip_list = $admin_ip_list;
|
||||
|
||||
if($http_port) $db_info->http_port = (int) $http_port;
|
||||
|
|
@ -105,19 +100,20 @@
|
|||
else if($db_info->https_port) unset($db_info->https_port);
|
||||
|
||||
unset($db_info->lang_type);
|
||||
|
||||
Context::setDBInfo($db_info);
|
||||
|
||||
$oInstallController = &getController('install');
|
||||
$oInstallController->makeConfigFile();
|
||||
|
||||
$site_args->site_srl = 0;
|
||||
$site_args->index_module_srl = Context::get('index_module_srl');
|
||||
$site_args->default_language = Context::get('change_lang_type');
|
||||
$site_args->domain = $db_info->default_url;
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->updateSite($site_args);
|
||||
|
||||
$this->setMessage('success_updated');
|
||||
if($default_url)
|
||||
{
|
||||
$site_args->site_srl = 0;
|
||||
$site_args->domain = $default_url;
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->updateSite($site_args);
|
||||
}
|
||||
$this->setRedirectUrl(Context::get('error_return_url'));
|
||||
}
|
||||
|
||||
function procInstallAdminUpdateIndexModule()
|
||||
|
|
@ -175,7 +171,23 @@
|
|||
}
|
||||
|
||||
function procInstallAdminConfig(){
|
||||
$this->procInstallAdminSaveTimeZone();
|
||||
$use_mobile_view = Context::get('use_mobile_view');
|
||||
if($use_mobile_view!='Y') $use_mobile_view = 'N';
|
||||
|
||||
$time_zone = Context::get('time_zone');
|
||||
|
||||
$db_info = Context::getDBInfo();
|
||||
$db_info->use_mobile_view = $use_mobile_view;
|
||||
$db_info->time_zone = $time_zone;
|
||||
|
||||
unset($db_info->lang_type);
|
||||
Context::setDBInfo($db_info);
|
||||
|
||||
$site_args->site_srl = 0;
|
||||
$site_args->index_module_srl = Context::get('index_module_srl');//
|
||||
$site_args->default_language = Context::get('change_lang_type');//
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->updateSite($site_args);
|
||||
|
||||
//언어 선택
|
||||
$selected_lang = Context::get('selected_lang');
|
||||
|
|
|
|||
|
|
@ -722,18 +722,6 @@
|
|||
<value xml:lang="tr"><![CDATA[Sqlite veriyi dosyaya kaydeder. Veritabanı dosyası tarayıcıyla erişilebilir olmamalıdır.<br/><span style="color:red">Veri dosyası 707 yetki kapsamı içinde olmalıdır.</span>]]></value>
|
||||
<value xml:lang="vi"><![CDATA[Sqlite lưu trữ dữ liệu trong một File, vì vậy cần tới sự truy cập đến nó trong Database. <br/><span style="color:red">Hãy CHMOD thành 707.</span>]]></value>
|
||||
</item>
|
||||
<item name="about_sso">
|
||||
<value xml:lang="ko"><![CDATA[사용자가 한 번만 로그인하면 기본 사이트와 가상 사이트에 동시에 로그인이 됩니다.<br />가상 사이트를 사용할 때만 필요합니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="jp"><![CDATA[ユーザが一度のログインで基本サイトと仮想サイトに同時にログインされる機能です。<br />仮想サイトの機能を使用してない場合、設定する必要がありません。]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="zh-TW"><![CDATA[此功能可讓用戶只需登入一次即可訪問多個網站。<br />使用虛擬網站,這將會是很重要的功能。]]></value>
|
||||
<value xml:lang="fr"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="ru"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="es"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
<value xml:lang="tr"><![CDATA[SSO kullanıcıları, geçreli ya da sanal siteye bir kere kayıt olmakla, ikisinden de yararlandıracaktır.<br />Bu, size sadece sanal websiteler kullandığınız durumda lazım olacaktır.]]></value>
|
||||
<value xml:lang="vi"><![CDATA[SSO will enable users to sign in just once for both default and virtual site.<br />You will need this only if you are using virtual sites.]]></value>
|
||||
</item>
|
||||
<item name="success_installed">
|
||||
<value xml:lang="ko"><![CDATA[설치가 되었습니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[Installation has been completed.]]></value>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue