Added an id attribute the the search object in the search result pane

git-svn-id: https://svn.libreccm.org/ccm/trunk@3076 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-01-15 12:42:58 +00:00
parent b925f1e3a9
commit 99e722cd45
2 changed files with 2 additions and 1 deletions

View File

@ -287,6 +287,7 @@ public class ResultsPane extends SimpleComponent {
java.net.URL url = doc.getURL();
entry.addAttribute("id", XML.format(doc.getOID().get("id")));
entry.addAttribute("oid", XML.format(doc.getOID()));
entry.addAttribute("url", XML.format(m_relative ? url.getPath() + "?"
+ url.getQuery()

View File

@ -51,7 +51,7 @@
'width: ', foundry:get-setting('search', 'graphic-score-width', '50'), 'px; ')"/>
<div class="imgFull">
<xsl:attribute name="style"
select="concat('font-size: 0px; overflow: hidden; width: ', ./@score, 'px; height: ', foundry:get-setting('search', 'graphic-score-height', '10'), 'px; ')"/>
select="concat('font-size: 0px; overflow: hidden; width: ', ./@score, '%; height: ', foundry:get-setting('search', 'graphic-score-height', '10'), 'px; ')"/>
<img>
<xsl:attribute name="src"
select="foundry:gen-path('images/search/score-full.gif', 'internal')"/>