Commit d6cf53ca37b502a2baf417047df25ada11c2aa38

Authored by bshuttle
1 parent 9075f5e4

groups and users - add needed to be harmonised with the rest of the UI.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4690 c91229c3-7414-0410-bfa2-8a42b809f60b
resources/css/kt-framing.css
... ... @@ -651,7 +651,7 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
651 651 .ktAction.ktDelete { background: transparent url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-trash.png) top left no-repeat; }
652 652 .ktAction.ktEdit { background: transparent url(../../thirdparty/icon-theme/16x16/actions/document-properties.png) top left no-repeat; }
653 653 .ktAction.ktAddUser { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.png) top left no-repeat; }
654   -.ktAction.ktAddGroup { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.png) top left no-repeat; }
  654 +.ktAction.ktAddGroup { background: transparent url(../../thirdparty/icon-theme/16x16/actions/group-new.png) top left no-repeat; }
655 655  
656 656 /* =========== standard listings. */
657 657  
... ...
resources/css/kt-ie-icons.css
... ... @@ -5,7 +5,7 @@
5 5 .ktAction.ktDelete { background: transparent url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-trash.gif) top left no-repeat; }
6 6 .ktAction.ktEdit { background: transparent url(../../thirdparty/icon-theme/16x16/actions/document-properties.gif) top left no-repeat; }
7 7 .ktAction.ktAddUser { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.gif) top left no-repeat; }
8   -.ktAction.ktAddGroup { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.gif) top left no-repeat; }
  8 +.ktAction.ktAddGroup { background: transparent url(../../thirdparty/icon-theme/16x16/actions/group-new.gif) top left no-repeat; }
9 9 .contenttype.office { background-image: url(../../resources/mimetypes/office.gif); }
10 10 .contenttype.word { background-image: url(../../resources/mimetypes/word.gif); }
11 11 .contenttype.excel { background-image: url(../../resources/mimetypes/excel.gif); }
... ...
templates/ktcore/principals/groupadmin.smarty
1 1 <h2>{i18n}Group Administration{/i18n}</h2>
2 2  
  3 +<fieldset>
  4 +<legend>Add New Group</legend>
  5 +<p class="descriptiveText">{i18n}Groups allow you to assign permissions and roles to a
  6 +number of different users at once.{/i18n}</p>
3 7 <p><a href="?action=addGroup" class="ktAction ktAddGroup" style="float: left; padding-right: 0.5em;">Add Group</a><a href="?action=addGroup">Add a new group</a>.</p>
4   -
  8 +</fieldset>
5 9 <!-- we roll both in here. -->
6 10 <form action="{$smarty.server.PHP_SELF}" method="POST">
7 11 <fieldset>
... ...
templates/ktcore/principals/useradmin.smarty
... ... @@ -2,10 +2,16 @@
2 2  
3 3  
4 4 <!-- FIXME inline CSS is _very_ bad. -->
5   -
  5 +<fieldset>
  6 +<legend>Add New Users</legend>
  7 +<p class="descriptiveText">{i18n}To allow users access to the DMS, you need to provide them with
  8 +credentials through this section. Even if you are using an external source
  9 +of login information like <strong>LDAP</strong>, you will need to use this section
  10 +to retrieve their information from the external source.{/i18n}</p>
6 11 <p><a href="?action=addUser" class="ktAction ktAddUser" style="float:
7   -left; padding-right: 0.5em;">Add User</a><a
  12 +left; padding-right: 0.5em;">{i18n}Add a new user{/i18n}</a><a
8 13 href="?action=addUser">{i18n}Add a new user{/i18n}</a>.</p>
  14 +</fieldset>
9 15  
10 16 <!-- we roll both in here. -->
11 17 <form action="{$smarty.server.PHP_SELF}" method="POST">
... ... @@ -27,10 +33,8 @@ very slow if you have many users.{/i18n}&lt;/p&gt;
27 33 </fieldset>
28 34 </form>
29 35  
30   -{if (no_search === true)}
31   -
  36 +{if ($no_search === true)}
32 37 {else}
33   -
34 38 {if (!empty($search_results))}
35 39 <table class="listing">
36 40 <thead>
... ...