Files
Froxlor/templates/Sparkle/admin/vhostconfig/overview_edit.tpl
Johannes Feichtner abe253bc31 Feature: Vhost templates
Reworked the initial implementation by hpmewes (https://github.com/Froxlor/Froxlor/pull/233) with
- bugfixes all over
- added support for apache and lighttpd also
- added an update sequence (instead of only modifying froxlor.sql)
- added english language variables
- added missing parts in admin_vhostsettings.php
- added parameter replacements as available since PR 244
2016-02-21 14:53:24 +01:00

78 lines
1.7 KiB
Smarty

$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/phpsettings_edit_big.png" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section>
<form action="{$linker->getLink(array('section' => 'vhostsettings'))}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="s" value="$s"/>
<input type="hidden" name="page" value="$page"/>
<input type="hidden" name="action" value="edit"/>
<input type="hidden" name="id" value="$id"/>
<input type="hidden" name="send" value="send" />
<table class="full">
{$vhostconfig_edit_form}
</table>
</form>
</section>
</article>
<br />
<article>
<header>
<h3>
{$lng['admin']['templates']['template_replace_vars']}
</h3>
</header>
<section>
<table class="full">
<thead>
<tr>
<th>{$lng['panel']['variable']}</th>
<th>{$lng['panel']['description']}</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>{CUSTOMER}</em></td>
<td>{$lng['admin']['phpconfig']['customer']}</td>
</tr>
<tr>
<td><em>{DOCROOT}</em></td>
<td>{$lng['admin']['vhostconfig']['docroot']}</td>
</tr>
<tr>
<td><em>{DOMAIN}</em></td>
<td>{$lng['admin']['phpconfig']['domain']}</td>
</tr>
<tr>
<td><em>{IP}</em></td>
<td>{$lng['admin']['vhostconfig']['ip']}</td>
</tr>
<tr>
<td><em>{PORT}</em></td>
<td>{$lng['admin']['vhostconfig']['port']}</td>
</tr>
<tr>
<td><em>{SCHEME}</em></td>
<td>{$lng['admin']['vhostconfig']['scheme']}</td>
</tr>
<tr>
<td><em>{SOCKET}</em></td>
<td>{$lng['admin']['vhostconfig']['socket_dir']}</td>
</tr>
</tbody>
</table>
</section>
</article>
$footer