- removed enctype="multipart/form-data" from the get-form of the peer-selection in Messages_p.html (in Konqueror this didn't work and multipart/form-data is only for post)

- removed name="searchresults" from the searchresults (seems to be no longer needed and is invalid)
- moved the favicons in the searchresults to the left side as requested in http://forum.yacy-websuche.de/viewtopic.php?f=5&t=268
- added alt-attributes for the favicons (images must have alt-attributes to be valid)


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4069 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
michitux 18 years ago
parent 0e27febe47
commit d2360eaf68

@ -9,7 +9,7 @@
#%env/templates/header.template%# #%env/templates/header.template%#
<h2>Messages</h2> <h2>Messages</h2>
#(peersKnown)#:: #(peersKnown)#::
<form enctype="multipart/form-data" action="MessageSend_p.html" method="get"> <form action="MessageSend_p.html" method="get">
<fieldset><legend>Compose Message</legend> <fieldset><legend>Compose Message</legend>
<dl> <dl>
<dt><label for="peers">Send message to peer</label>:</dt> <dt><label for="peers">Send message to peer</label>:</dt>

@ -280,6 +280,7 @@ div.yacysearch {
div.urlactions { div.urlactions {
float:left; float:left;
clear:left;
} }
/*---------- /*----------
@ -424,12 +425,9 @@ a:hover.MenuItemLink {
div.urlactions a { div.urlactions a {
display:block; display:block;
}
div.urlactions > a {
width: 11px; width: 11px;
height: 11px; height: 11px;
margin: 1px 1px 1px 7px; margin: 1px 4px;
} }
a.bookmarklink:hover, div.searchresults:hover a.bookmarklink, div.searchresults.hover a.bookmarklink { a.bookmarklink:hover, div.searchresults:hover a.bookmarklink, div.searchresults.hover a.bookmarklink {
@ -590,6 +588,10 @@ form.search.small fieldset {
clear:left; clear:left;
margin-left:100px; margin-left:100px;
} }
form.search.small fieldset * {
margin-left:0;
}
/*---------- /*----------
<img> <img>
*/ */
@ -700,10 +702,8 @@ ul#menu a.MenuItemLink {
} }
img.favicon{ img.favicon{
margin-right: 3px; margin: 4px 1px;
width: 16px; width: 16px;
height: 16px; height: 16px;
} float: left;
p.iconindented{
padding-left: 19px;
} }

@ -137,7 +137,8 @@ document.getElementById("Enter").value = "search again - catch up more links";
<div id="hidden_results"></div> <div id="hidden_results"></div>
#{results}# #{results}#
<!-- link begin --> <!-- link begin -->
<div class="searchresults" name="searchresults"> <div class="searchresults">
<img src="ViewImage.png?width=16&height=16&code=#[faviconCode]#" id="f#[urlhash]#" class="favicon" width="16" height="16" alt="favicon of #[url]#" />
#(authorized)#:: #(authorized)#::
<div class="urlactions"> <div class="urlactions">
<a href="/Bookmarks.html?edit=#[urlhash]#" class="bookmarklink" title="bookmark"><img src="/env/grafics/empty.gif" title="bookmark" alt="bookmark" class="bookmarkIcon" /></a> <a href="/Bookmarks.html?edit=#[urlhash]#" class="bookmarklink" title="bookmark"><img src="/env/grafics/empty.gif" title="bookmark" alt="bookmark" class="bookmarkIcon" /></a>
@ -150,10 +151,10 @@ document.getElementById("Enter").value = "search again - catch up more links";
#(/recommend)# #(/recommend)#
</div> </div>
#(/authorized)# #(/authorized)#
<h4 class="linktitle"><img src="ViewImage.png?width=16&height=16&code=#[faviconCode]#" id="f#[urlhash]#" class="favicon" width="16" height="16" /><a href="#[url]#" target="_parent">#[description]#</a></h4> <h4 class="linktitle"><a href="#[url]#" target="_parent">#[description]#</a></h4>
<p class="snippet iconindented"><span class="#(snippet)#snippetLoading::snippetLoaded#(/snippet)#" id="h#[urlhash]#">#(snippet)#loading snippet ...::#[text]##(/snippet)#</span></p> <p class="snippet"><span class="#(snippet)#snippetLoading::snippetLoaded#(/snippet)#" id="h#[urlhash]#">#(snippet)#loading snippet ...::#[text]##(/snippet)#</span></p>
<p class="url iconindented"><a href="#[url]#" id="url#[urlhash]#" target="_parent">#[urlname]#</a></p> <p class="url"><a href="#[url]#" id="url#[urlhash]#" target="_parent">#[urlname]#</a></p>
<p class="urlinfo iconindented">#[date]# | YBR-#[ybr]# | <a href="ViewFile.html?urlHash=#[urlhash]#&amp;words=#[words]#">Info</a> | <a href="yacysearch.html?cat=image&amp;url=#[url]#&amp;search=#[former]#">Pictures</a></p> <p class="urlinfo">#[date]# | YBR-#[ybr]# | <a href="ViewFile.html?urlHash=#[urlhash]#&amp;words=#[words]#">Info</a> | <a href="yacysearch.html?cat=image&amp;url=#[url]#&amp;search=#[former]#">Pictures</a></p>
</div> </div>
<!-- link end --> <!-- link end -->
#{/results}# #{/results}#
@ -245,7 +246,7 @@ document.getElementById("Enter").value = "search again - catch up more links";
<div id="hidden_results"></div> <div id="hidden_results"></div>
#{results}# #{results}#
<!-- link begin --> <!-- link begin -->
<div class="searchresults" name="searchresults"> <div class="searchresults">
<!--#include virtual="yacysearchitem.html?item=#[item]#&eventID=#[eventID]#" --> <!--#include virtual="yacysearchitem.html?item=#[item]#&eventID=#[eventID]#" -->
</div> </div>
<!-- link end --> <!-- link end -->

Loading…
Cancel
Save