Changeset 2264


Ignore:
Timestamp:
09/28/12 15:33:46 (12 years ago)
Author:
mwindhouwer
Message:

M mod-ISOcat-interface-gi/interface/rewrite.xsl
M mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/xml/info.xml
M mod-ISOcat-interface-gi/interface/rewrite-template.xml
M mod-ISOcat-interface-gi/index.acc

  • use the new static property for GI and the icon libraries
Location:
cats/ISOcat/trunk/mod-ISOcat-interface-gi
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/index.acc

    r2029 r2264  
    1212                                        version="2.0"
    1313                                >
     14                                        <xsl:param name="props"/>
    1415                                        <xsl:template match="/nvp">
    1516                                                <html>
    1617                                                        <head>
    1718                                                                <title>General Interface - ISOcat - Web Interface</title>
    18                                                                 <link rel="shortcut icon" href="/isocat/interface/JSXAPPS/ISOcat/images/favicon.ico"/>
    19                                                                 <link rel="icon" href="/isocat/interface/JSXAPPS/ISOcat/images/favicon.gif" type="image/gif"/>
     19                                                                <link rel="shortcut icon" href="{$props//site}interface/JSXAPPS/ISOcat/images/favicon.ico"/>
     20                                                                <link rel="icon" href="{$props//site}interface/JSXAPPS/ISOcat/images/favicon.gif" type="image/gif"/>
    2021                                                        </head>
    2122                                                        <body BGCOLOR="#9898a5" SCROLL="no"
    2223                                                                style="position:absolute;width:100%;height:100%;left:0px;top:0px;padding:0px;margin:0px;border:0px;overflow:hidden;">
    2324                                                                <div id="jsxmain" style="position:absolute;left:0px;top:0px;width:100%;height:100%;">
    24                                                                         <script type="text/javascript" src="/gi/3_9_1/JSX/js/JSX30.js"
    25                                                                 jsxapppath="/isocat/interface/JSXAPPS/ISOcat/"
     25                                                                        <script type="text/javascript" src="{$props//static}gi/3_9_1/JSX/js/JSX30.js"
     26                                                                jsxapppath="{$props//site}interface/JSXAPPS/ISOcat/"
    2627                                                                        jsxlt="true"
    2728                                                                        jsx_browsers="ie6=warn"
     
    3839                                </xsl:stylesheet>
    3940                        </operator>
     41                        <props>active:ISOcat.manage.system.properties</props>
    4042                        <target>this:response</target>
    4143                </instr>
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/xml/info.xml

    r2029 r2264  
    11<div class="info" style="text-align:center;">
    2     Welcome $user$,
     2    <fieldset style="border:1px dotted red;padding:10;width:95%;text-align:justify;">
     3        <legend style="background-color:white;padding:4;">ISOcat runs on catalog.clarin.eu</legend>
     4        In a recent update ISOcat access has moved from isocat.org to catalog.clarin.eu. This allows us to enable Shibboleth access, i.e., you can use your local institute account to login to ISOcat. At least if your institute is part of the CLARIN identity federation. More information and guidelines will follow. Do notice that ISOcat Data Category PIDs will keep on using http://www.isocat.org/datcat/ as their base as that part is persistent, where this resolves to is implementation specific and might change from time to time as it just did. Also the ISOcat Web Services remain accessible via isocat.org, although the catalog.clarin.eu does require support for HTTP redirects and HTTPS which is safer for the HTTP Basic authentication.
     5    </fieldset>
    36<!-- -X->
    47    <fieldset style="border:1px dotted red;padding:10;width:95%;text-align:justify;">
    58        <legend style="background-color:white;padding:4;">Update schedule</legend>
    6         Due to system maintenance upcoming Thursday May&#160;6 13:00 CET, isocat.org will go down for a short while.
     9        Due to system maintenance upcoming Friday September&#160;28 13:30 CET, isocat.org will go down for a (short) while.
    710    </fieldset>
    811<!-X- -->
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/rewrite-template.xml

    r2029 r2264  
    33    <regex>http://localhost:8080/isocat/</regex>
    44    <replace>$site$</replace>
     5  </pattern>
     6  <pattern>
     7    <regex>http://localhost:8080/gi/</regex>
     8    <replace>$static$gi/</replace>
     9  </pattern>
     10  <pattern>
     11    <regex>http://localhost:8080/famfamfam/</regex>
     12    <replace>$static$famfamfam/</replace>
     13  </pattern>
     14  <pattern>
     15    <regex>http://localhost:8080/Tango/</regex>
     16    <replace>$static$Tango/</replace>
    517  </pattern>
    618  <pattern>
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/rewrite.xsl

    r2029 r2264  
    1414        </xsl:template>
    1515
     16        <!-- ISOcat site -->
    1617        <xsl:template match="@*[contains(.,'http://localhost:8080/isocat/')]" priority="2">
    1718                <xsl:attribute name="{name()}" select="replace(.,'http://localhost:8080/isocat/',string($props//site))"/>
     
    2122                <xsl:value-of select="replace(.,'http://localhost:8080/isocat/',string($props//site))"/>
    2223        </xsl:template>
     24
     25        <!-- ISOcat static (gi) -->
     26       
     27        <xsl:template match="@*[contains(.,'http://localhost:8080/gi/')]" priority="2">
     28                <xsl:attribute name="{name()}" select="replace(.,'http://localhost:8080/gi/',concat(string($props//static),'gi/'))"/>
     29        </xsl:template>
     30
     31        <xsl:template match="text()[contains(.,'http://localhost:8080/gi/')]" priority="2">
     32                <xsl:value-of select="replace(.,'http://localhost:8080/gi/',concat(string($props//static),'gi/'))"/>
     33        </xsl:template>
     34
     35        <!-- ISOcat static (famfamfam) -->
     36       
     37        <xsl:template match="@*[contains(.,'http://localhost:8080/famfamfam/')]" priority="2">
     38                <xsl:attribute name="{name()}" select="replace(.,'http://localhost:8080/famfamfam/',concat(string($props//static),'famfamfam/'))"/>
     39        </xsl:template>
     40
     41        <xsl:template match="text()[contains(.,'http://localhost:8080/famfamfam/')]" priority="2">
     42                <xsl:value-of select="replace(.,'http://localhost:8080/famfamfam/',concat(string($props//static),'famfamfam/'))"/>
     43        </xsl:template>
     44
     45        <!-- ISOcat static (Tango) -->
     46       
     47        <xsl:template match="@*[contains(.,'http://localhost:8080/Tango/')]" priority="2">
     48                <xsl:attribute name="{name()}" select="replace(.,'http://localhost:8080/Tango/',concat(string($props//static),'Tango/'))"/>
     49        </xsl:template>
     50
     51        <xsl:template match="text()[contains(.,'http://localhost:8080/Tango/')]" priority="2">
     52                <xsl:value-of select="replace(.,'http://localhost:8080/Tango/',concat(string($props//static),'Tango/'))"/>
     53        </xsl:template>
     54
     55        <!-- ISOcat server -->
    2356       
    2457        <xsl:template match="@*[contains(.,'localhost:8080')]" priority="1">
     
    2962                <xsl:value-of select="replace(.,'localhost:8080',string($props//server))"/>
    3063        </xsl:template>
     64
     65        <!-- ISOcat forum -->
    3166       
    3267        <xsl:template match="@*[contains(.,'http://localhost:8888/forum/')]" priority="2">
Note: See TracChangeset for help on using the changeset viewer.