Revision 3685
Added by barteau almost 17 years ago
lib/style/skins/esa/esa-resultset.xsl | ||
---|---|---|
31 | 31 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
32 | 32 |
|
33 | 33 |
<xsl:output method="html"/> |
34 |
<xsl:param name="cgi-url" select='string("")'/> |
|
34 | 35 |
<xsl:param name="sessid"/> |
35 | 36 |
<xsl:param name="qformat">default</xsl:param> |
36 | 37 |
<xsl:param name="enableediting">false</xsl:param> |
... | ... | |
106 | 107 |
|
107 | 108 |
<xsl:choose> |
108 | 109 |
<xsl:when test="$enableediting = 'true'"> |
109 |
<form action="@cgi-prefix@/register-dataset.cgi" method="POST">
|
|
110 |
<form action="{$cgi-url}/register-dataset.cgi" method="POST">
|
|
110 | 111 |
<xsl:attribute name="name"> |
111 | 112 |
<xsl:value-of select="translate(./docid, '()-.', '____')" /> |
112 | 113 |
</xsl:attribute> |
... | ... | |
213 | 214 |
<xsl:choose> |
214 | 215 |
<xsl:when test="$isModerator = 'true'"> |
215 | 216 |
<td class="text_plain"> |
216 |
<form action="@cgi-prefix@/register-dataset.cgi" method="POST">
|
|
217 |
<form action="{$cgi-url}/register-dataset.cgi" method="POST">
|
|
217 | 218 |
<input type="hidden" name="stage" value="mod_accept"/> |
218 | 219 |
<input type="hidden" name="cfg" value="{$qformat}"/> |
219 | 220 |
<input type="hidden" name="sessionid" value="{$sessid}"/> |
... | ... | |
227 | 228 |
</input> |
228 | 229 |
</center> |
229 | 230 |
</form> |
230 |
<form action="@cgi-prefix@/register-dataset.cgi" method="POST">
|
|
231 |
<form action="{$cgi-url}/register-dataset.cgi" method="POST">
|
|
231 | 232 |
<input type="hidden" name="stage" value="mod_decline"/> |
232 | 233 |
<input type="hidden" name="cfg" value="{$qformat}"/> |
233 | 234 |
<input type="hidden" name="sessionid" value="{$sessid}"/> |
... | ... | |
241 | 242 |
</input> |
242 | 243 |
</center> |
243 | 244 |
</form> |
244 |
<form action="@cgi-prefix@/register-dataset.cgi" method="POST">
|
|
245 |
<form action="{$cgi-url}/register-dataset.cgi" method="POST">
|
|
245 | 246 |
<input type="hidden" name="stage" value="mod_revise"/> |
246 | 247 |
<input type="hidden" name="cfg" value="{$qformat}"/> |
247 | 248 |
<input type="hidden" name="sessionid" value="{$sessid}"/> |
... | ... | |
259 | 260 |
</xsl:when> |
260 | 261 |
<xsl:otherwise> |
261 | 262 |
<td class="text_plain"> |
262 |
<form action="@cgi-prefix@/register-dataset.cgi" method="POST">
|
|
263 |
<form action="{$cgi-url}/register-dataset.cgi" method="POST">
|
|
263 | 264 |
<input type="hidden" name="stage" value="read"/> |
264 | 265 |
<input type="hidden" name="cfg" value="{$qformat}"/> |
265 | 266 |
<input type="hidden" name="sessionid" value="{$sessid}"/> |
... | ... | |
272 | 273 |
<input type="SUBMIT" value=" View " name="View"></input> |
273 | 274 |
</center> |
274 | 275 |
</form> |
275 |
<form action="@cgi-prefix@/register-dataset.cgi"
|
|
276 |
<form action="{$cgi-url}/register-dataset.cgi"
|
|
276 | 277 |
method="POST"> |
277 | 278 |
<input type="hidden" name="stage" value="modify"/> |
278 | 279 |
<input type="hidden" name="cfg" value="{$qformat}"/> |
Also available in: Unified diff
Turnkey installer modification: added 'cgi-url' param, replace token 'cgi-prefix' with param 'cgi-url'.