From d6cf53ca37b502a2baf417047df25ada11c2aa38 Mon Sep 17 00:00:00 2001
From: bshuttle
Date: Thu, 26 Jan 2006 09:14:52 +0000
Subject: [PATCH] groups and users - add needed to be harmonised with the rest of the UI.
---
resources/css/kt-framing.css | 2 +-
resources/css/kt-ie-icons.css | 2 +-
templates/ktcore/principals/groupadmin.smarty | 6 +++++-
templates/ktcore/principals/useradmin.smarty | 14 +++++++++-----
4 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/resources/css/kt-framing.css b/resources/css/kt-framing.css
index b469701..03f2962 100644
--- a/resources/css/kt-framing.css
+++ b/resources/css/kt-framing.css
@@ -651,7 +651,7 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
.ktAction.ktDelete { background: transparent url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-trash.png) top left no-repeat; }
.ktAction.ktEdit { background: transparent url(../../thirdparty/icon-theme/16x16/actions/document-properties.png) top left no-repeat; }
.ktAction.ktAddUser { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.png) top left no-repeat; }
-.ktAction.ktAddGroup { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.png) top left no-repeat; }
+.ktAction.ktAddGroup { background: transparent url(../../thirdparty/icon-theme/16x16/actions/group-new.png) top left no-repeat; }
/* =========== standard listings. */
diff --git a/resources/css/kt-ie-icons.css b/resources/css/kt-ie-icons.css
index 0d77361..cbc4a9f 100644
--- a/resources/css/kt-ie-icons.css
+++ b/resources/css/kt-ie-icons.css
@@ -5,7 +5,7 @@
.ktAction.ktDelete { background: transparent url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-trash.gif) top left no-repeat; }
.ktAction.ktEdit { background: transparent url(../../thirdparty/icon-theme/16x16/actions/document-properties.gif) top left no-repeat; }
.ktAction.ktAddUser { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.gif) top left no-repeat; }
-.ktAction.ktAddGroup { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.gif) top left no-repeat; }
+.ktAction.ktAddGroup { background: transparent url(../../thirdparty/icon-theme/16x16/actions/group-new.gif) top left no-repeat; }
.contenttype.office { background-image: url(../../resources/mimetypes/office.gif); }
.contenttype.word { background-image: url(../../resources/mimetypes/word.gif); }
.contenttype.excel { background-image: url(../../resources/mimetypes/excel.gif); }
diff --git a/templates/ktcore/principals/groupadmin.smarty b/templates/ktcore/principals/groupadmin.smarty
index 2d87484..b10cf07 100644
--- a/templates/ktcore/principals/groupadmin.smarty
+++ b/templates/ktcore/principals/groupadmin.smarty
@@ -1,7 +1,11 @@
{i18n}Group Administration{/i18n}
+
-{if (no_search === true)}
-
+{if ($no_search === true)}
{else}
-
{if (!empty($search_results))}