Revision 4006
Added by ben leinfelder almost 16 years ago
esa-resultset.xsl | ||
---|---|---|
33 | 33 |
<xsl:output method="html"/> |
34 | 34 |
<xsl:param name="cgi-url" select='string("")'/> |
35 | 35 |
<xsl:param name="sessid"/> |
36 |
<xsl:param name="contextURL"/> |
|
36 | 37 |
<xsl:param name="qformat">default</xsl:param> |
37 | 38 |
<xsl:param name="enableediting">false</xsl:param> |
38 | 39 |
<xsl:param name="isModerator">false</xsl:param> |
... | ... | |
64 | 65 |
</head> |
65 | 66 |
|
66 | 67 |
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> |
67 |
<script language="JavaScript"> |
|
68 |
<script language="JavaScript">
|
|
68 | 69 |
<![CDATA[ |
69 |
insertTemplateOpening("{$contextURL}");
|
|
70 |
insertSearchBox("{$contextURL}");
|
|
71 |
]]>
|
|
72 |
</script> |
|
70 |
insertTemplateOpening("]]><xsl:value-of select="$contextURL" /><![CDATA[");
|
|
71 |
insertSearchBox("]]><xsl:value-of select="$contextURL" /><![CDATA[");
|
|
72 |
]]> |
|
73 |
</script>
|
|
73 | 74 |
<table width="100%" align="center" border="0" cellpadding="2" cellspacing="0"> |
74 | 75 |
<tr> |
75 | 76 |
<td align="left"><br></br><p class="emphasis"><xsl:value-of select="$message"/><br></br><xsl:number value="count(resultset/document)" /> data set(s) found <xsl:if test="$enableediting ='true' and $isModerator = 'true'">for moderation</xsl:if></p></td> |
... | ... | |
140 | 141 |
</form> |
141 | 142 |
</xsl:when> |
142 | 143 |
<xsl:otherwise> |
143 |
<form action="{$servletURL}" method="POST">
|
|
144 |
<form action="{$contextURL}/metacat" method="POST">
|
|
144 | 145 |
<xsl:attribute name="name"> |
145 | 146 |
<xsl:value-of select="translate(./docid, '()-.', '____')" /> |
146 | 147 |
</xsl:attribute> |
Also available in: Unified diff
merge 1.8.1 to head