diff --git a/dspace/modules/xmlui/src/main/webapp/themes/Participatorio/lib/xsl/core/page-structure.xsl b/dspace/modules/xmlui/src/main/webapp/themes/Participatorio/lib/xsl/core/page-structure.xsl index 4640834e03a420a05281a6c6599601e04b776b76..83e01ed6a6f836682877cbf48f0660eb05863ff9 100644 --- a/dspace/modules/xmlui/src/main/webapp/themes/Participatorio/lib/xsl/core/page-structure.xsl +++ b/dspace/modules/xmlui/src/main/webapp/themes/Participatorio/lib/xsl/core/page-structure.xsl @@ -655,12 +655,9 @@ </xsl:when> <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> -<!-- <xsl:when test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']='faq'"> --> +<!-- <xsl:when test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='title']/i18n:text='xmlui.general.dspace_home'"> --> <!-- Se for a homepage --> <xsl:when test="starts-with($request-uri, 'page/teste')"> - <!-- bds: homepage-body.xhtml contains <div id="homepage-body">...</div> --> - <!-- <xsl:copy-of select="document('../../static/homepage-body.xhtml')"/> --> - <xsl:call-template name="staticHomePage"/> -<!-- <xsl:copy-of select="document('static/teste.xhtml')"/> --> + <xsl:call-template name="staticHomePage"/> <!-- Implementado no fim deste arquivo --> </xsl:when> <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> @@ -811,124 +808,122 @@ <!--Constrói a HomePage --> <xsl:template name="staticHomePage"> - <div id="homepage-body"> -<!-- Search --> - <h1 class="ds-div-head"> - <i18n:text>xmlui.structure.AboutRepositoryTitle</i18n:text> - </h1> - <form xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - id="aspect_discovery_SiteViewer_div_front-page-search" class="ds-interactive-div primary" - action="/xmlui/discover" method="get" onsubmit="javascript:tSubmit(this);"> - <p class="ds-paragraph"> - <i18n:text>xmlui.ArtifactBrowser.FrontPageSearch.para1</i18n:text> - </p> - <p xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - class="ds-paragraph"> - <input id="aspect_discovery_SiteViewer_field_query" class="ds-text-field" - name="query" value="" type="text" /> - - <input xmlns:i18n="http://apache.org/cocoon/i18n/2.1" id="aspect_discovery_SiteViewer_field_submit" - class="ds-button-field" name="submit" i18n:attr="value" value="xmlui.general.go" - type="submit" /> - - </p> - </form> - -<!-- Community Browser --> - <h1 xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - class="ds-div-head"> - <i18n:text>xmlui.ArtifactBrowser.CommunityBrowser.head</i18n:text> - </h1> - <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - id="aspect_artifactbrowser_CommunityBrowser_div_comunity-browser" - class="ds-static-div primary"> - <p class="ds-paragraph"><i18n:text>xmlui.ArtifactBrowser.CommunityBrowser.select</i18n:text></p> - <ul xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - xmlns:oreatom="http://www.openarchives.org/ore/atom/" xmlns:ore="http://www.openarchives.org/ore/terms/" - xmlns:atom="http://www.w3.org/2005/Atom"> - <!-- External Metadata URL: cocoon://metadata/handle/123456789/13/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> - <li class="ds-artifact-item community odd"> - <div class="artifact-description"> - <div class="artifact-title"> - <a href="/xmlui/handle/123456789/13"> - <span class="Z3988">Acervo Geral (AG)</span> - </a> - </div> - </div> - </li> - <!-- External Metadata URL: cocoon://metadata/handle/123456789/11/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> - <li class="ds-artifact-item community even"> - <div class="artifact-description"> - <div class="artifact-title"> - <a href="/xmlui/handle/123456789/11"> - <span class="Z3988">Conselho Nacional de Juventude (CONJUVE) - </span> - </a> - </div> - </div> - </li> - <!-- External Metadata URL: cocoon://metadata/handle/123456789/12/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> - <li class="ds-artifact-item community odd"> - <div class="artifact-description"> - <div class="artifact-title"> - <a href="/xmlui/handle/123456789/12"> - <span class="Z3988">Organização Ibero-Americana de Juventude (OIJ) - </span> - </a> - </div> - </div> - </li> - <!-- External Metadata URL: cocoon://metadata/handle/123456789/8/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> - <li class="ds-artifact-item community even"> - <div class="artifact-description"> - <div class="artifact-title"> - <a href="/xmlui/handle/123456789/8"> - <span class="Z3988">Secretaria Nacional de Juventude (SNJ)</span> - </a> - </div> - <div class="artifact-info"> - <span class="short-description">Comunidade da Secretaria Nacional de Juventude - (SNJ) - </span> - </div> - </div> - </li> - </ul> - </div> - -<!-- News.xml --> - <h1 class="ds-div-head"> - <i18n:text>participatorio.repo.title</i18n:text> - </h1> - <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - id="file_news_div_news" class="ds-static-div primary"> - <p class="ds-paragraph"> - <i18n:text>participatorio.repo.text</i18n:text> - </p> - </div> - <h1 xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - class="ds-div-head"> - <i18n:text>participatorio.repo.titleMissao</i18n:text> - </h1> - <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - id="file_news_div_news" class="ds-static-div primary"> - <p class="ds-paragraph"> - <i18n:text>participatorio.repo.textMissao</i18n:text> - </p> - </div> - <h1 xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - class="ds-div-head"> - <i18n:text>participatorio.repo.titleObjetivo</i18n:text> - </h1> - <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" - id="file_news_div_news" class="ds-static-div primary"> - <p class="ds-paragraph"> - <i18n:text>participatorio.repo.textObjetivo</i18n:text> - </p> - </div> + <!-- Search --> + <h1 class="ds-div-head"> + <i18n:text>xmlui.structure.AboutRepositoryTitle</i18n:text> + </h1> + <form xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="aspect_discovery_SiteViewer_div_front-page-search" class="ds-interactive-div primary" + action="/xmlui/discover" method="get" onsubmit="javascript:tSubmit(this);"> + <p class="ds-paragraph"> + <i18n:text>xmlui.ArtifactBrowser.FrontPageSearch.para1</i18n:text> + </p> + <p xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + class="ds-paragraph"> + <input id="aspect_discovery_SiteViewer_field_query" class="ds-text-field" + name="query" value="" type="text" /> + + <input xmlns:i18n="http://apache.org/cocoon/i18n/2.1" id="aspect_discovery_SiteViewer_field_submit" + class="ds-button-field" name="submit" i18n:attr="value" value="xmlui.general.go" + type="submit" /> + </p> + </form> + + <!-- Community Browser --> + <h1 xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + class="ds-div-head"> + <i18n:text>xmlui.ArtifactBrowser.CommunityBrowser.head</i18n:text> + </h1> + <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="aspect_artifactbrowser_CommunityBrowser_div_comunity-browser" + class="ds-static-div primary"> + <p class="ds-paragraph"> + <i18n:text>xmlui.ArtifactBrowser.CommunityBrowser.select</i18n:text> + </p> + <ul xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + xmlns:oreatom="http://www.openarchives.org/ore/atom/" xmlns:ore="http://www.openarchives.org/ore/terms/" + xmlns:atom="http://www.w3.org/2005/Atom"> + <!-- External Metadata URL: cocoon://metadata/handle/123456789/13/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> + <li class="ds-artifact-item community odd"> + <div class="artifact-description"> + <div class="artifact-title"> + <a href="/xmlui/handle/123456789/13"> + <span class="Z3988">Acervo Geral (AG)</span> + </a> + </div> + </div> + </li> + <!-- External Metadata URL: cocoon://metadata/handle/123456789/11/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> + <li class="ds-artifact-item community even"> + <div class="artifact-description"> + <div class="artifact-title"> + <a href="/xmlui/handle/123456789/11"> + <span class="Z3988">Conselho Nacional de Juventude (CONJUVE) + </span> + </a> + </div> + </div> + </li> + <!-- External Metadata URL: cocoon://metadata/handle/123456789/12/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> + <li class="ds-artifact-item community odd"> + <div class="artifact-description"> + <div class="artifact-title"> + <a href="/xmlui/handle/123456789/12"> + <span class="Z3988">Organização Ibero-Americana de Juventude (OIJ) + </span> + </a> + </div> + </div> + </li> + <!-- External Metadata URL: cocoon://metadata/handle/123456789/8/mets.xml?sections=dmdSec,fileSec&fileGrpTypes=THUMBNAIL --> + <li class="ds-artifact-item community even"> + <div class="artifact-description"> + <div class="artifact-title"> + <a href="/xmlui/handle/123456789/8"> + <span class="Z3988">Secretaria Nacional de Juventude (SNJ)</span> + </a> + </div> + <div class="artifact-info"> + <span class="short-description">Comunidade da Secretaria Nacional de Juventude + (SNJ) + </span> + </div> + </div> + </li> + </ul> + </div> + <!-- News.xml --> + <h1 class="ds-div-head"> + <i18n:text>participatorio.repo.title</i18n:text> + </h1> + <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="file_news_div_news" class="ds-static-div primary"> + <p class="ds-paragraph"> + <i18n:text>participatorio.repo.text</i18n:text> + </p> + </div> + <h1 xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + class="ds-div-head"> + <i18n:text>participatorio.repo.titleMissao</i18n:text> + </h1> + <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="file_news_div_news" class="ds-static-div primary"> + <p class="ds-paragraph"> + <i18n:text>participatorio.repo.textMissao</i18n:text> + </p> + </div> + <h1 xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + class="ds-div-head"> + <i18n:text>participatorio.repo.titleObjetivo</i18n:text> + </h1> + <div xmlns:i18n="http://apache.org/cocoon/i18n/2.1" xmlns="http://di.tamu.edu/DRI/1.0/" + id="file_news_div_news" class="ds-static-div primary"> + <p class="ds-paragraph"> + <i18n:text>participatorio.repo.textObjetivo</i18n:text> + </p> </div> - </xsl:template> + </xsl:stylesheet>