add isset check for @vhosts_array
This commit is contained in:
parent
a46cc02930
commit
9259d6cd6b
|
@ -1,6 +1,8 @@
|
||||||
<include href="header.html" />
|
<include href="header.html" />
|
||||||
|
|
||||||
<table>
|
<check if="isset(@vhosts_array)">
|
||||||
|
<true>
|
||||||
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Website</th>
|
<th>Website</th>
|
||||||
<th>Username</th>
|
<th>Username</th>
|
||||||
|
@ -19,13 +21,18 @@
|
||||||
|
|
||||||
</repeat>
|
</repeat>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
<p>
|
<p>
|
||||||
Select a <b>Website</b> name above for more details and options.<br>
|
Select a <b>Website</b> name above for more details and options.<br>
|
||||||
<b>Username</b> is the system username that owns the website files.<br>
|
<b>Username</b> is the system username that owns the website files.<br>
|
||||||
<b>Config</b> is the Apache server Macro Virtualhost config currently set for the site.<br>
|
<b>Config</b> is the Apache server Macro Virtualhost config currently set for the site.<br>
|
||||||
<b>Status</b> can be used to disable a site without deleting any files or other configs.<br>
|
<b>Status</b> can be used to disable a site without deleting any files or other configs.<br>
|
||||||
</p>
|
</p>
|
||||||
|
</true>
|
||||||
|
<false>
|
||||||
|
<p>There are no website domains on this server.</p>
|
||||||
|
</false>
|
||||||
|
</check>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="#Add_New_Website">Add new Website form</a>
|
<a href="#Add_New_Website">Add new Website form</a>
|
||||||
|
@ -38,10 +45,10 @@ Select a <b>Website</b> name above for more details and options.<br>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Only the domain name is required</legend>
|
<legend>Only the domain name is required</legend>
|
||||||
<label for="domain">Domain Name <small>(Do not include 'www', that will be aliased to the main domain)</small></label>
|
<label for="domain">Domain Name <small>(Do not include 'www', that will be aliased to the main domain)</small></label>
|
||||||
<input id="domain" name="domain" type="text" placeholder="example.com" value="{{ @vhost.domain }}" required>
|
<input id="domain" name="domain" type="text" placeholder="example.com" value="" required>
|
||||||
|
|
||||||
<label for="username">Username <small>(System username, leave empty for auto-creation)</small></label>
|
<label for="username">Username <small>(System username, leave empty for auto-creation)</small></label>
|
||||||
<input id="username" name="username" type="text" value="{{ @vhost.username }}" required>
|
<input id="username" name="username" type="text" placeholder="examplec" value="" required>
|
||||||
|
|
||||||
Check to jail user: <input type="checkbox" id="jail" name="jail" value="yes" checked>
|
Check to jail user: <input type="checkbox" id="jail" name="jail" value="yes" checked>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user