From 9fd900aac7c152f83dc34bae11e6e03e0427c1b5 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Mon, 24 Mar 2003 09:57:39 +0000 Subject: [PATCH] replaced star icon with windows unknown file type icon --- presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc | 2 +- presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) { -- libgit2 0.21.4