diff --git a/config/dmsDefaults.php b/config/dmsDefaults.php index f185a37..0efc7ee 100644 --- a/config/dmsDefaults.php +++ b/config/dmsDefaults.php @@ -14,6 +14,8 @@ require_once("environment.php"); $default->owl_graphics_url = $default->owl_root_url . "/graphics"; $default->owl_LangDir = $default->owl_fs_root . "/locale"; +// change this to reflect a directory with a different look and feel +$default->owl_ui_directory = $default->owl_fs_root . "/presentation/knowledgeTree"; // Set to true to use the file system to store documents, false only uses the database $default->owl_use_fs = true; @@ -133,7 +135,7 @@ $default->siteMap = new SiteMap(); $default->siteMap->addPage("login", "/login.php?loginAction=login", "General", "Anonymous"); $default->siteMap->addPage("loginForm", "/login.php?loginAction=loginForm", "General", "Anonymous"); $default->siteMap->addPage("logout", "/logout.php", "General", "Anonymous"); -$default->siteMap->addPage("dashboard", "/dashboard.php", "General", "Unit Administrators"); +$default->siteMap->addPage("dashboard", "/presentation/dashboardBL.php", "General", "Unit Administrators"); $default->siteMap->addPage("browse", "/browse.php", "Browse Collections", "Anonymous"); $default->siteMap->addPage("addFolder", "/addFolder.php", "Browse Collections", "Unit Administrators"); $default->siteMap->addPage("addUser", "/addUser.php", "Administration", "Unit Administrators"); diff --git a/presentation/Html.inc b/presentation/Html.inc new file mode 100644 index 0000000..3ef3fa8 --- /dev/null +++ b/presentation/Html.inc @@ -0,0 +1,38 @@ +, Jam Warehouse (Pty) Ltd, South Africa + * @package presentation + */ + +function startTable($border, $width) { + return ""; +} + +function stopTable() { + return "
"; +} + +function tableRow($align, $bgcolor, $html) { + return "$html"; +} + +function tableData($html) { + return "$html"; +} + +function startTableRowCell() { + return ""; +} + +function endTableRowCell() { + return ""; +} + +?> diff --git a/dashboard.php b/presentation/dashboardBL.php index 7f76996..f08659c 100644 --- a/dashboard.php +++ b/presentation/dashboardBL.php @@ -1,8 +1,8 @@ owl_fs_root/presentation/DashboardUI.inc"); +require_once("../config/dmsDefaults.php"); +require_once("$default->owl_ui_directory/dashboardUI.inc"); require_once("$default->owl_fs_root/lib/visualpatterns/PatternMainPage.inc"); require_once("$default->owl_fs_root/lib/visualpatterns/PatternImage.inc"); require_once("$default->owl_fs_root/lib/visualpatterns/PatternTableLinks.inc");