added new indicator whether services/system has been configured (on new installations); show alternative configuration possibility via config-services.php script
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
22
templates/Sparkle/admin/configfiles/wizard.tpl
vendored
22
templates/Sparkle/admin/configfiles/wizard.tpl
vendored
@@ -8,6 +8,13 @@ $header
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<div class="messagewrapperfull">
|
||||
<div class="warningcontainer bradius">
|
||||
<div class="warningtitle">{$lng['admin']['warning']}</div>
|
||||
<div class="warning">{$lng['panel']['settings_before_configuration']}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<form action="$filename" method="get" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
@@ -51,10 +58,25 @@ $header
|
||||
<tr>
|
||||
<td colspan="2" align="center"><input class="bottom" type="submit" value="{$lng['panel']['next']}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<if Settings::Get('panel.is_configured') == '0'>
|
||||
<td colspan="2" align="center">{$lng['panel']['done_configuring']}:<br><br><a href="{$linker->getLink(array('section' => 'configfiles', 'page' => 'overview', 'action' => 'setconfigured'))}" class="btnlink">{$lng['panel']['ihave_configured']}</a><br><br></td>
|
||||
<else>
|
||||
<td colspan="2" align="center">{$lng['panel']['system_is_configured']}</td>
|
||||
</if>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<br><br><br>
|
||||
<section>
|
||||
<p><strong>{$lng['panel']['alternative_cmdline_config']}:</strong></p>
|
||||
<div class="pushbot">
|
||||
<textarea class="shell" rows="2" readonly>php {$basedir}/install/scripts/config-services.php --froxlor-dir={$basedir} --create</textarea>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
$footer
|
||||
|
||||
Reference in New Issue
Block a user