diff --git a/lib/subscriptions/Subscription.inc b/lib/subscriptions/Subscription.inc index ca0a9e7..d74dc07 100644 --- a/lib/subscriptions/Subscription.inc +++ b/lib/subscriptions/Subscription.inc @@ -172,9 +172,9 @@ class Subscription { $sViewAlertParams = "fSubscriptionID=" . $this->iID . "&fSubscriptionType=" . $this->iSubscriptionType; if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("DocumentSubscription")) { - return generateControllerLink("viewAlert", $sViewAlertParams, "graphicsUrl/widgets/subsc.gif\" border=\"0\"/>" . Document::getDocumentDisplayPath($this->iExternalID)); + return generateControllerLink("viewAlert", $sViewAlertParams, "graphicsUrl/widgets/subsc.gif\" border=\"0\"/> " . Document::getDocumentDisplayPath($this->iExternalID)); } else if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("FolderSubscription")) { - return generateControllerLink("viewAlert", $sViewAlertParams, "graphicsUrl/widgets/subsc.gif\" border=\"0\"/>" . Folder::getFolderDisplayPath($this->iExternalID)); + return generateControllerLink("viewAlert", $sViewAlertParams, "graphicsUrl/widgets/subsc.gif\" border=\"0\"/> " . Folder::getFolderDisplayPath($this->iExternalID)); } } diff --git a/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc b/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc index ac85668..99dba9f 100644 --- a/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/dashboardUI.inc @@ -27,7 +27,7 @@ function renderPendingCollaborationDocuments($aPendingDocumentList) { for ($i = 0; $i < count($aPendingDocumentList); $i++) { $oDocument = $aPendingDocumentList[$i]; $sToRender .= "\t\n"; - $sToRender .= "" . generateControllerLink("viewDocument", "fDocumentID=" . $oDocument->getID(), "graphicsUrl/widgets/dstatus.gif\" border=\"0\"/>" . $oDocument->getDisplayPath()) . "\n"; + $sToRender .= "" . generateControllerLink("viewDocument", "fDocumentID=" . $oDocument->getID(), "graphicsUrl/widgets/dstatus.gif\" border=\"0\"/> " . $oDocument->getDisplayPath()) . "\n"; $sToRender .= "\t\n"; } return $sToRender; @@ -58,7 +58,7 @@ function renderCheckedOutDocuments($aCheckedOutDocumentList) { for ($i = 0; $i < count($aCheckedOutDocumentList); $i++) { $oDocument = $aCheckedOutDocumentList[$i]; $sToRender .= "\t\n"; - $sToRender .= "" . generateControllerLink("viewDocument", "fDocumentID=" . $oDocument->getID(), $oDocument->getDisplayPath()) . "\n"; + $sToRender .= "" . generateControllerLink("viewDocument", "fDocumentID=" . $oDocument->getID(), "graphicsUrl/widgets/dstatus.gif\" border=\"0\"/> " . $oDocument->getDisplayPath()) . "\n"; $sToRender .= "" . $oDocument->getDaysSinceLastModified() . "\n"; $sToRender .= "\t\n"; } @@ -121,7 +121,7 @@ function renderPage($aPendingDocumentList, $aCheckedOutDocumentList, $aSubscript // dashboard alerts $sToRender .= "\t\n"; - $sToRender .= "\t\t\n"; + $sToRender .= "\t\t\n"; $sToRender .= "\t\t\t\n"; $sToRender .= renderPendingCollaborationDocuments($aPendingDocumentList); $sToRender .= renderCheckedOutDocuments($aCheckedOutDocumentList) . "\n";