Commit 6a2ef5d894da2851fd75cfb339893412da6cf6e4

Authored by michael
1 parent ebc4254e

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 339  
340 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 343 \ No newline at end of file
... ...
presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseUI.inc
... ... @@ -339,11 +339,4 @@ function renderPage($aResults, $sBrowseType, $sSortBy, $sSortDirection) {
339 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 70 return $sToRender;
71 71 }
72 72  
73   -function getColour($iColourCount) {
74   - return ($iColourCount%2 == 0) ? "F5F6EE" : "FFFFFF";
75   -}
76   -
77 73 function getPage($iDocumentID, $iFolderID, $sDocumentName) {
78 74 global $default;
79 75 $sToRender = renderHeading("Document History");
... ...
presentation/lookAndFeel/knowledgeTree/subscriptions/subscriptionUI.inc
... ... @@ -198,8 +198,4 @@ function renderErrorPage($sErrorMessage) {
198 198 "</p></td></tr></table>\n";
199 199 return $sToRender;
200 200 }
201   -
202   -function getColour($iColourCount) {
203   - return ($iColourCount%2 == 0) ? "F5F6EE" : "FFFFFF";
204   -}
205 201 ?>
... ...