Commit d6aeb1654ff0db122efc1395fa4abf12d9f77964
1 parent
ac09b404
added space between icon and file name
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1704 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
2 additions
and
3 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | |
| 11 | 11 | function getDocumentListForFolder($fFolderID) { |
| 12 | 12 | global $default; |
| 13 | - $sQuery = "SELECT D.id AS id, D.folder_id AS folder_id, D.name AS name, COALESCE(CONCAT('$default->graphicsUrl/', MT.icon_path), '$default->graphicsUrl/unknown.gif') AS image_url " . | |
| 13 | + $sQuery = "SELECT D.id AS id, D.folder_id AS folder_id, CONCAT(' ', D.name) AS name, COALESCE(CONCAT('$default->graphicsUrl/', MT.icon_path), '$default->graphicsUrl/unknown.gif') AS image_url " . | |
| 14 | 14 | "FROM $default->owl_documents_table AS D LEFT OUTER JOIN $default->owl_mime_table AS MT ON D.mime_id = MT.id " . |
| 15 | 15 | "WHERE folder_id = $fFolderID " . |
| 16 | 16 | "ORDER BY name ASC"; | ... | ... |
presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc
| ... | ... | @@ -32,8 +32,7 @@ function displayDocumentLink($oDocument, $bDisplayFullPath = false) { |
| 32 | 32 | |
| 33 | 33 | return generateLink("$default->rootUrl/control.php", |
| 34 | 34 | "action=viewDocument&fDocumentID=" . $oDocument->getID(), |
| 35 | - $sIconPath . | |
| 36 | - $sLinkText); | |
| 35 | + $sIconPath . " " . $sLinkText); | |
| 37 | 36 | } |
| 38 | 37 | |
| 39 | 38 | /** | ... | ... |