Revision 3515
Added by barteau over 17 years ago
lib/style/common/fgdc/fgdc_1.xsl | ||
---|---|---|
4 | 4 |
<xsl:param name="docid"/> |
5 | 5 |
<xsl:param name="sessionid" select="public"/> |
6 | 6 |
<xsl:param name="qformat"/> |
7 |
<xsl:param name="publicRead"/> |
|
8 |
<xsl:param name="message"/> |
|
7 | 9 |
|
8 | 10 |
<xsl:template match="/metadata"> |
9 | 11 |
<html> |
... | ... | |
35 | 37 |
<table border="0" cellspacing="10"> |
36 | 38 |
<tr> |
37 | 39 |
<td colspan="2" align="center"> |
40 |
<span class="greenbold"><xsl:value-of select="$message"/></span> |
|
41 |
</td> |
|
42 |
</tr> |
|
43 |
<tr> |
|
44 |
<td colspan="2" align="center"> |
|
38 | 45 |
<span class="greenbold">FGDC Identification Information</span> |
39 | 46 |
</td> |
40 | 47 |
</tr> |
... | ... | |
310 | 317 |
</td> |
311 | 318 |
<td> |
312 | 319 |
<xsl:if test="not($sessionid = 'null')"> |
320 |
<form method="get" action="./style/common/ClientViewHelper.jspx"> |
|
321 |
<input name="action" value="Set Access" type="submit"/> |
|
322 |
<xsl:choose> |
|
323 |
<xsl:when test="$publicRead = 'true'"> |
|
324 |
<input name="publicAccess" type="checkbox" checked=''/> Public read |
|
325 |
</xsl:when> |
|
326 |
<xsl:otherwise> |
|
327 |
<input name="publicAccess" type="checkbox"/> Public read |
|
328 |
</xsl:otherwise> |
|
329 |
</xsl:choose> |
|
330 |
<input name="docid" type="hidden" value="{.}"/> |
|
331 |
<input name="qformat" type="hidden" value="{$qformat}"/> |
|
332 |
<input name="metadataDocId" type="hidden" value="{$docid}"/> |
|
333 |
<input name="contentStandard" type="hidden" value="FGDC"/> |
|
334 |
</form> |
|
313 | 335 |
<form method="post" action="./style/common/ClientViewHelper.jspx" |
314 | 336 |
enctype="multipart/form-data"> |
315 | 337 |
<input name="action" value="Update Metadata" type="submit"/> |
Also available in: Unified diff
Modified to accept (and display) parameters "publicRead" and "message". Modifications to allow users to change public access to package.