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,7 +651,7 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes
651 .ktAction.ktDelete { background: transparent url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-trash.png) top left no-repeat; } 651 .ktAction.ktDelete { background: transparent url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-trash.png) top left no-repeat; }
652 .ktAction.ktEdit { background: transparent url(../../thirdparty/icon-theme/16x16/actions/document-properties.png) top left no-repeat; } 652 .ktAction.ktEdit { background: transparent url(../../thirdparty/icon-theme/16x16/actions/document-properties.png) top left no-repeat; }
653 .ktAction.ktAddUser { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.png) top left no-repeat; } 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 /* =========== standard listings. */ 656 /* =========== standard listings. */
657 657
resources/css/kt-ie-icons.css
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 .ktAction.ktDelete { background: transparent url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-trash.gif) top left no-repeat; } 5 .ktAction.ktDelete { background: transparent url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-trash.gif) top left no-repeat; }
6 .ktAction.ktEdit { background: transparent url(../../thirdparty/icon-theme/16x16/actions/document-properties.gif) top left no-repeat; } 6 .ktAction.ktEdit { background: transparent url(../../thirdparty/icon-theme/16x16/actions/document-properties.gif) top left no-repeat; }
7 .ktAction.ktAddUser { background: transparent url(../../thirdparty/icon-theme/16x16/actions/contact-new.gif) top left no-repeat; } 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 .contenttype.office { background-image: url(../../resources/mimetypes/office.gif); } 9 .contenttype.office { background-image: url(../../resources/mimetypes/office.gif); }
10 .contenttype.word { background-image: url(../../resources/mimetypes/word.gif); } 10 .contenttype.word { background-image: url(../../resources/mimetypes/word.gif); }
11 .contenttype.excel { background-image: url(../../resources/mimetypes/excel.gif); } 11 .contenttype.excel { background-image: url(../../resources/mimetypes/excel.gif); }
templates/ktcore/principals/groupadmin.smarty
1 <h2>{i18n}Group Administration{/i18n}</h2> 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 <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> 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 <!-- we roll both in here. --> 9 <!-- we roll both in here. -->
6 <form action="{$smarty.server.PHP_SELF}" method="POST"> 10 <form action="{$smarty.server.PHP_SELF}" method="POST">
7 <fieldset> 11 <fieldset>
templates/ktcore/principals/useradmin.smarty
@@ -2,10 +2,16 @@ @@ -2,10 +2,16 @@
2 2
3 3
4 <!-- FIXME inline CSS is _very_ bad. --> 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 <p><a href="?action=addUser" class="ktAction ktAddUser" style="float: 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 href="?action=addUser">{i18n}Add a new user{/i18n}</a>.</p> 13 href="?action=addUser">{i18n}Add a new user{/i18n}</a>.</p>
  14 +</fieldset>
9 15
10 <!-- we roll both in here. --> 16 <!-- we roll both in here. -->
11 <form action="{$smarty.server.PHP_SELF}" method="POST"> 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,10 +33,8 @@ very slow if you have many users.{/i18n}&lt;/p&gt;
27 </fieldset> 33 </fieldset>
28 </form> 34 </form>
29 35
30 -{if (no_search === true)}  
31 - 36 +{if ($no_search === true)}
32 {else} 37 {else}
33 -  
34 {if (!empty($search_results))} 38 {if (!empty($search_results))}
35 <table class="listing"> 39 <table class="listing">
36 <thead> 40 <thead>