ininitial froxlor commit;

'reverted' old-style update-process;
removed billing-classes, -functions and -templates;
some sql-fixes;
This commit is contained in:
Michael Kaufmann (d00p)
2010-01-20 09:12:52 +00:00
commit 9907afe630
580 changed files with 60898 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
$header
<form action="$filename" method="post">
<input type="hidden" name="s" value="$s"/>
<input type="hidden" name="page" value="$page"/>
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
<tr>
<td class="maintitle_search_left" colspan="5"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['ipsandports']}</b></td>
<td class="maintitle_search_right" colspan="5">{$searchcode}</td>
</tr>
<tr>
<td class="field_display_border_left">{$lng['admin']['ipsandports']['ip']}&nbsp;&nbsp;{$arrowcode['ip']}&nbsp;:&nbsp;{$lng['admin']['ipsandports']['port']}&nbsp;&nbsp;{$arrowcode['port']}</td>
<td class="field_display">Listen</td>
<td class="field_display">NameVirtualHost</td>
<td class="field_display">vHost-Container</td>
<td class="field_display">Specialsettings</td>
<td class="field_display">ServerName</td>
<td class="field_display">SSL</td>
<td class="field_display_search" colspan="2">{$sortcode}</td>
</tr>
$ipsandports
<if $pagingcode != ''>
<tr>
<td class="field_display_border_left" colspan="9" style=" text-align: center; ">{$pagingcode}</td>
</tr>
</if>
<tr>
<td class="field_display_border_left" colspan="9"><a href="$filename?page=$page&amp;action=add&amp;s=$s">{$lng['admin']['ipsandports']['add']}</a></td>
</tr>
</table>
</form>
<br />
<br />
$footer

View File

@@ -0,0 +1,109 @@
$header
<form method="post" action="$filename">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['add']}</b></td>
</tr>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['ipandport']}</b>
</td>
<td class="maintitle_apply_right" nowrap="nowrap">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['ip']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ip" value="" size="39" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['port']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="port" value="" size="5" /></td>
</tr>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['webserverdefaultconfig']}</b>
</td>
<td class="maintitle_apply_right" nowrap="nowrap">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['create_listen_statement']}:</td>
<td class="main_field_display" nowrap="nowrap">$listen_statement</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['create_namevirtualhost_statement']}:
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap">$namevirtualhost_statement</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['create_vhostcontainer']}:
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap">$vhostcontainer</td>
</tr>
<tr>
<td class="main_field_name" valign="top">{$lng['admin']['ownvhostsettings']}:<br /><font size="1">{$lng['serversettings']['default_vhostconf']['description']}</font>
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap"><textarea class="textarea_border" rows="12" cols="60" name="specialsettings"></textarea></td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['create_vhostcontainer_servername_statement']}:
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap">$vhostcontainer_servername_statement</td>
</tr>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['webserverdomainconfig']}</b>
</td>
<td class="maintitle_apply_right" nowrap="nowrap">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
<tr>
<td class="main_field_name" valign="top">{$lng['admin']['ipsandports']['default_vhostconf_domain']}:<br /><font size="1">{$lng['serversettings']['default_vhostconf']['description']}</font>
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap"><textarea class="textarea_border" rows="12" cols="60" name="default_vhostconf_domain"></textarea></td>
</tr>
<if $settings['system']['use_ssl'] == 1>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['webserverssldomainconfig']}</b>
</td>
<td class="maintitle_apply_right" nowrap="nowrap">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['enable_ssl']}</td>
<td class="main_field_display" nowrap="nowrap">$enable_ssl</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['ssl_cert_file']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ssl_cert_file" value="" size="32" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['ssl_key_file']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ssl_key_file" value="" size="32" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['ssl_ca_file']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ssl_ca_file" value="" size="32" /></td>
</tr>
</if>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" /></td>
</tr>
</table>
</form>
<br />
<br />
$footer

View File

@@ -0,0 +1,110 @@
$header
<form method="post" action="$filename">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['edit']}</b></td>
</tr>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['ipandport']}</b>
</td>
<td class="maintitle_apply_right" nowrap="nowrap">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['ip']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ip" value="{$result['ip']}" size="39" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['port']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="port" value="{$result['port']}" size="5" /></td>
</tr>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['webserverdefaultconfig']}</b>
</td>
<td class="maintitle_apply_right" nowrap="nowrap">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['create_listen_statement']}:</td>
<td class="main_field_display" nowrap="nowrap">$listen_statement</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['create_namevirtualhost_statement']}:
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap">$namevirtualhost_statement</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['create_vhostcontainer']}:
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap">$vhostcontainer</td>
</tr>
<tr>
<td class="main_field_name" valign="top">{$lng['admin']['ownvhostsettings']}:<br /><font size="1">{$lng['serversettings']['default_vhostconf']['description']}</font>
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap"><textarea class="textarea_border" rows="12" cols="60" name="specialsettings">{$result['specialsettings']}</textarea></td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['create_vhostcontainer_servername_statement']}:
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap">$vhostcontainer_servername_statement</td>
</tr>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['webserverdomainconfig']}</b>
</td>
<td class="maintitle_apply_right" nowrap="nowrap">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
<tr>
<td class="main_field_name" valign="top">{$lng['admin']['ipsandports']['default_vhostconf_domain']}:<br /><font size="1">{$lng['serversettings']['default_vhostconf']['description']}</font>
<if $settings['system']['webserver'] == 'lighttpd'><div style="color:red">{$lng['panel']['not_supported']}lighttpd</div></if>
</td>
<td class="main_field_display" nowrap="nowrap"><textarea class="textarea_border" rows="12" cols="60" name="default_vhostconf_domain">{$result['default_vhostconf_domain']}</textarea></td>
</tr>
<if $settings['system']['use_ssl'] == 1>
<tr>
<td class="maintitle_apply_left">
<b><img src="images/title.gif" alt="" />&nbsp;{$lng['admin']['ipsandports']['webserverssldomainconfig']}</b>
</td>
<td class="maintitle_apply_right" nowrap="nowrap">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['enable_ssl']}</td>
<td class="main_field_display" nowrap="nowrap">$enable_ssl</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['ssl_cert_file']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ssl_cert_file" value="{$result['ssl_cert_file']}" size="32" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['ssl_key_file']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ssl_key_file" value="{$result['ssl_key_file']}" size="32" /></td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['ssl_ca_file']}:</td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="ssl_ca_file" value="{$result['ssl_ca_file']}" size="32" /></td>
</tr>
</if>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" /></td>
</tr>
</table>
</form>
<br />
<br />
$footer

View File

@@ -0,0 +1,11 @@
<tr class="" onmouseover="this.className='RowOverSelected';" onmouseout="this.className='';">
<td class="field_name_border_left"><font size="-1">{$row['ip']}:{$row['port']}</font></td>
<td class="field_name"><font size="-1"><if $row['listen_statement']=='1'>{$lng['panel']['yes']}<else>{$lng['panel']['no']}</if></font></td>
<td class="field_name"><font size="-1"><if $row['namevirtualhost_statement']=='1'>{$lng['panel']['yes']}<else>{$lng['panel']['no']}</if></font></td>
<td class="field_name"><font size="-1"><if $row['vhostcontainer']=='1'>{$lng['panel']['yes']}<else>{$lng['panel']['no']}</if></font></td>
<td class="field_name"><font size="-1"><if $row['specialsettings']!=''>{$lng['panel']['yes']}<else>{$lng['panel']['no']}</if></font></td>
<td class="field_name"><font size="-1"><if $row['vhostcontainer_servername_statement']=='1'>{$lng['panel']['yes']}<else>{$lng['panel']['no']}</if></font></td>
<td class="field_name"><font size="-1"><if $row['ssl']=='1'>{$lng['panel']['yes']}<else>{$lng['panel']['no']}</if></font></td>
<td class="field_name"><a href="$filename?s=$s&amp;page=$page&amp;action=edit&amp;id={$row['id']}">{$lng['panel']['edit']}</a></td>
<td class="field_name"><a href="$filename?s=$s&amp;page=$page&amp;action=delete&amp;id={$row['id']}">{$lng['panel']['delete']}</a></td>
</tr>