Commit c00807c5479a03ec46ad55a929e853cfc3d7b96e

Authored by omar
1 parent 64042f24

List column headings made white


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2071 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php
... ... @@ -39,30 +39,6 @@ if(checkSession()) {
39 39 $sAllCommentID = $oThread->getAllCommentID();
40 40 $arrAllCommentID = explode(",", $sAllCommentID);
41 41 $iNumMax = $oThread->getNumberOfReplies();
42   - //$$$$$$$$$$$$$$$444
43   -
44   - /*$sQuery = "SELECT 1 as ForView, subject, username, date, discussion_comments.id as com_id, discussion_threads.document_id as doc_id " .
45   - "FROM (discussion_comments INNER JOIN users ON discussion_comments.user_id = users.id) INNER JOIN discussion_threads ON discussion_threads.id = discussion_comments.thread_id " .
46   - "WHERE discussion_threads.id = " . $iThreadID .
47   - " ORDER BY date DESC";
48   -
49   - $aColumns = array("subject", "username", "date");
50   - $aColumnNames = array("Subject", "User", "Date");
51   - $aColumnTypes = array(3,1,1);
52   -
53   - $aDBColumnArray = array("ForView", "com_id", "doc_id");
54   - $aQueryStringVariableNames = array("ForView", "com_id", "doc_id");
55   -
56   - $aHyperLinkURL = array( 0=> $_SERVER['PHP_SELF']);
57   -
58   - $oSearchResults = & new PatternTableSqlQuery($sQuery, $aColumns, $aColumnTypes, $aColumnNames, "100%", $aHyperLinkURL,$aDBColumnArray,$aQueryStringVariableNames);
59   -
60   - $sToRender .= renderHeading("Document Discussion Thread");
61   - $sToRender .= renderDocumentPath($oThread->getDocumentID());
62   - $oPatternCustom->addHtml($sToRender);
63   - $oPatternCustom->addHtml(getPageButtons($oThread));
64   - $oPatternCustom->addHtml($oSearchResults->render());*/
65   - //$$$$$$$$$$$$$$44
66 42  
67 43 $sQuery = "SELECT 1 as ForView, subject, username, date, discussion_comments.id as com_id, discussion_threads.document_id as doc_id " .
68 44 "FROM (discussion_comments INNER JOIN users ON discussion_comments.user_id = users.id) INNER JOIN discussion_threads ON discussion_threads.id = discussion_comments.thread_id " .
... ... @@ -70,7 +46,7 @@ if(checkSession()) {
70 46 " ORDER BY date DESC";
71 47  
72 48 $aColumns = array("subject", "username", "date");
73   - $aColumnNames = array("Subject", "User", "Date");
  49 + $aColumnNames = array("<font color=white>Subject </font>", "<font color=white>User</font>", "<font color=white>Date</font>");
74 50 $aColumnTypes = array(3,1,1);
75 51  
76 52 $aQueryStringVars = array("fViewComment", "iCommentID", "iDocumentID");
... ...