mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 03:22:29 +09:00
쉬운설치 개선
This commit is contained in:
parent
c3d40f733d
commit
2e523370d7
9 changed files with 125 additions and 7 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<ul class="x_nav x_nav-tabs">
|
||||
<li class="x_active"|cond="$act == 'dispAutoinstallAdminIndex'"><a href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminIndex')}">{lang('all')} ({$tCount})</a></li>
|
||||
<li class="x_active"|cond="$act == 'dispAutoinstallAdminInstalledPackages'"><a href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminInstalledPackages')}">Installed({$iCount})</a></li>
|
||||
<li class="x_active"|cond="$act == 'dispAutoinstallAdminConfig'"><a href="{getUrl('', 'module', 'admin', 'act', 'dispAutoinstallAdminConfig')}">{lang('config')}</a></li>
|
||||
</ul>
|
||||
|
||||
<nav cond="$act == 'dispAutoinstallAdminIndex'" class="x_thumbnail x_clearfix category">
|
||||
|
|
|
|||
36
modules/autoinstall/tpl/config.html
Normal file
36
modules/autoinstall/tpl/config.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<include target="header.html" />
|
||||
<include target="category.html" />
|
||||
{@
|
||||
$from_id = array(
|
||||
'modules/autoinstall/tpl/config/1' => 1
|
||||
);
|
||||
}
|
||||
<div cond="$XE_VALIDATOR_MESSAGE && isset($from_id[$XE_VALIDATOR_ID])" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
||||
<form action="./" class="x_form-horizontal" ruleset="insert_config" method="post">
|
||||
<input type="hidden" name="module" value="autoinstall" />
|
||||
<input type="hidden" name="act" value="procAutoinstallAdminInsertConfig" />
|
||||
<input type="hidden" name="success_return_url" value="{getUrl('', 'module', 'admin', 'act', $act)}" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/autoinstall/tpl/config/1" />
|
||||
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="location_site">{$lang->location_site}</label>
|
||||
<div class="x_controls">
|
||||
<input type="url" id="location_site" name="location_site" style="min-width:90%" value="{$config->location_site ? $config->location_site : 'https://xe1.xpressengine.com/'}" />
|
||||
<p class="x_help-block">{$lang->about_location_site}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="download_server">{$lang->download_server}</label>
|
||||
<div class="x_controls">
|
||||
<input type="url" id="download_server" name="download_server" style="min-width:90%" value="{$config->download_server ? $config->download_server : 'https://download.xpressengine.com/'}" />
|
||||
<p class="x_help-block">{$lang->about_download_server}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_clearfix btnArea">
|
||||
<span class="x_pull-right"><input class="x_btn x_btn-primary" type="submit" value="{$lang->cmd_save}" /></span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
<filter name="insert_config" module="autoinstall" act="procAutoinstallAdminInsertConfig" confirm_msg_code="confirm_submit">
|
||||
<form>
|
||||
<node target="ftp_root_path" required="true" />
|
||||
<node target="location_site" required="true" />
|
||||
<node target="download_server" required="true" />
|
||||
</form>
|
||||
<response>
|
||||
<tag name="error" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue