From 2124f52d0de5d9596c7efdc45732c1ff8cc96138 Mon Sep 17 00:00:00 2001 From: Bogomil Shopov Date: Wed, 20 Apr 2011 14:57:54 +0300 Subject: New welcome screen fixes. https://bugzilla.kolabsys.com/show_bug.cgi?id=87 --- data/templates/welcome-admin.tpl | 14 +++++++------- data/templates/welcome-domain-maintainer.tpl | 22 ++++++++++++++++++++++ data/templates/welcome-maintainer.tpl | 14 +++++++------- data/templates/welcome-user.tpl | 6 +++--- www/admin/custom.css | 7 +++++++ www/admin/index.php | 3 +++ 6 files changed, 49 insertions(+), 17 deletions(-) mode change 100644 => 100755 data/templates/welcome-admin.tpl create mode 100644 data/templates/welcome-domain-maintainer.tpl mode change 100644 => 100755 data/templates/welcome-maintainer.tpl mode change 100644 => 100755 data/templates/welcome-user.tpl mode change 100644 => 100755 www/admin/custom.css mode change 100644 => 100755 www/admin/index.php diff --git a/data/templates/welcome-admin.tpl b/data/templates/welcome-admin.tpl old mode 100644 new mode 100755 index fd8e441..7a88759 --- a/data/templates/welcome-admin.tpl +++ b/data/templates/welcome-admin.tpl @@ -10,22 +10,22 @@ - +
-Manage Users
{tr msg="Manage Users"}
+Manage Users
{tr msg="Manage Users"}
-Addressbook
{tr msg="Addressbook"}
+Addressbook
{tr msg="Addressbook"}
-Shared Folders
{tr msg="Shared Folders"}
+Shared Folders
{tr msg="Shared Folders"}
-Administrator
{tr msg="Administrator"}
+Administrator
{tr msg="Administrator"}
-Settings
{tr msg="Settings"}
+Settings
{tr msg="Settings"}
-About Kolab
{tr msg="About"}
+About Kolab
{tr msg="About"}
\ No newline at end of file diff --git a/data/templates/welcome-domain-maintainer.tpl b/data/templates/welcome-domain-maintainer.tpl new file mode 100644 index 0000000..9de2f87 --- /dev/null +++ b/data/templates/welcome-domain-maintainer.tpl @@ -0,0 +1,22 @@ +{* Smarty Template *} +{* + Local variables: + buffer-file-coding-system: utf-8 + End: +*} +
+

{tr msg="Welcome to the Kolab Groupware Server Maintenance"}

+ + + + + + +
+Manage Users
{tr msg="Manage Users"}
+
+Shared Folders
{tr msg="Shared Folders"}
+
+About Kolab
{tr msg="About"}
+
+
\ No newline at end of file diff --git a/data/templates/welcome-maintainer.tpl b/data/templates/welcome-maintainer.tpl old mode 100644 new mode 100755 index ef5f190..ecffab7 --- a/data/templates/welcome-maintainer.tpl +++ b/data/templates/welcome-maintainer.tpl @@ -10,22 +10,22 @@ - +
-Manage Users
{tr msg="Manage Users"}
+Manage Users
{tr msg="Manage Users"}
-Addressbook
{tr msg="Addressbook"}
+Addressbook
{tr msg="Addressbook"}
-Shared Folders
{tr msg="Shared Folders"}
+Shared Folders
{tr msg="Shared Folders"}
-Administrator
{tr msg="Administrator"}
+Administrator
{tr msg="Administrator"}
-Settings
{tr msg="Settings"}
+Settings
{tr msg="Settings"}
-About Kolab
{tr msg="About"}
+About Kolab
{tr msg="About"}
\ No newline at end of file diff --git a/data/templates/welcome-user.tpl b/data/templates/welcome-user.tpl old mode 100644 new mode 100755 index 968f378..6bd553d --- a/data/templates/welcome-user.tpl +++ b/data/templates/welcome-user.tpl @@ -10,10 +10,10 @@ - +
-My settings
{tr msg="My settings"}
+My settings
{tr msg="My settings"}
-About Kolab
{tr msg="About"}
+About Kolab
{tr msg="About"}
\ No newline at end of file diff --git a/www/admin/custom.css b/www/admin/custom.css old mode 100644 new mode 100755 index c529cca..1fdc164 --- a/www/admin/custom.css +++ b/www/admin/custom.css @@ -181,3 +181,10 @@ border: 1px dashed; background-color: #c6ced8; } + +.welcomelinks{ + color: #5d5656; + text-decoration: none; + font-size:12px; + text-align: center; +} diff --git a/www/admin/index.php b/www/admin/index.php old mode 100644 new mode 100755 index 265a221..d4e5d9a --- a/www/admin/index.php +++ b/www/admin/index.php @@ -57,6 +57,9 @@ if ($auth->group() == 'user') { if ($auth->group() == 'maintainer') { $maincontent = 'welcome-maintainer.tpl'; } +if ($auth->group() == 'domain-maintainer') { + $maincontent = 'welcome-domain-maintainer.tpl'; +} /**** Insert into template and output ***/ -- cgit v0.12