Commit b9ed22c485151665180149787e2a1bcda162c508

Authored by kevin_fourie
1 parent 4e3b6b8b

Merged in from DEV trunk...

KTS-2002
"UI has multiple issues related to it. "
Fixed. Added ktError changes.

Reviewed By: Conrad

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6655 c91229c3-7414-0410-bfa2-8a42b809f60b
browse.php
@@ -26,10 +26,6 @@ @@ -26,10 +26,6 @@
26 * (C) 2007 The Jam Warehouse Software (Pty) Ltd; 26 * (C) 2007 The Jam Warehouse Software (Pty) Ltd;
27 * All Rights Reserved. 27 * All Rights Reserved.
28 * Contributor( s): ______________________________________ 28 * Contributor( s): ______________________________________
29 - *  
30 - *  
31 - * @version $Revision$  
32 - * @author Brad Shuttleworth <brad@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa  
33 */ 29 */
34 30
35 // main library routines and defaults 31 // main library routines and defaults
dashboard.php
@@ -30,10 +30,6 @@ @@ -30,10 +30,6 @@
30 * (C) 2007 The Jam Warehouse Software (Pty) Ltd; 30 * (C) 2007 The Jam Warehouse Software (Pty) Ltd;
31 * All Rights Reserved. 31 * All Rights Reserved.
32 * Contributor( s): ______________________________________ 32 * Contributor( s): ______________________________________
33 - *  
34 - *  
35 - * @version $Revision$  
36 - * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa  
37 */ 33 */
38 34
39 // main library routines and defaults 35 // main library routines and defaults
lib/ktentity.inc
@@ -28,11 +28,6 @@ @@ -28,11 +28,6 @@
28 * (C) 2007 The Jam Warehouse Software (Pty) Ltd; 28 * (C) 2007 The Jam Warehouse Software (Pty) Ltd;
29 * All Rights Reserved. 29 * All Rights Reserved.
30 * Contributor( s): ______________________________________ 30 * Contributor( s): ______________________________________
31 - *  
32 - *  
33 - * @version $Revision$  
34 - * @author Neil Blakey-Milner, Jam Warehouse (Pty) Ltd, South Africa  
35 - * @package lib  
36 */ 31 */
37 32
38 $_LCASECACHE = array(); 33 $_LCASECACHE = array();
lib/sanitize.inc
@@ -28,10 +28,6 @@ @@ -28,10 +28,6 @@
28 * (C) 2007 The Jam Warehouse Software (Pty) Ltd; 28 * (C) 2007 The Jam Warehouse Software (Pty) Ltd;
29 * All Rights Reserved. 29 * All Rights Reserved.
30 * Contributor( s): ______________________________________ 30 * Contributor( s): ______________________________________
31 - *  
32 - *  
33 - * @version $Revision$  
34 - * @author Andrew Glen-Young <andrew@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa  
35 */ 31 */
36 32
37 /** 33 /**
plugins/ktcore/KTDocumentActions.php
1 <?php 1 <?php
2 -  
3 /** 2 /**
  3 + * $Id$
4 * 4 *
5 * The contents of this file are subject to the KnowledgeTree Public 5 * The contents of this file are subject to the KnowledgeTree Public
6 * License Version 1.1.2 ("License"); You may not use this file except in 6 * License Version 1.1.2 ("License"); You may not use this file except in
plugins/ktcore/admin/roleManagement.php
1 <?php 1 <?php
2 /* 2 /*
  3 + * $Id$
  4 + *
3 * Document Link Type management 5 * Document Link Type management
4 * 6 *
5 * The contents of this file are subject to the KnowledgeTree Public 7 * The contents of this file are subject to the KnowledgeTree Public
@@ -26,11 +28,6 @@ @@ -26,11 +28,6 @@
26 * (C) 2007 The Jam Warehouse Software (Pty) Ltd; 28 * (C) 2007 The Jam Warehouse Software (Pty) Ltd;
27 * All Rights Reserved. 29 * All Rights Reserved.
28 * Contributor( s): ______________________________________ 30 * Contributor( s): ______________________________________
29 - *  
30 - *  
31 - * @version $Revision$  
32 - * @author Brad Shuttleworth <brad@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa  
33 - * @package documentmanagement  
34 */ 31 */
35 32
36 require_once(KT_LIB_DIR . '/dispatcher.inc.php'); 33 require_once(KT_LIB_DIR . '/dispatcher.inc.php');
resources/css/kt-framing.css
@@ -806,31 +806,31 @@ a.main_nav_item { @@ -806,31 +806,31 @@ a.main_nav_item {
806 margin: 20px auto; 806 margin: 20px auto;
807 } 807 }
808 808
809 -.ktErrorMessage {  
810 - background-color: #ffdd80;  
811 - border: 1px solid #FFC21E;  
812 - margin: 20px auto;  
813 -}  
814 -  
815 -.ktErrorMessage p { 809 +.ktError p {
816 margin-left: 20px; 810 margin-left: 20px;
817 padding-left: 25px; 811 padding-left: 25px;
818 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat; 812 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat;
819 } 813 }
820 814
821 -.ktErrorMessage span { 815 +.ktError span {
822 margin-left: 20px; 816 margin-left: 20px;
823 padding-left: 25px; 817 padding-left: 25px;
824 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat; 818 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat;
825 } 819 }
826 820
827 -.ktError p { 821 +.ktErrorMessage {
  822 + background-color: #ffdd80;
  823 + border: 1px solid #FFC21E;
  824 + margin: 20px auto;
  825 +}
  826 +
  827 +.ktErrorMessage p {
828 margin-left: 20px; 828 margin-left: 20px;
829 padding-left: 25px; 829 padding-left: 25px;
830 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat; 830 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat;
831 } 831 }
832 832
833 -.ktError span { 833 +.ktErrorMessage span {
834 margin-left: 20px; 834 margin-left: 20px;
835 padding-left: 25px; 835 padding-left: 25px;
836 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat; 836 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat;
resources/css/kt-login.css
@@ -128,20 +128,14 @@ @@ -128,20 +128,14 @@
128 } 128 }
129 129
130 /* block level. */ 130 /* block level. */
131 -.ktError {  
132 - background: #ffdd80 url(../../resources/graphics/error_toprepeat.png) top left repeat-x; 131 +.ktErrorMessage {
  132 + background-color: #ffdd80;
133 border: 1px solid #FFC21E; 133 border: 1px solid #FFC21E;
134 margin: 20px auto; 134 margin: 20px auto;
135 } 135 }
136 136
137 -.ktError p {  
138 - margin-left: 20px;  
139 - padding-left: 25px;  
140 - background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat;  
141 -}  
142 -  
143 -.ktError span {  
144 - margin-left: 20px; 137 +.ktErrorMessage span {
  138 + margin-left: 0px;
145 padding-left: 25px; 139 padding-left: 25px;
146 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat; 140 background: #ffdd80 url(../../thirdparty/icon-theme/16x16/status/dialog-warning.png) center left no-repeat;
147 } 141 }
templates/kt3/fieldsets/conditional_editable_values.smarty
@@ -2,12 +2,12 @@ @@ -2,12 +2,12 @@
2 <legend>{$title}</legend> 2 <legend>{$title}</legend>
3 <input type="hidden" class="fixed" name="fieldset" value="{$fieldset_id}" /> 3 <input type="hidden" class="fixed" name="fieldset" value="{$fieldset_id}" />
4 {if $context->aError} 4 {if $context->aError}
5 - <div class="ktError">  
6 - <p> 5 + <div class="ktErrorMessage">
  6 + <span>
7 {i18n}The data for this conditional metadata fieldset was not 7 {i18n}The data for this conditional metadata fieldset was not
8 completely provided. Provide the extra information, and save your 8 completely provided. Provide the extra information, and save your
9 changes afterwards.{/i18n} 9 changes afterwards.{/i18n}
10 - </p> 10 + </span>
11 </div> 11 </div>
12 {/if} 12 {/if}
13 <p class="descriptiveText"> 13 <p class="descriptiveText">
templates/ktcore/document/admin/force_checkin_confirm.smarty
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
16 {$checkout_user->getName()} 16 {$checkout_user->getName()}
17 </dd> 17 </dd>
18 {else} 18 {else}
19 - <dd class="ktError"> 19 + <dd class="ktErrorMessage">
20 {i18n}The user who checked this document out is no longer valid.{/i18n} 20 {i18n}The user who checked this document out is no longer valid.{/i18n}
21 </dd> 21 </dd>
22 {/if} 22 {/if}
templates/ktcore/document/cleanup.smarty
@@ -9,7 +9,7 @@ which you should investigate.{/i18n}&lt;/p&gt; @@ -9,7 +9,7 @@ which you should investigate.{/i18n}&lt;/p&gt;
9 <p class="descriptiveText">{i18n}All paths are relative to your Documents directory.{/i18n}</p> 9 <p class="descriptiveText">{i18n}All paths are relative to your Documents directory.{/i18n}</p>
10 10
11 {if $aFilesToRemove or $aRepoDocumentProblems} 11 {if $aFilesToRemove or $aRepoDocumentProblems}
12 -<div class="ktError"><p>{i18n}Warning: Database is inconsistent with the contents of the repository.{/i18n}</p></div> 12 +<div class="ktErrorMessage"><span>{i18n}Warning: Database is inconsistent with the contents of the repository.{/i18n}</span></div>
13 13
14 14
15 {if $aRepoDocumentProblems} 15 {if $aRepoDocumentProblems}
templates/ktcore/help_with_edit.smarty
1 {if (!$help_body)} 1 {if (!$help_body)}
2 -<div class="ktError"><p>{i18n}No content specified for this help file yet. <strong>Edit it first.</strong>{/i18n}</p></div> 2 +<div class="ktErrorMessage"><span>{i18n}No content specified for this help file yet. <strong>Edit it first.</strong>{/i18n}</span></div>
3 {else} 3 {else}
4 4
5 {$context->oPage->requireJSResource("resources/js/help.js")} 5 {$context->oPage->requireJSResource("resources/js/help.js")}
templates/ktcore/login.smarty
@@ -30,7 +30,7 @@ @@ -30,7 +30,7 @@
30 {if ($errorMessage == null)} 30 {if ($errorMessage == null)}
31 <p class="descriptiveText">{i18n}Please enter your details below to login.{/i18n}</p> 31 <p class="descriptiveText">{i18n}Please enter your details below to login.{/i18n}</p>
32 {else} 32 {else}
33 - <div class="ktError"><p>{$errorMessage}</p></div> 33 + <div class="ktErrorMessage"><span>{$errorMessage}</span></div>
34 {/if} 34 {/if}
35 <label for="username">{i18n}Username{/i18n}</label> 35 <label for="username">{i18n}Username{/i18n}</label>
36 <input type="text" id="username" name="username"/> 36 <input type="text" id="username" name="username"/>
templates/ktcore/metadata/conditional/manageConditional.smarty
@@ -25,9 +25,9 @@ the issues identified below.{/i18n}&lt;/span&gt; @@ -25,9 +25,9 @@ the issues identified below.{/i18n}&lt;/span&gt;
25 {/if} 25 {/if}
26 26
27 {if $sIncomplete} 27 {if $sIncomplete}
28 -<div class="ktError">  
29 -<p>{i18n}This error prevents this fieldset from being set  
30 -to complete{/i18n}: {$sIncomplete|escape}</p> 28 +<div class="ktErrorMessage">
  29 +<span>{i18n}This error prevents this fieldset from being set
  30 +to complete{/i18n}: {$sIncomplete|escape}</span>
31 </div> 31 </div>
32 {/if} 32 {/if}
33 {/if} 33 {/if}
templates/ktcore/metadata/editFieldset.smarty
1 <h2>{i18n}Fieldset{/i18n}: {$oFieldset->getName()|escape}</h2> 1 <h2>{i18n}Fieldset{/i18n}: {$oFieldset->getName()|escape}</h2>
2 2
3 {if $sIncomplete} 3 {if $sIncomplete}
4 -<div class="ktError">  
5 -<p><strong>{i18n}Incomplete{/i18n}: </strong>{i18n}This conditional fieldset cannot be used{/i18n}: <br />  
6 -{$sIncomplete|escape}</p> 4 +<div class="ktErrorMessage">
  5 +<span><strong>{i18n}Incomplete{/i18n}: </strong>{i18n}This conditional fieldset cannot be used{/i18n}: <br />
  6 +{$sIncomplete|escape}</span>
7 </div> 7 </div>
8 {/if} 8 {/if}
9 9
templates/ktcore/principals/groupadmin.smarty
@@ -72,7 +72,7 @@ href=&quot;{addQS}action=manageSubgroups&amp;group_id={$oGroup-&gt;getId()}&amp;old_search={$old @@ -72,7 +72,7 @@ href=&quot;{addQS}action=manageSubgroups&amp;group_id={$oGroup-&gt;getId()}&amp;old_search={$old
72 </table> 72 </table>
73 73
74 {else} 74 {else}
75 -<div class="ktError"><p>{i18n}No results for your search.{/i18n}</p></div> 75 +<div class="ktErrorMessage"><span>{i18n}No results for your search.{/i18n}</span></div>
76 76
77 {/if} 77 {/if}
78 {/if} 78 {/if}
templates/ktcore/principals/useradmin.smarty
@@ -122,7 +122,7 @@ very slow if you have many users).{/i18n}&lt;/p&gt; @@ -122,7 +122,7 @@ very slow if you have many users).{/i18n}&lt;/p&gt;
122 </div> 122 </div>
123 </form> 123 </form>
124 {else} 124 {else}
125 -<div class="ktError"><p>{i18n}No results for your search.{/i18n}</p></div> 125 +<div class="ktErrorMessage"><span>{i18n}No results for your search.{/i18n}</span></div>
126 126
127 {/if} 127 {/if}
128 {/if} 128 {/if}
templates/ktstandard/subscriptions/manage.smarty
1 {if !$aFolderSubscriptions && !$aDocumentSubscriptions} 1 {if !$aFolderSubscriptions && !$aDocumentSubscriptions}
2 -<div class="ktError">  
3 -<p>{i18n}You have no subscriptions{/i18n}</p> 2 +<div class="ktErrorMessage">
  3 +<span>{i18n}You have no subscriptions{/i18n}</span>
4 </div> 4 </div>
5 {else} 5 {else}
6 6