mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 501 ftp config menu apply validator
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9639 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
feb16399ed
commit
95b311fe3b
4 changed files with 17 additions and 3 deletions
|
|
@ -377,7 +377,6 @@
|
|||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('news..', 'released_version', 'download_link', 'selected_lang', 'module_list..', 'module_list..author..', 'addon_list..', 'addon_list..author..', 'start_module.');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -2,7 +2,10 @@
|
|||
<load target="../install/lang/lang.xml" usecdn="true" />
|
||||
<load target="../../session/tpl/js/session.js" usecdn="true" />
|
||||
|
||||
<form action="" method="post" id="ftp_form" class="form" enctype="multipart/form-data">
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
<form ruleset="installFtpInfo" action="./" method="post" id="ftp_form" class="form" enctype="multipart/form-data">
|
||||
<input type="hidden" name="act" value="procInstallAdminSaveFTPInfo" />
|
||||
<fieldset class="section">
|
||||
<h1 class="h1">{$lang->menu_gnb_sub['adminConfigurationFtp']}</h1>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<action name="procInstallAdminInstall" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminUpdate" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminSaveTimeZone" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminSaveFTPInfo" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminSaveFTPInfo" type="controller" standalone="true" ruleset="installFtpInfo" />
|
||||
<action name="procInstallAdminRemoveFTPInfo" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminConfig" type="controller" standalone="true" />
|
||||
<action name="getInstallFTPList" type="model" standalone="true" />
|
||||
|
|
|
|||
12
modules/install/ruleset/installFtpInfo.xml
Normal file
12
modules/install/ruleset/installFtpInfo.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ruleset version="1.5.0">
|
||||
<customrules>
|
||||
</customrules>
|
||||
<fields>
|
||||
<field name="ftp_host" required="true" />
|
||||
<field name="ftp_user" required="true" />
|
||||
<field name="ftp_port" filter="number" />
|
||||
<field name="ftp_root_path" required="true" />
|
||||
<field name="sftp" required="true" />
|
||||
</fields>
|
||||
</ruleset>
|
||||
Loading…
Add table
Add a link
Reference in a new issue