Commit d1778e29e3881f52d94d97743ba243a680be4913

Authored by Michael Joseph
1 parent d522740e

removed candy striping method- refactored to Html.inc


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1987 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/browseUI.inc
@@ -339,12 +339,4 @@ function renderPage($aResults, $sBrowseType, $sSortBy, $sSortDirection) { @@ -339,12 +339,4 @@ function renderPage($aResults, $sBrowseType, $sSortBy, $sSortDirection) {
339 339
340 return $sToRender; 340 return $sToRender;
341 } 341 }
342 -  
343 -/**  
344 - * Candy striping helper method  
345 - */  
346 -function getColour($iColourCount) {  
347 - return ($iColourCount%2 == 0) ? "F5F6EE" : "FFFFFF";  
348 -}  
349 -  
350 -?> 342 +?>
351 \ No newline at end of file 343 \ No newline at end of file
presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseUI.inc
@@ -339,11 +339,4 @@ function renderPage($aResults, $sBrowseType, $sSortBy, $sSortDirection) { @@ -339,11 +339,4 @@ function renderPage($aResults, $sBrowseType, $sSortBy, $sSortDirection) {
339 return $sToRender; 339 return $sToRender;
340 } 340 }
341 341
342 -/**  
343 - * Candy striping helper method  
344 - */  
345 -function getColour($iColourCount) {  
346 - return ($iColourCount%2 == 0) ? "F5F6EE" : "FFFFFF";  
347 -}  
348 -  
349 ?> 342 ?>
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc
@@ -70,10 +70,6 @@ function getDocumentHistory($iDocumentID) { @@ -70,10 +70,6 @@ function getDocumentHistory($iDocumentID) {
70 return $sToRender; 70 return $sToRender;
71 } 71 }
72 72
73 -function getColour($iColourCount) {  
74 - return ($iColourCount%2 == 0) ? "F5F6EE" : "FFFFFF";  
75 -}  
76 -  
77 function getPage($iDocumentID, $iFolderID, $sDocumentName) { 73 function getPage($iDocumentID, $iFolderID, $sDocumentName) {
78 global $default; 74 global $default;
79 $sToRender = renderHeading("Document History"); 75 $sToRender = renderHeading("Document History");
presentation/lookAndFeel/knowledgeTree/subscriptions/subscriptionUI.inc
@@ -198,8 +198,4 @@ function renderErrorPage($sErrorMessage) { @@ -198,8 +198,4 @@ function renderErrorPage($sErrorMessage) {
198 "</p></td></tr></table>\n"; 198 "</p></td></tr></table>\n";
199 return $sToRender; 199 return $sToRender;
200 } 200 }
201 -  
202 -function getColour($iColourCount) {  
203 - return ($iColourCount%2 == 0) ? "F5F6EE" : "FFFFFF";  
204 -}  
205 ?> 201 ?>