summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorChristoph Wickert <cwickert@fedoraproject.org>2011-04-19 15:51:17 (GMT)
committerJeroen van Meeuwen (Ergo Project) <jeroen.van.meeuwen@ergo-project.org>2011-04-19 16:13:03 (GMT)
commit0a50c36154066f2ec6ea7de2a7684781b8a34e4d (patch)
tree8082fda261b608606b0382c7bdc09fe3856bf1da /www
parentd0daa629453aec1b088bd767ee9d686898c95c67 (diff)
downloadkolab-webadmin-0a50c36154066f2ec6ea7de2a7684781b8a34e4d.tar.gz
Update About section from Georg
Diffstat (limited to 'www')
-rw-r--r--www/admin/index.php8
-rw-r--r--www/admin/kolab/kolabsystems.php44
-rw-r--r--www/admin/kolab/technology.php43
-rw-r--r--www/admin/pics/dialog-information.pngbin0 -> 4255 bytes
-rw-r--r--www/admin/pics/kolabsystems_logo.pngbin0 -> 12281 bytes
-rw-r--r--www/admin/pics/office-address-book.pngbin0 -> 6651 bytes
-rw-r--r--www/admin/pics/preferences-system-network-sharing.pngbin0 -> 4995 bytes
-rw-r--r--www/admin/pics/preferences-system.pngbin0 -> 6296 bytes
-rw-r--r--www/admin/pics/resource-group.pngbin0 -> 5049 bytes
-rw-r--r--www/admin/pics/system-users.pngbin0 -> 4641 bytes
10 files changed, 95 insertions, 0 deletions
diff --git a/www/admin/index.php b/www/admin/index.php
index b1235d4..265a221 100644
--- a/www/admin/index.php
+++ b/www/admin/index.php
@@ -37,6 +37,7 @@ function exists_group( $group ) {
/**** Check for system aliases ****/
$maincontent = 'welcome.tpl';
if( $auth->group() == 'admin' ) {
+ $maincontent = 'welcome-admin.tpl';
$domains = $ldap->domains();
foreach( $domains as $domain ) {
if( (!exists_group( 'hostmaster@'.$domain ) ||
@@ -50,6 +51,13 @@ if( $auth->group() == 'admin' ) {
}
}
}
+if ($auth->group() == 'user') {
+ $maincontent = 'welcome-user.tpl';
+}
+if ($auth->group() == 'maintainer') {
+ $maincontent = 'welcome-maintainer.tpl';
+}
+
/**** Insert into template and output ***/
$smarty = new MySmarty();
diff --git a/www/admin/kolab/kolabsystems.php b/www/admin/kolab/kolabsystems.php
new file mode 100644
index 0000000..8451066
--- /dev/null
+++ b/www/admin/kolab/kolabsystems.php
@@ -0,0 +1,44 @@
+<?php
+/*
+ (c) 2011 Kolab Systems AG
+ (c) 2004 Klarlvdalens Datakonsult AB
+ (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
+ (c) 2003 Martin Konold <martin.konold@erfrakon.de>
+ This program is Free Software under the GNU General Public License (>=v2).
+ Read the file COPYING that comes with this packages for details.
+*/
+
+require_once('admin/include/mysmarty.php');
+require_once('admin/include/headers.php');
+require_once('admin/include/locale.php');
+require_once('admin/include/authenticate.php');
+
+/**** Authentication etc. ***/
+$sidx = 'about';
+
+require_once('admin/include/menu.php');
+
+
+/**** Submenu for current page ***/
+$menuitems[$sidx]['selected'] = 'selected';
+
+/**** Insert into template and output ***/
+$smarty =& new MySmarty();
+$smarty->assign( 'topdir', $topdir );
+$smarty->assign( 'uid', $auth->uid() );
+$smarty->assign( 'group', $auth->group() );
+$smarty->assign( 'page_title', $menuitems[$sidx]['title'] );
+$smarty->assign( 'menuitems', $menuitems );
+$smarty->assign( 'submenuitems', $menuitems[$sidx]['submenu'] );
+$smarty->assign( 'maincontent', 'kolabsystems.tpl' );
+$smarty->display('page.tpl');
+
+/*
+ Local variables:
+ mode: php
+ indent-tabs-mode: t
+ tab-width: 4
+ buffer-file-coding-system: utf-8
+ End:
+*/
+ ?>
diff --git a/www/admin/kolab/technology.php b/www/admin/kolab/technology.php
new file mode 100644
index 0000000..f5d8a3b
--- /dev/null
+++ b/www/admin/kolab/technology.php
@@ -0,0 +1,43 @@
+<?php
+/*
+ (c) 2004 Klarälvdalens Datakonsult AB
+ (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
+ (c) 2003 Martin Konold <martin.konold@erfrakon.de>
+ This program is Free Software under the GNU General Public License (>=v2).
+ Read the file COPYING that comes with this packages for details.
+*/
+
+require_once('admin/include/mysmarty.php');
+require_once('admin/include/headers.php');
+require_once('admin/include/locale.php');
+require_once('admin/include/authenticate.php');
+
+/**** Authentication etc. ***/
+$sidx = 'about';
+
+require_once('admin/include/menu.php');
+
+
+/**** Submenu for current page ***/
+$menuitems[$sidx]['selected'] = 'selected';
+
+/**** Insert into template and output ***/
+$smarty = new MySmarty();
+$smarty->assign( 'topdir', $topdir );
+$smarty->assign( 'uid', $auth->uid() );
+$smarty->assign( 'group', $auth->group() );
+$smarty->assign( 'page_title', $menuitems[$sidx]['title'] );
+$smarty->assign( 'menuitems', $menuitems );
+$smarty->assign( 'submenuitems', $menuitems[$sidx]['submenu'] );
+$smarty->assign( 'maincontent', 'technology.tpl' );
+$smarty->display('page.tpl');
+
+/*
+ Local variables:
+ mode: php
+ indent-tabs-mode: t
+ tab-width: 4
+ coding: utf-8
+ End:
+*/
+ ?>
diff --git a/www/admin/pics/dialog-information.png b/www/admin/pics/dialog-information.png
new file mode 100644
index 0000000..c65f616
--- /dev/null
+++ b/www/admin/pics/dialog-information.png
Binary files differ
diff --git a/www/admin/pics/kolabsystems_logo.png b/www/admin/pics/kolabsystems_logo.png
new file mode 100644
index 0000000..90620d3
--- /dev/null
+++ b/www/admin/pics/kolabsystems_logo.png
Binary files differ
diff --git a/www/admin/pics/office-address-book.png b/www/admin/pics/office-address-book.png
new file mode 100644
index 0000000..3b00f62
--- /dev/null
+++ b/www/admin/pics/office-address-book.png
Binary files differ
diff --git a/www/admin/pics/preferences-system-network-sharing.png b/www/admin/pics/preferences-system-network-sharing.png
new file mode 100644
index 0000000..b6faf42
--- /dev/null
+++ b/www/admin/pics/preferences-system-network-sharing.png
Binary files differ
diff --git a/www/admin/pics/preferences-system.png b/www/admin/pics/preferences-system.png
new file mode 100644
index 0000000..9ea5cec
--- /dev/null
+++ b/www/admin/pics/preferences-system.png
Binary files differ
diff --git a/www/admin/pics/resource-group.png b/www/admin/pics/resource-group.png
new file mode 100644
index 0000000..84cfa89
--- /dev/null
+++ b/www/admin/pics/resource-group.png
Binary files differ
diff --git a/www/admin/pics/system-users.png b/www/admin/pics/system-users.png
new file mode 100644
index 0000000..e2bd558
--- /dev/null
+++ b/www/admin/pics/system-users.png
Binary files differ