From 9abbe8f787b3395f9232f7166a07b24363e78c98 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 09 Jan 2008 15:46:06 -0500
Subject: [PATCH] - Added apache directives field. - Updated ToDo list.
---
TODO.txt | 9 +++++----
interface/web/sites/templates/web_domain_advanced.htm | 11 ++++++++---
server/conf/vhost.conf.master | 2 ++
install/sql/ispconfig3.sql | 1 +
interface/web/sites/lib/lang/en_web_domain.lng | 1 +
interface/web/sites/form/web_domain.tform.php | 8 ++++++++
6 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/TODO.txt b/TODO.txt
index 05bb208..a78d5aa 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -11,6 +11,7 @@
--------------------------------------
- Load and update system config from file into sql database during installation.
+- Add a function to let a server join a existing installation.
Server
@@ -55,9 +56,6 @@
- Add a function to the Sites module to create SSL certificates or upload
existing SSL certs and SSL chain files. It might be a good idea to add
this as a new tab named "SSL" to the exiting domain settings form.
-
-- Add a "httpd includes" field to the options tab of the domain settings form
- like it is implemented in ISPConfig 2.
- Make sure that changes in the domain name do not break the configuration.
@@ -67,6 +65,8 @@
WARNING: Please do not use the BE Designer at the moment, the serializing function
of the module editor may break some of the existing modules.
+
+- Add a language file editor.
Remoting framework
@@ -78,8 +78,9 @@
--------------------------------------
- Enhance the list function to allow soorting by column
-
- Enhance the paging in lists (e.g. like this: [1 2 3 4 ... 10])
+- Use graphical Icons in the lists for on / off columns.
+- Add a graphical delete button to the lists.
General tasks
diff --git a/install/sql/ispconfig3.sql b/install/sql/ispconfig3.sql
index ebd094f..6fd65fc 100644
--- a/install/sql/ispconfig3.sql
+++ b/install/sql/ispconfig3.sql
@@ -858,6 +858,7 @@
`ssl_cert` mediumtext NULL,
`ssl_bundle` mediumtext NULL,
`ssl_action` varchar(10) NULL,
+ `apache_directives` text,
`active` varchar(255) NOT NULL default 'y',
PRIMARY KEY (`domain_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
diff --git a/interface/web/sites/form/web_domain.tform.php b/interface/web/sites/form/web_domain.tform.php
index 6f713d9..a0a0848 100644
--- a/interface/web/sites/form/web_domain.tform.php
+++ b/interface/web/sites/form/web_domain.tform.php
@@ -339,6 +339,14 @@
'width' => '30',
'maxlength' => '255'
),
+ 'apache_directives' => array (
+ 'datatype' => 'TEXT',
+ 'formtype' => 'TEXT',
+ 'default' => '',
+ 'value' => '',
+ 'width' => '30',
+ 'maxlength' => '255'
+ ),
##################################
# ENDE Datatable fields
##################################
diff --git a/interface/web/sites/lib/lang/en_web_domain.lng b/interface/web/sites/lib/lang/en_web_domain.lng
index ffb180b..c49f9a4 100644
--- a/interface/web/sites/lib/lang/en_web_domain.lng
+++ b/interface/web/sites/lib/lang/en_web_domain.lng
@@ -33,4 +33,5 @@
$wb["limit_web_domain_txt"] = 'The max. number of web domains for your account is reached.';
$wb["limit_web_aliasdomain_txt"] = 'The max. number of aliasdomains for your account is reached.';
$wb["limit_web_subdomain_txt"] = 'The max. number of web subdomains for your account is reached.';
+$wb["apache_directives_txt"] = 'Apache directives';
?>
\ No newline at end of file
diff --git a/interface/web/sites/templates/web_domain_advanced.htm b/interface/web/sites/templates/web_domain_advanced.htm
index 51e6526..0f75c42 100644
--- a/interface/web/sites/templates/web_domain_advanced.htm
+++ b/interface/web/sites/templates/web_domain_advanced.htm
@@ -10,7 +10,12 @@
<tr>
<td class="frmText11">{tmpl_var name='system_group_txt'}:</td>
<td class="frmText11"><input name="system_group" type="text" class="text" value="{tmpl_var name='system_group'}" size="30" maxlength="255"></td>
- </tr> <tr>
+ </tr>
+ <tr>
+ <td class="frmText11">{tmpl_var name='apache_directives_txt'}:</td>
+ <td class="frmText11"><textarea name="apache_directives" class="text" rows="10" cols="30">{tmpl_var name='apache_directives'}</textarea></td>
+ </tr>
+ <tr>
<td class="frmText11"> </td>
<td class="frmText11"> </td>
</tr>
@@ -19,6 +24,6 @@
<td><input name="btn_save" type="button" class="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','sites/web_domain_edit.php');"><div class="buttonEnding"></div>
<input name="btn_cancel" type="button" class="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('sites/web_domain_list.php');"><div class="buttonEnding"></div>
</td>
- </tr>
-</table>
+ </tr>
+</table>
<input type="hidden" name="id" value="{tmpl_var name='id'}">
\ No newline at end of file
diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master
index afd65ba..78b57d8 100644
--- a/server/conf/vhost.conf.master
+++ b/server/conf/vhost.conf.master
@@ -55,6 +55,8 @@
</tmpl_loop>
</tmpl_if>
+<tmpl_var name='apache_directives'>
+
</VirtualHost>
--
Gitblit v1.9.1