쉬운설치 개선

This commit is contained in:
hanssem@forppl.com 2020-08-09 20:38:06 +09:00
parent c3d40f733d
commit 2e523370d7
9 changed files with 125 additions and 7 deletions

View 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>