From 07cd30cf9b90dd5213d21a1a8d4d3dca0b5f0f34 Mon Sep 17 00:00:00 2001 From: theli Date: Fri, 23 Mar 2007 06:35:47 +0000 Subject: [PATCH] *) minor changes for last commit git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3518 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/htdocsdefault/dir.html | 3 ++- htroot/htdocsdefault/dir.java | 2 +- htroot/htdocsdefault/dir.rss | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/htroot/htdocsdefault/dir.html b/htroot/htdocsdefault/dir.html index 86a0b55cc..2cdeeb1fb 100644 --- a/htroot/htdocsdefault/dir.html +++ b/htroot/htdocsdefault/dir.html @@ -2,6 +2,7 @@ YaCy: Public Files + @@ -226,7 +227,7 @@ #[name]# #[size]# #[md5s]# - #(descriptionMode)#::#[text]##(/descriptionMode)# + #(descriptionMode)##[text]#::#[text]##(/descriptionMode)# :: #[date]# diff --git a/htroot/htdocsdefault/dir.java b/htroot/htdocsdefault/dir.java index 0c1654a1d..962b96d2b 100644 --- a/htroot/htdocsdefault/dir.java +++ b/htroot/htdocsdefault/dir.java @@ -291,7 +291,7 @@ public class dir { prop.putSafeXML("dirlist_" + fileIdx + "_dir_URL","http://" + yacyCore.seedDB.mySeed.getAddress() + path + fileName + "/"); } else { // determine if we should display the description string or a preview image - boolean showImage = (description.length() == 0) && (fileName.endsWith(".jpg") || fileName.endsWith(".gif") || fileName.endsWith(".png")); + boolean showImage = /* (description.length() == 0) && */ (fileName.endsWith(".jpg") || fileName.endsWith(".gif") || fileName.endsWith(".png")); // the entry is a file prop.put("dirlist_" + fileIdx + "_dir" , 0); diff --git a/htroot/htdocsdefault/dir.rss b/htroot/htdocsdefault/dir.rss index 237179a02..a64dfbf0f 100644 --- a/htroot/htdocsdefault/dir.rss +++ b/htroot/htdocsdefault/dir.rss @@ -1,7 +1,7 @@ - <![CDATA[YaCy '#[clientname]#': Public Files]]> + <![CDATA[YaCy '#[clientname]#': Public Files #[path]#]]> http://#[peeraddress]##[path]#