Commit 7c2505f2b2ed1a4bcc420951b29d4e7c075f49b5

Authored by Michael Joseph
1 parent f3282021

removed owl prefix from table aliases


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2576 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/dashboardUI.inc
@@ -253,7 +253,7 @@ function renderPage($aPendingDocumentList, $aCheckedOutDocumentList, $aSubscript @@ -253,7 +253,7 @@ function renderPage($aPendingDocumentList, $aCheckedOutDocumentList, $aSubscript
253 // some arb welcoming text goes here 253 // some arb welcoming text goes here
254 $oUser = & User::get($_SESSION["userID"]); 254 $oUser = & User::get($_SESSION["userID"]);
255 $sUserName = $oUser->getName(); 255 $sUserName = $oUser->getName();
256 - $sToRender .= "\t\t<td>Hi" . (strlen($sUserName) > 0 ? " " . $sUserName : "") . ", welcome back to the " . lookupField($default->owl_organisations_table, "name", "id", $default->organisationID) . " DMS, part of the Knowledge Tree.</td>\n"; 256 + $sToRender .= "\t\t<td>Hi" . (strlen($sUserName) > 0 ? " " . $sUserName : "") . ", welcome back to the " . lookupField($default->organisations_table, "name", "id", $default->organisationID) . " DMS, part of the Knowledge Tree.</td>\n";
257 257
258 // dashboard news 258 // dashboard news
259 $sToRender .= "\t\t<td>\n"; 259 $sToRender .= "\t\t<td>\n";
presentation/lookAndFeel/knowledgeTree/help.php
@@ -16,7 +16,7 @@ echo $headingBar; @@ -16,7 +16,7 @@ echo $headingBar;
16 16
17 //Query the database for the helpURL based on the current action 17 //Query the database for the helpURL based on the current action
18 $sQuery = "SELECT HLP.help_info as helpinfo ". 18 $sQuery = "SELECT HLP.help_info as helpinfo ".
19 - "FROM $default->owl_help_table AS HLP WHERE '$fAction' = HLP.fSection"; 19 + "FROM $default->help_table AS HLP WHERE '$fAction' = HLP.fSection";
20 20
21 $sql = $default->db; 21 $sql = $default->db;
22 $sql->query($sQuery); 22 $sql->query($sQuery);