Commit d4b6b9369d01c289b3c0c3f6a577fe52efb941c2
1 parent
8d76d80a
added space between icon and link
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1324 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
5 additions
and
5 deletions
lib/subscriptions/Subscription.inc
| @@ -172,9 +172,9 @@ class Subscription { | @@ -172,9 +172,9 @@ class Subscription { | ||
| 172 | $sViewAlertParams = "fSubscriptionID=" . $this->iID . "&fSubscriptionType=" . $this->iSubscriptionType; | 172 | $sViewAlertParams = "fSubscriptionID=" . $this->iID . "&fSubscriptionType=" . $this->iSubscriptionType; |
| 173 | 173 | ||
| 174 | if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("DocumentSubscription")) { | 174 | if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("DocumentSubscription")) { |
| 175 | - return generateControllerLink("viewAlert", $sViewAlertParams, "<img src=\"$default->graphicsUrl/widgets/subsc.gif\" border=\"0\"/>" . Document::getDocumentDisplayPath($this->iExternalID)); | 175 | + return generateControllerLink("viewAlert", $sViewAlertParams, "<img src=\"$default->graphicsUrl/widgets/subsc.gif\" border=\"0\"/> " . Document::getDocumentDisplayPath($this->iExternalID)); |
| 176 | } else if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("FolderSubscription")) { | 176 | } else if ($this->iSubscriptionType == SubscriptionConstants::subscriptionType("FolderSubscription")) { |
| 177 | - return generateControllerLink("viewAlert", $sViewAlertParams, "<img src=\"$default->graphicsUrl/widgets/subsc.gif\" border=\"0\"/>" . Folder::getFolderDisplayPath($this->iExternalID)); | 177 | + return generateControllerLink("viewAlert", $sViewAlertParams, "<img src=\"$default->graphicsUrl/widgets/subsc.gif\" border=\"0\"/> " . Folder::getFolderDisplayPath($this->iExternalID)); |
| 178 | } | 178 | } |
| 179 | } | 179 | } |
| 180 | 180 |
presentation/lookAndFeel/knowledgeTree/dashboardUI.inc
| @@ -27,7 +27,7 @@ function renderPendingCollaborationDocuments($aPendingDocumentList) { | @@ -27,7 +27,7 @@ function renderPendingCollaborationDocuments($aPendingDocumentList) { | ||
| 27 | for ($i = 0; $i < count($aPendingDocumentList); $i++) { | 27 | for ($i = 0; $i < count($aPendingDocumentList); $i++) { |
| 28 | $oDocument = $aPendingDocumentList[$i]; | 28 | $oDocument = $aPendingDocumentList[$i]; |
| 29 | $sToRender .= "\t<tr>\n"; | 29 | $sToRender .= "\t<tr>\n"; |
| 30 | - $sToRender .= "<td nowrap colspan=\"2\">" . generateControllerLink("viewDocument", "fDocumentID=" . $oDocument->getID(), "<img src=\"$default->graphicsUrl/widgets/dstatus.gif\" border=\"0\"/>" . $oDocument->getDisplayPath()) . "</td>\n"; | 30 | + $sToRender .= "<td nowrap colspan=\"2\">" . generateControllerLink("viewDocument", "fDocumentID=" . $oDocument->getID(), "<img src=\"$default->graphicsUrl/widgets/dstatus.gif\" border=\"0\"/> " . $oDocument->getDisplayPath()) . "</td>\n"; |
| 31 | $sToRender .= "\t</tr>\n"; | 31 | $sToRender .= "\t</tr>\n"; |
| 32 | } | 32 | } |
| 33 | return $sToRender; | 33 | return $sToRender; |
| @@ -58,7 +58,7 @@ function renderCheckedOutDocuments($aCheckedOutDocumentList) { | @@ -58,7 +58,7 @@ function renderCheckedOutDocuments($aCheckedOutDocumentList) { | ||
| 58 | for ($i = 0; $i < count($aCheckedOutDocumentList); $i++) { | 58 | for ($i = 0; $i < count($aCheckedOutDocumentList); $i++) { |
| 59 | $oDocument = $aCheckedOutDocumentList[$i]; | 59 | $oDocument = $aCheckedOutDocumentList[$i]; |
| 60 | $sToRender .= "\t<tr>\n"; | 60 | $sToRender .= "\t<tr>\n"; |
| 61 | - $sToRender .= "<td nowrap>" . generateControllerLink("viewDocument", "fDocumentID=" . $oDocument->getID(), $oDocument->getDisplayPath()) . "</td>\n"; | 61 | + $sToRender .= "<td nowrap>" . generateControllerLink("viewDocument", "fDocumentID=" . $oDocument->getID(), "<img src=\"$default->graphicsUrl/widgets/dstatus.gif\" border=\"0\"/> " . $oDocument->getDisplayPath()) . "</td>\n"; |
| 62 | $sToRender .= "<td>" . $oDocument->getDaysSinceLastModified() . "</td>\n"; | 62 | $sToRender .= "<td>" . $oDocument->getDaysSinceLastModified() . "</td>\n"; |
| 63 | $sToRender .= "\t</tr>\n"; | 63 | $sToRender .= "\t</tr>\n"; |
| 64 | } | 64 | } |
| @@ -121,7 +121,7 @@ function renderPage($aPendingDocumentList, $aCheckedOutDocumentList, $aSubscript | @@ -121,7 +121,7 @@ function renderPage($aPendingDocumentList, $aCheckedOutDocumentList, $aSubscript | ||
| 121 | 121 | ||
| 122 | // dashboard alerts | 122 | // dashboard alerts |
| 123 | $sToRender .= "\t<tr>\n"; | 123 | $sToRender .= "\t<tr>\n"; |
| 124 | - $sToRender .= "\t\t<td width=\"50%\" valign=\"top\">\n"; | 124 | + $sToRender .= "\t\t<td width=\"50%\" valign=\"top\" colspan=2>\n"; |
| 125 | $sToRender .= "\t\t\t<table border=\"0\" width=\"100%\">\n"; | 125 | $sToRender .= "\t\t\t<table border=\"0\" width=\"100%\">\n"; |
| 126 | $sToRender .= renderPendingCollaborationDocuments($aPendingDocumentList); | 126 | $sToRender .= renderPendingCollaborationDocuments($aPendingDocumentList); |
| 127 | $sToRender .= renderCheckedOutDocuments($aCheckedOutDocumentList) . "\n"; | 127 | $sToRender .= renderCheckedOutDocuments($aCheckedOutDocumentList) . "\n"; |