3 |
3 |
<xsl:param name="publicRead"/>
|
4 |
4 |
<xsl:param name="message"/>
|
5 |
5 |
<xsl:param name="sessionid"></xsl:param>
|
6 |
|
|
|
6 |
<xsl:param name="enableFGDCediting"/>
|
|
7 |
|
7 |
8 |
<xsl:template name="metadata">
|
8 |
9 |
<body>
|
9 |
10 |
<div class="centerContentBorder">
|
... | ... | |
273 |
274 |
<td class="tablehead" colspan="2">
|
274 |
275 |
File name (Doc Id)
|
275 |
276 |
</td>
|
276 |
|
<xsl:if test="not($sessionid = '')">
|
|
277 |
<xsl:if test="$enableFGDCediting = 'true' and not($sessionid = '')">
|
277 |
278 |
<td align="left" colspan="2" class="tablehead">
|
278 |
279 |
Actions...
|
279 |
280 |
</td>
|
... | ... | |
292 |
293 |
<xsl:value-of select="../custom"/> (<xsl:value-of select="."/>)
|
293 |
294 |
|
294 |
295 |
<!-- update -->
|
295 |
|
<xsl:if test="not($sessionid = '')">
|
|
296 |
<xsl:if test="$enableFGDCediting = 'true' and not($sessionid = '')">
|
296 |
297 |
<br/>
|
297 |
298 |
<br/>
|
298 |
299 |
<form method="post" action="{$contextURL}/style/common/ClientViewHelper.jspx"
|
... | ... | |
317 |
318 |
</form>
|
318 |
319 |
</td>
|
319 |
320 |
|
320 |
|
<xsl:if test="not($sessionid = '')">
|
|
321 |
<xsl:if test="$enableFGDCediting = 'true' and not($sessionid = '')">
|
321 |
322 |
<!-- delete -->
|
322 |
323 |
<td class="secondCol" valign="bottom">
|
323 |
324 |
<form method="get" action="{$contextURL}/style/common/ClientViewHelper.jspx"
|
... | ... | |
361 |
362 |
<td class="secondCol" align="left" valign="top">
|
362 |
363 |
<xsl:value-of select="./ancestor::digform/digtinfo/formcont"/> (<xsl:value-of select="."/>)
|
363 |
364 |
<!-- update -->
|
364 |
|
<xsl:if test="not($sessionid = '')">
|
|
365 |
<xsl:if test="$enableFGDCediting = 'true' and not($sessionid = '')">
|
365 |
366 |
<br/>
|
366 |
367 |
<br/>
|
367 |
368 |
<form method="post" action="{$contextURL}/style/common/ClientViewHelper.jspx"
|
... | ... | |
384 |
385 |
<input name="metadataDocId" type="hidden" value="{$docid}"/>
|
385 |
386 |
</form>
|
386 |
387 |
</td>
|
387 |
|
<xsl:if test="not($sessionid = '')">
|
|
388 |
<xsl:if test="$enableFGDCediting = 'true' and not($sessionid = '')">
|
388 |
389 |
<!-- delete -->
|
389 |
390 |
<td class="secondCol" valign="bottom">
|
390 |
391 |
<form method="get" action="{$contextURL}/style/common/ClientViewHelper.jspx"
|
Parameterize FGDC update/delete functions with the "enableFGDCediting" parameter.
Stylesheets that include fgdc-root.xsl must now set the edit parameter to "true" if they wish to have the editing widgets displayed (true for sanparks and saeon skins but not for nceas)