mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7114 201d5d3c-b55e-5fd7-737f-ddc643e51545
229 lines
9.2 KiB
HTML
229 lines
9.2 KiB
HTML
<!--#include("_header.html")-->
|
|
|
|
<!--%import("./filter/update_env_config.xml")-->
|
|
<!--%import("./filter/update_lang_select.xml")-->
|
|
<!--%import("./filter/install_ftp_info.xml")-->
|
|
<!--%import("./filter/install_ftp_path.xml")-->
|
|
<!--%import("../../install/lang")-->
|
|
<!--%import("../../install/tpl/js/install_admin.js",optimized=false)-->
|
|
<!--%import("./js/config.js")-->
|
|
|
|
<script type="text/javascript">
|
|
function insertSelectedModule(id, module_srl, mid, browser_title) {
|
|
var obj= xGetElementById('_'+id);
|
|
var sObj = xGetElementById(id);
|
|
sObj.value = module_srl;
|
|
obj.value = decodeURIComponent(browser_title.replace(/\+/g," "))+' ('+mid+')';
|
|
}
|
|
<!--@if($ftp_info && $ftp_info->ftp_password && $ftp_info->ftp_user)-->
|
|
var pwd = '{$pwd}';
|
|
params = new Array();
|
|
params['pwd'] = pwd;
|
|
exec_xml('admin','getAdminFTPList', params, completeGetFtpInfo, new Array('list','error','message'));
|
|
<!--@end-->
|
|
</script>
|
|
|
|
<div class="content">
|
|
<!--@if($logged_info->is_admin == 'Y')-->
|
|
<p class="path">
|
|
<a href="{getUrl('','module','admin')}">{$lang->control_panel}</a>
|
|
> <a href="{getUrl('','mid',$mid,'module',$module,'act',$act)}">{$lang->env_setup}</a>
|
|
</p>
|
|
<!--@end-->
|
|
|
|
<h4 class="xeAdmin">{$lang->cmd_setup}</h4>
|
|
|
|
<form action="./" method="get" onsubmit="return procFilter(this, update_env_config);">
|
|
<table cellspacing="0" class="rowTable">
|
|
<tr>
|
|
<th><div>{$lang->use_rewrite}</div></th>
|
|
<td>
|
|
<input type="checkbox" name="use_rewrite" value="Y" <!--@if($use_rewrite=='Y')-->checked="checked"<!--@end--> />
|
|
<p>{$lang->about_rewrite}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><div>{$lang->default_url}</div></th>
|
|
<td>
|
|
<input type="text" name="default_url" value="{$default_url}" class="inputTypeText w300"/>
|
|
<p>{$lang->about_default_url}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row"><div>{$lang->start_module}</div></th>
|
|
<td>
|
|
<input type="hidden" name="index_module_srl" id="target_module" value="{$start_module->index_module_srl}" />
|
|
<input type="text" name="_target_module" id="_target_module" class="inputTypeText w300" value="{$start_module->mid} ({htmlspecialchars($start_module->browser_title)})" readonly="readonly" /><a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span>{$lang->cmd_select}</span></a>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th><div>{$lang->use_optimizer}</div></th>
|
|
<td>
|
|
<input type="checkbox" name="use_optimizer" value="Y" <!--@if($use_optimizer!='N')-->checked="checked"<!--@end--> />
|
|
<p>{$lang->about_optimizer}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><div>Language</div></th>
|
|
<td>
|
|
<select name="change_lang_type">
|
|
<!--@foreach($lang_supported as $key => $val)-->
|
|
<option value="{$key}" <!--@if($key==$selected_lang)-->selected="selected"<!--@end-->>{$val}</option>
|
|
<!--@endforeach-->
|
|
</select>
|
|
<p>{$lang->about_lang_env}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><div>{$lang->time_zone}</div></th>
|
|
<td>
|
|
<select name="time_zone" class="fullWidth">
|
|
<!--@foreach($time_zone_list as $key => $val)-->
|
|
<option value="{$key}" <!--@if($time_zone==$key)-->selected="selected"<!--@end-->>{$val}</option>
|
|
<!--@endforeach-->
|
|
</select>
|
|
<p>{$lang->about_time_zone}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><div>{$lang->qmail_compatibility}</div></th>
|
|
<td>
|
|
<input type="checkbox" name="qmail_compatibility" value="Y" <!--@if($qmail_compatibility=='Y')-->checked="checked"<!--@end--> />
|
|
<p>{$lang->about_qmail_compatibility}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><div>{$lang->use_db_session}</div></th>
|
|
<td>
|
|
<input type="checkbox" name="use_db_session" value="Y" <!--@if($use_db_session=='Y')-->checked="checked"<!--@end--> />
|
|
<p>{$lang->about_db_session}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><div>{$lang->use_ssl}</div></th>
|
|
<td>
|
|
<select name="use_ssl">
|
|
<!--@foreach($lang->ssl_options as $key => $val)-->
|
|
<option value="{$key}" <!--@if($key == $use_ssl)-->selected<!--@end--> >{$val}</option>
|
|
<!--@endforeach-->
|
|
</select>
|
|
<p>{$lang->about_use_ssl}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><div>{$lang->server_ports}</div></th>
|
|
<td>
|
|
HTTP : <input type="text" name="http_port" class="inputTypeText" size="5" value="{$http_port}">,
|
|
HTTPS: <input type="text" name="https_port" class="inputTypeText" size="5" value="{$https_port}">
|
|
<p>{$lang->about_server_ports}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2" class="button">
|
|
<span class="button black strong"><input type="submit" value="{$lang->cmd_save}" /></span>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<h4 class="xeAdmin" id="ftpSetup">{$lang->ftp_form_title}</h4>
|
|
<p class="summary">{$lang->about_ftp_info}</p>
|
|
<form action="./" method="post" onsubmit="return procFilter(this, install_ftp_info);" id="ftp_form">
|
|
{@ $nCols = 3; }
|
|
<table cellspacing="0" class="rowTable">
|
|
<tr>
|
|
<th><div><label for="textfield21">{$lang->user_id}</label></div></th>
|
|
<th><div><label for="textfield22">{$lang->password}</label></div></th>
|
|
<th><div><label for="textfield24">{$lang->ftp_port}</label></div></th>
|
|
<!--@if($sftp_support)-->
|
|
{@ $nCols += 1; }
|
|
<th><div><label for="checkbox25">{$lang->sftp}</label></div></th>
|
|
<!--@end-->
|
|
</tr>
|
|
<tr>
|
|
<td><input type="text" id="textfield21" name="ftp_user" value="{$ftp_info->ftp_user}" class="inputTypeText" /></td>
|
|
<td><input id="textfield22" type="password" name="ftp_password" value="" class="inputTypeText" /></td>
|
|
<td><input id="textfield24" type="text" name="ftp_port" value="{$ftp_info->ftp_port}" class="inputTypeText" /></td>
|
|
<!--@if($sftp_support)-->
|
|
<td><input type="checkbox" id="checkbox25" name="sftp" value="Y" <!--@if($ftp_info->sftp=="Y")-->checked="checked"<!--@end--> /></td>
|
|
<!--@end-->
|
|
</tr>
|
|
<tr>
|
|
<th colspan="{$nCols}" class="button">
|
|
<span class="button blue"><input type="button" value="{$lang->cmd_check_ftp_connect}" onclick="doCheckFTPInfo(); return false;"/></span>
|
|
<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" /></span>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<!--@if($ftp_info && $ftp_info->ftp_password && $ftp_info->ftp_user)-->
|
|
<h4 class="xeAdmin" id="ftpSetup">{$lang->ftp_path_title}</h4>
|
|
<form action="./" method="POST" onsubmit="return procFilter(this, install_ftp_path)">
|
|
|
|
<table cellspacing="0" class="rowTable">
|
|
<tr>
|
|
<th scope="col"><div>{$lang->msg_ftp_installed_realpath}</div></th>
|
|
<td>{_XE_PATH_}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="col" rowspan="2"><div>{$lang->msg_ftp_installed_ftp_realpath}</div></th>
|
|
<td>
|
|
<input type="text" name="ftp_root_path" value="<!--@if($pwd)-->{$pwd}<!--@else-->{$ftp_info->ftp_root_path}<!--@end-->" class="inputTypeText w400" />
|
|
</td>
|
|
</tr>
|
|
<tr id="ftplist">
|
|
<td>
|
|
<div class="serverresponse">
|
|
Waiting to load information
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row2">
|
|
<th colspan="2" class="button">
|
|
<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" /></span>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<!--@end-->
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<div class="extension e2">
|
|
<div class="section">
|
|
|
|
<h4 class="xeAdmin">{$lang->cmd_lang_select}</h4>
|
|
<p class="summary">{$lang->about_cmd_lang_select}</p>
|
|
<form action="./" method="get" onsubmit="return procFilter(this, update_lang_select);">
|
|
<table cellspacing="0" class="rowTable">
|
|
<!--@foreach($langs as $key => $val)-->
|
|
<tr>
|
|
<td>
|
|
<input id="lang_{$key}" type="checkbox" name="selected_lang" value="{$key}" <!--@if(isset($lang_selected[$key]))-->checked="checked"<!--@end--> <!--@if($key==$selected_lang)-->disabled="disabled"<!--@end--> /> <label for="lang_{$key}">{$val}</label>
|
|
</td>
|
|
</tr>
|
|
<!--@endforeach-->
|
|
<tr>
|
|
<th class="button">
|
|
<span class="button black strong"><input type="submit" value="{$lang->cmd_save}" /></span>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<h4 class="xeAdmin">{$lang->cmd_remake_cache}</h4>
|
|
<p class="summary">{$lang->about_recompile_cache}</p>
|
|
<table cellspacing="0" class="colTable">
|
|
<tr>
|
|
<th class="button">
|
|
<span class="button black strong"><input type="button" value="{$lang->cmd_remake_cache}" onclick="doRecompileCacheFile(); return false;"/></span>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<!--#include("_footer.html")-->
|