*) minor changes for last commit

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3518 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 18 years ago
parent 51b2df566b
commit 07cd30cf9b

@ -2,6 +2,7 @@
<html>
<head>
<title>YaCy: Public Files</title>
<link rel="alternate" type="application/rss+xml" title="RSS" href="#[path]#?format=rss" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Content-Language" content="English, Englisch">
<meta name="keywords" content="yacy file share">
@ -226,7 +227,7 @@
<td class="tt" align="left" width="150"><a href="#[name]#" class="tt">#[name]#</a></td>
<td class="tt" align="right" width="60">#[size]#</td>
<td class="tt" align="left" width="220"><a href="#[yacyhURL]#" class="tt">#[md5s]#</a></td>
<td class="small" align="left">#(descriptionMode)#<img src="#[image]#" border="0" height="32" width="32">::#[text]##(/descriptionMode)#</td>
<td class="small" align="left">#(descriptionMode)#<img src="#[image]#" alt="#[text]#" border="0" height="32" width="32">::#[text]##(/descriptionMode)#</td>
::<!-- dirlist entry is a directory -->
<td class="tt" align="left" width="20"><img src="/env/grafics/folderIconSmall.gif" align="top" class="small"></td>
<td class="tt" align="left" width="60">#[date]#</td>

@ -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);

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title><![CDATA[YaCy '#[clientname]#': Public Files]]></title>
<title><![CDATA[YaCy '#[clientname]#': Public Files #[path]#]]></title>
<link>http://#[peeraddress]##[path]#</link>
<description><![CDATA[Directory Listing of #[path]#]]></description>
<image>

Loading…
Cancel
Save