Commit 9629dda3296dd7c431cecfa37d9380c55dfab1db

Authored by Michael Joseph
1 parent 3f09a7d0

added spacing, updated phpdoc, using tableCssData for category and document type headings


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@505 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/browseBL.php
... ... @@ -29,8 +29,6 @@ require_once("$default->owl_ui_directory/foldermanagement/folderUI.inc");
29 29 * fFolderID - the folder to browse [optional depending on fBrowseType]
30 30 * fCategoryName - the category to browse [optional depending on fBrowseType]
31 31 * fDocumentTypeID - the document type id to browse [optional depending on fBrowseType]
32   - * fSortBy - the document/folder criteria to sort the browse results by
33   - * fSortDirection - the direction that the sort should happen in (asc|desc)
34 32 */
35 33  
36 34 // -------------------------------
... ... @@ -40,7 +38,6 @@ require_once("$default->owl_ui_directory/foldermanagement/folderUI.inc");
40 38 // only if we have a valid session
41 39 if (checkSession()) {
42 40 require_once("../../../webpageTemplate.inc");
43   - $oContent = new PatternCustom();
44 41  
45 42 // retrieve variables
46 43 if (!$fBrowseType) {
... ... @@ -51,7 +48,7 @@ if (checkSession()) {
51 48  
52 49 // fire up the document browser
53 50 $oDocBrowser = new DocumentBrowser();
54   -
  51 + // instantiate my content pattern
55 52 $oContent = new PatternCustom();
56 53  
57 54 $oContent->addHtml(
... ... @@ -59,8 +56,9 @@ if (checkSession()) {
59 56 // pending documents
60 57 startTableRowCell() .
61 58 startTable("0", "100%") .
62   - tableRow("left", "", tableData(browseTypeSelect($fBrowseType))));
63   -
  59 + tableRow("left", "", tableData(browseTypeSelect($fBrowseType))) .
  60 + tableRow("", "", tabledata("")) .
  61 + tableRow("", "", tabledata("")));
64 62 // instantiate data arrays
65 63 $folders = NULL;
66 64 $categories = NULL;
... ... @@ -109,7 +107,7 @@ if (checkSession()) {
109 107  
110 108 // we have a list of categories
111 109 // so loop through them and display
112   - $oContent->addHtml(tableRow("", "", tableData("Categories")));
  110 + $oContent->addHtml(tableRow("", "", tableCssData("Categories", "browseTypeSelect")));
113 111  
114 112 // empty row for spacing
115 113 $oContent->addHtml(tableRow("", "", tableData(" ")));
... ... @@ -142,7 +140,7 @@ if (checkSession()) {
142 140  
143 141 // we have a list of document types
144 142 // so loop through them and display
145   - $oContent->addHtml(tableRow("", "", tableData("Document Types")));
  143 + $oContent->addHtml(tableRow("", "", tableCssData("Document Types", "browseTypeSelect")));
146 144  
147 145 // empty row for spacing
148 146 $oContent->addHtml(tableRow("", "", tableData(" ")));
... ...