- correct sql-query in update to drop table, fixes #440

- use correct language-variable for ips-and-ports docroot-setting, fixes #441
This commit is contained in:
Michael Kaufmann (d00p)
2010-10-17 02:01:18 +00:00
parent 382bd88344
commit 118693471c
3 changed files with 3 additions and 3 deletions

View File

@@ -1219,7 +1219,7 @@ if(isFroxlorVersion('0.9.14-svn6'))
lastStepStatus(0);
showUpdateStep("Adding new table `".TABLE_FROXLOR_CLIENTS."`");
$db->query("DROP TABLE IF EXISTS `".TABLE_FROXLOR_CLIENTS."`;)");
$db->query("DROP TABLE IF EXISTS `".TABLE_FROXLOR_CLIENTS."`");
$db->query("CREATE TABLE IF NOT EXISTS `".TABLE_FROXLOR_CLIENTS."` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL,

View File

@@ -48,7 +48,7 @@ $header
<td class="main_field_display" nowrap="nowrap">$vhostcontainer</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['docroot']}:</td>
<td class="main_field_name">{$lng['admin']['ipsandports']['docroot']['title']}:<br /><font size="1">{$lng['admin']['ipsandports']['docroot']['description']}</font></td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="docroot" value="" /></td>
</tr>
<tr>

View File

@@ -47,7 +47,7 @@ $header
<td class="main_field_display" nowrap="nowrap">$vhostcontainer</td>
</tr>
<tr>
<td class="main_field_name">{$lng['admin']['ipsandports']['docroot']}:</td>
<td class="main_field_name">{$lng['admin']['ipsandports']['docroot']['title']}:<br /><font size="1">{$lng['admin']['ipsandports']['docroot']['description']}</font></td>
<td class="main_field_display" nowrap="nowrap"><input type="text" class="text" name="docroot" value="{$result['docroot']}" /></td>
</tr>
<tr>