From 413a916756139ca5014a434d4f8f385f047ddd99 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Wed, 22 Jan 2003 10:21:57 +0000 Subject: [PATCH] refactored html building functions in Html.inc --- presentation/Html.inc | 12 +++++++++++- presentation/lookAndFeel/knowledgeTree/dashboardUI.inc | 6 ------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/presentation/Html.inc b/presentation/Html.inc index 3ef3fa8..827fbd6 100644 --- a/presentation/Html.inc +++ b/presentation/Html.inc @@ -4,7 +4,7 @@ * * Generic html building functions. * - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. * * @version $Revision$ * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa @@ -23,6 +23,12 @@ function tableRow($align, $bgcolor, $html) { return "$html"; } +function tableHeading($cssClassName, $colspan, $text) { + return " + $text + "; +} + function tableData($html) { return "$html"; } @@ -35,4 +41,8 @@ function endTableRowCell() { return ""; } +function generateLink($sTargetPage, $sQueryString, $sLinkText) { + return "$sLinkText"; +} + ?> diff --git a/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc b/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc index 600bb71..c4b8b54 100644 --- a/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc @@ -73,12 +73,6 @@ function getSubscriptionDocuments() { return array(new tmpDocument(), new tmpDocument(), new tmpDocument()); } -function tableHeading($cssClassName, $colspan, $text) { - return " - $text - "; -} - function pendingDocumentsHeaders() { return " Title -- libgit2 0.21.4