mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 05:39:58 +09:00
#18532379 FTP 접속 정보 직접 노출되지 않게 수정.(이를 위한 수정들) 수정사항으로 필요해진 설명문 언어파일에 추가.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7026 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
71e8dbc0c9
commit
b0bf3c728f
8 changed files with 57 additions and 9 deletions
|
|
@ -15,11 +15,16 @@
|
|||
sObj.value = module_srl;
|
||||
obj.value = decodeURIComponent(browser_title.replace(/\+/g," "))+' ('+mid+')';
|
||||
}
|
||||
<!--@if($ftp_info && $ftp_info->ftp_password && $ftp_info->ftp_user)-->
|
||||
<!--@if($ftp_info && $ftp_info->is_valid)-->
|
||||
var pwd = '{$pwd}';
|
||||
params = new Array();
|
||||
params['pwd'] = pwd;
|
||||
exec_xml('admin','getAdminFTPList', params, completeGetFtpInfo, new Array('list','error','message'));
|
||||
<!--@elseif($ftp_info && !$ftp_info->is_valid && $ftp_info->ftp_user && $ftp_info->ftp_password)-->
|
||||
// if FTP Info is not valid, alert error message.
|
||||
jQuery(function($) {
|
||||
doCheckFTPInfo();
|
||||
});
|
||||
<!--@end-->
|
||||
</script>
|
||||
|
||||
|
|
@ -129,6 +134,7 @@
|
|||
|
||||
<h4 class="xeAdmin" id="ftpSetup">{$lang->ftp_form_title}</h4>
|
||||
<p class="summary">{$lang->about_ftp_info}</p>
|
||||
<!--@if(!$ftp_info || !$ftp_info->is_valid)-->
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, install_ftp_info);" id="ftp_form">
|
||||
{@ $nCols = 3; }
|
||||
<table cellspacing="0" class="rowTable">
|
||||
|
|
@ -157,13 +163,14 @@
|
|||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--@if($ftp_info && $ftp_info->ftp_password && $ftp_info->ftp_user)-->
|
||||
<!--@elseif($ftp_info && $ftp_info->is_valid)-->
|
||||
<p class="summary">{$lang->msg_ftp_connect_success}</p>
|
||||
<p class="summary">{$lang->about_ftp_info_delete}</p>
|
||||
<span class="button black strong"><button type="button" onclick="doDeleteFTPConfig(); return false;">{$lang->cmd_delete}</button></span>
|
||||
<!--@endif-->
|
||||
<!--@if($ftp_info && $ftp_info->is_valid)-->
|
||||
<h4 class="xeAdmin" id="ftpSetup">{$lang->ftp_path_title}</h4>
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, install_ftp_path)">
|
||||
<input type="hidden" name="ftp_user" value="{$ftp_info->ftp_user}" />
|
||||
<input type="hidden" name="ftp_password" value="{$ftp_info->ftp_password}" />
|
||||
<input type="hidden" name="ftp_port" value="{$ftp_info->ftp_port}" />
|
||||
<input type="hidden" name="sftp" value="{$ftp_info->sftp}" />
|
||||
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue