Commit 4837c9820130ae910bc8d719630bf839b452e26e

Authored by Michael Joseph
1 parent e0b473f8

removed renderHeading redeclaration


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1956 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/discussions/addCommentUI.inc
... ... @@ -22,24 +22,6 @@ function getSubmitSuccessPage($iDocumentID){
22 22 }
23 23  
24 24 /**
25   - * Renders the heading for the page
26   - *
27   - * @param $sHeading -> text heading for the page
28   - */
29   -function renderHeading($sHeading) {
30   - global $default;
31   -
32   - $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])));
33   - $sColor = $default->siteMap->getSectionColour($sSectionName, "th");
34   - $sToRender = "<table border=\"0\" width=\"600\">\n";
35   - $sToRender .= "<tr align=\"left\"><th class=\"sectionHeading\" bgcolor=\"$sColor\"><font color=\"ffffff\">$sHeading</font></th></tr>\n";
36   - $sToRender .= "<tr/>\n";
37   - $sToRender .= "<tr/>\n";
38   - $sToRender .= "</table>\n";
39   - return $sToRender;
40   -}
41   -
42   -/**
43 25 * Renders the path for the document
44 26 *
45 27 * @param $fDocumentID -> a valid document ID
... ...
presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionUI.inc
... ... @@ -52,23 +52,6 @@ function getNewThreadOption($fDocumentID) {
52 52 return $sToRender;
53 53 }
54 54  
55   -/**
56   - * Renders the heading for the page
57   - *
58   - * @param $sHeading -> text heading for the page
59   - */
60   -function renderHeading($sHeading) {
61   - global $default;
62   -
63   - $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])));
64   - $sColor = $default->siteMap->getSectionColour($sSectionName, "th");
65   - $sToRender = "<table border=\"0\" width=\"600\">\n";
66   - $sToRender .= "<tr align=\"left\"><th class=\"sectionHeading\" bgcolor=\"$sColor\"><font color=\"ffffff\">$sHeading</font></th></tr>\n";
67   - $sToRender .= "<tr/>\n";
68   - $sToRender .= "<tr/>\n";
69   - $sToRender .= "</table>\n";
70   - return $sToRender;
71   -}
72 55  
73 56 /**
74 57 * Renders the path for the document
... ...