diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc index 5291ac8..968bf7d 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc @@ -10,7 +10,7 @@ function getDocumentListForFolder($fFolderID) { global $default; - $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/star.gif') AS image_url " . + $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 " . "FROM $default->owl_documents_table AS D LEFT OUTER JOIN $default->owl_mime_table AS MT ON D.mime_id = MT.id " . "WHERE folder_id = $fFolderID " . "ORDER BY name ASC"; diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc index 04b3928..e83d236 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc @@ -22,7 +22,7 @@ function displayDocumentLink($oDocument, $bDisplayFullPath = false) { global $default; $sIconUrl = $oDocument->getMimeTypeIconUrl(); - $sIconPath = ($sIconUrl ? generateImage($sIconUrl) : generateImage("$default->graphicsUrl/star.gif")); + $sIconPath = ($sIconUrl ? generateImage($sIconUrl) : generateImage("$default->graphicsUrl/unknown.gif")); $sLinkText = $oDocument->getName(); if ($bDisplayFullPath) {