Revision 5987
Added by berkley over 13 years ago
dryad.xsl | ||
---|---|---|
8 | 8 |
xmlns:strings="http://exslt.org/strings"> |
9 | 9 |
|
10 | 10 |
<xsl:import href="DryadUtils.xsl"/> |
11 |
|
|
12 |
<xsl:import href="../../common/resultset-table.xsl"/> |
|
13 |
<xsl:import href="../../common/eml-2/eml.xsl"/> |
|
14 |
<xsl:import href="../../common/fgdc/fgdc-root.xsl"/> |
|
15 |
|
|
16 |
<xsl:output method="html" /> |
|
17 |
<xsl:param name="sessid" /> |
|
18 |
<xsl:param name="qformat">default</xsl:param> |
|
19 |
<xsl:param name="enableediting">false</xsl:param> |
|
20 |
<xsl:param name="contextURL"/> |
|
21 |
<xsl:param name="cgi-prefix"/> |
|
11 | 22 |
|
12 | 23 |
<xsl:variable name="meta" select="/dri:document/dri:meta/dri:pageMeta/dri:metadata"/> |
13 | 24 |
<xsl:variable name="localize" select="$meta[@element='dryad'][@qualifier='localize'][.='true']"/> |
... | ... | |
135 | 146 |
|
136 | 147 |
|
137 | 148 |
<!-- General, non-citation, metadata display--> |
138 |
|
|
149 |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:dri="http://di.tamu.edu/DRI/1.0/" xmlns:i18n="http://apache.org/cocoon/i18n/2.1"> |
|
150 |
<!--<link type="text/css" rel="stylesheet" media="screen" href="/knb/style/skins/default/default.css" />--> |
|
151 |
<xsl:call-template name="documenthead"/> |
|
152 |
<body id="Overview"> |
|
153 |
<div id="main_wrapper"> |
|
154 |
<xsl:call-template name="bodyheader"/> |
|
155 |
<div id="content_wrapper"> |
|
156 |
|
|
139 | 157 |
<table class="ds-includeSet-table"> |
140 | 158 |
<tr class="ds-table-row"> |
141 | 159 |
<td> |
... | ... | |
458 | 476 |
<i18n:text>xmlui.dri2xhtml.METS-1.0.license-cc0</i18n:text> |
459 | 477 |
<xsl:text>   </xsl:text> |
460 | 478 |
<a href="http://creativecommons.org/publicdomain/zero/1.0/" target="_blank"> |
461 |
<img src="/themes/Dryad/images/cc-zero.png"/>
|
|
479 |
<img src="knb/style/skins/mets/cc-zero.png"/>
|
|
462 | 480 |
</a> |
463 | 481 |
<a href="http://opendefinition.org/"> |
464 |
<img src="/themes/Dryad/images/opendata.png"/>
|
|
482 |
<img src="/knb/style/skins/mets/opendata.png"/>
|
|
465 | 483 |
</a> |
466 | 484 |
</div> |
467 | 485 |
</xsl:if> |
... | ... | |
471 | 489 |
<i18n:text>xmlui.dri2xhtml.METS-1.0.license-cc0</i18n:text> |
472 | 490 |
<xsl:text>   </xsl:text> |
473 | 491 |
<a href="http://creativecommons.org/publicdomain/zero/1.0/" target="_blank"> |
474 |
<img src="/themes/Dryad/images/cc-zero.png"/>
|
|
492 |
<img src="/knb/style/skins/mets/cc-zero.png"/>
|
|
475 | 493 |
</a> |
476 | 494 |
<a href="http://opendefinition.org/"> |
477 |
<img src="/themes/Dryad/images/opendata.png"/>
|
|
495 |
<img src="/knb/style/skins/mets/opendata.png"/>
|
|
478 | 496 |
</a> |
479 | 497 |
</div> |
480 | 498 |
</xsl:otherwise> |
481 | 499 |
</xsl:choose> |
482 | 500 |
</xsl:if> |
501 |
</div> |
|
502 |
<xsl:call-template name="bodyfooter"/> |
|
503 |
</div> |
|
504 |
</body> |
|
505 |
</html> |
|
506 |
|
|
483 | 507 |
</xsl:template> |
508 |
|
|
509 |
<xsl:template name="documenthead"> |
|
510 |
<head> |
|
511 |
<title>Data Repository |
|
512 |
|
|
513 |
</title> |
|
514 |
|
|
515 |
<link rel="stylesheet" type="text/css" |
|
516 |
href="{$contextURL}/style/skins/{$qformat}/{$qformat}.css" /> |
|
517 |
<script language="Javascript" type="text/JavaScript" |
|
518 |
src="{$contextURL}/style/skins/{$qformat}/{$qformat}.js" /> |
|
519 |
<script language="Javascript" type="text/JavaScript" |
|
520 |
src="{$contextURL}/style/common/branding.js" /> |
|
521 |
<link rel="stylesheet" type="text/css" |
|
522 |
href="{$contextURL}/style/skins/{$qformat}/{$qformat}.css" /> |
|
484 | 523 |
|
524 |
<script language="JavaScript"> |
|
525 |
<![CDATA[ |
|
526 |
function submitform(action,form_ref) { |
|
527 |
form_ref.action.value=action; |
|
528 |
form_ref.sessionid.value="]]><xsl:value-of select="$sessid" /><![CDATA["; |
|
529 |
form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA["; |
|
530 |
form_ref.submit(); |
|
531 |
} |
|
532 |
]]> |
|
533 |
</script> |
|
534 |
</head> |
|
535 |
</xsl:template> |
|
536 |
|
|
537 |
<xsl:template name="bodyheader"> |
|
538 |
<!-- header here --> |
|
539 |
<script language="JavaScript"> |
|
540 |
insertTemplateOpening('<xsl:value-of select="$contextURL" />'); |
|
541 |
</script> |
|
542 |
</xsl:template> |
|
543 |
|
|
544 |
<xsl:template name="bodyfooter"> |
|
545 |
<!-- footer here --> |
|
546 |
<script language="JavaScript"> |
|
547 |
insertTemplateClosing('<xsl:value-of select="$contextURL" />'); |
|
548 |
</script> |
|
549 |
</xsl:template> |
|
550 |
|
|
485 | 551 |
<xsl:template name="checkedAndNoEmbargo"> |
486 | 552 |
<table class="ds-table file-list"> |
487 | 553 |
<tr class="ds-table-header-row"> </tr> |
Also available in: Unified diff
new files for mets style