Show
Ignore:
Timestamp:
29.05.2012 13:36:20 (8 years ago)
Author:
kjdon
Message:

renaming interfaces. step 1. rename default to basic. change image paths, interface inheritance etc

Location:
main/trunk/greenstone3/web/interfaces/basic-client-xslt
Files:
8 modified
1 moved

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/about.xsl

    r23779 r25699  
    1717      <gslib:aboutCollectionPageTitle/> 
    1818    </title> 
    19     <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/> 
     19    <link rel="stylesheet" href="interfaces/basic/style/core.css" type="text/css"/> 
    2020      </head> 
    2121       
  • main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/berry.xsl

    r23779 r25699  
    116116            if (target.id.toLowerCase() == 'urlcheck' &amp;amp;&amp;amp; urlonly){ 
    117117               var urlcheck = YAHOO.util.Dom.get('urlcheck'); 
    118                urlcheck.src = 'interfaces/default/images/check3.gif';               
     118               urlcheck.src = 'interfaces/basic/images/check3.gif';               
    119119               var parea  =YAHOO.util.Dom.get('pretextarea');        
    120120               urlonly = false; 
     
    126126            if (target.id.toLowerCase() == 'urlcheck' &amp;amp;&amp;amp; !urlonly ){  
    127127                var urlcheck = YAHOO.util.Dom.get('urlcheck'); 
    128                 urlcheck.src = 'interfaces/default/images/check4.gif';                        
     128                urlcheck.src = 'interfaces/basic/images/check4.gif';                        
    129129                var parea  =YAHOO.util.Dom.get('pretextarea'); 
    130130                populateUrls(parea);         
     
    172172 
    173173              if (previousView != null){ 
    174                  previousView.style.backgroundImage =  'url("interfaces/default/images/bg_on.png")';  
     174                 previousView.style.backgroundImage =  'url("interfaces/basic/images/bg_on.png")';  
    175175              }  
    176176              previousView = fullview; 
    177               previousView.style.backgroundImage =  'url("interfaces/default/images/bg_green.png")'; 
     177              previousView.style.backgroundImage =  'url("interfaces/basic/images/bg_green.png")'; 
    178178 
    179179               while (content.hasChildNodes()) { 
     
    249249 
    250250              if (previousView != null &amp;amp;&amp;amp; textview !=null){ 
    251                  previousView.style.backgroundImage =  'url("interfaces/default/images/bg_on.png")';  
     251                 previousView.style.backgroundImage =  'url("interfaces/basic/images/bg_on.png")';  
    252252              }  
    253253 
    254254             if (textview !=null){ 
    255255               previousView = textview; 
    256                previousView.style.backgroundImage =  'url("interfaces/default/images/bg_green.png")'; 
     256               previousView.style.backgroundImage =  'url("interfaces/basic/images/bg_green.png")'; 
    257257             } 
    258258 
     
    326326 
    327327              if (previousView != null &amp;amp;&amp;amp; email !=null ){ 
    328                  previousView.style.backgroundImage =  'url("interfaces/default/images/bg_on.png")';  
     328                 previousView.style.backgroundImage =  'url("interfaces/basic/images/bg_on.png")';  
    329329              }  
    330330               
    331331              if (email != null){ 
    332332                previousView = email; 
    333                previousView.style.backgroundImage =  'url("interfaces/default/images/bg_green.png")'; 
     333               previousView.style.backgroundImage =  'url("interfaces/basic/images/bg_green.png")'; 
    334334             } 
    335335               while (content.hasChildNodes()) { 
     
    396396          
    397397             var img =  document.createElement('img'); 
    398              img.src = 'interfaces/default/images/check3.gif'; 
     398             img.src = 'interfaces/basic/images/check3.gif'; 
    399399             img.id = 'urlcheck';  
    400400             div.appendChild(img); 
     
    507507 
    508508  <xsl:template name="styleSheet"> 
    509     <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/>   
    510     <link rel="stylesheet" href="interfaces/default/style/berry.css" type="text/css"/>   
     509    <link rel="stylesheet" href="interfaces/basic/style/core.css" type="text/css"/>   
     510    <link rel="stylesheet" href="interfaces/basic/style/berry.css" type="text/css"/>   
    511511  </xsl:template> 
    512512   
  • main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/berrytools.xsl

    r23779 r25699  
    2727      <xsl:when test="$selectedNode = $rootNode"> 
    2828    <p id="documentberries">     
    29       <img class='pick'  id="{$collName}:{$rootNode}" src="interfaces/default/images/berry3.png" alt="in basket" width="15" height="15" border="0"/><span id="{$collName}:{$rootNode}:root" class="documentberry">the whole document</span></p>        
     29      <img class='pick'  id="{$collName}:{$rootNode}" src="interfaces/basic/images/berry3.png" alt="in basket" width="15" height="15" border="0"/><span id="{$collName}:{$rootNode}:root" class="documentberry">the whole document</span></p>        
    3030      </xsl:when> 
    3131      <xsl:otherwise> 
    3232    <p id="documentberries">     
    33       <img class='pick'  id="{$collName}:{$rootNode}" src="interfaces/default/images/berry3.png" alt="in basket" width="15" height="15" border="0"/><span id="{$collName}:{$rootNode}:root" class="documentberry">the whole document</span><img class='pick'  id="{$collName}:{$selectedNode}" src="interfaces/default/images/berry3.png" alt="in basket" width="15" height="15" border="0"/><span id="{$collName}:{$selectedNode}:section" class="documentberry">the current section</span></p> 
     33      <img class='pick'  id="{$collName}:{$rootNode}" src="interfaces/basic/images/berry3.png" alt="in basket" width="15" height="15" border="0"/><span id="{$collName}:{$rootNode}:root" class="documentberry">the whole document</span><img class='pick'  id="{$collName}:{$selectedNode}" src="interfaces/basic/images/berry3.png" alt="in basket" width="15" height="15" border="0"/><span id="{$collName}:{$selectedNode}:section" class="documentberry">the current section</span></p> 
    3434      </xsl:otherwise>  
    3535    </xsl:choose> 
     
    3838   
    3939  <xsl:template name="loadLibrary"> 
    40     <script type="text/javascript" src="interfaces/default/js/YAHOO.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
    41     <script type="text/javascript" src="interfaces/default/js/event.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
    42     <script type="text/javascript" src="interfaces/default/js/connection.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
    43     <script type="text/javascript" src="interfaces/default/js/dom.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
    44     <script type="text/javascript" src="interfaces/default/js/dragdrop.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
    45     <script type="text/javascript" src="interfaces/default/js/ygDDPlayer.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
    46     <script type="text/javascript" src="interfaces/default/js/ygDDOnTop.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
     40    <script type="text/javascript" src="interfaces/basic/js/YAHOO.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
     41    <script type="text/javascript" src="interfaces/basic/js/event.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
     42    <script type="text/javascript" src="interfaces/basic/js/connection.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
     43    <script type="text/javascript" src="interfaces/basic/js/dom.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
     44    <script type="text/javascript" src="interfaces/basic/js/dragdrop.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
     45    <script type="text/javascript" src="interfaces/basic/js/ygDDPlayer.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
     46    <script type="text/javascript" src="interfaces/basic/js/ygDDOnTop.js"><xsl:text disable-output-escaping="yes"> </xsl:text></script> 
    4747     
    4848  </xsl:template> 
     
    5656  <xsl:template name="addBerry"> 
    5757    <xsl:param name="collName"/> 
    58     <td valign="top"><img class='pick' id="{$collName}:{@nodeID}" src="interfaces/default/images/berry3.png" alt="in basket" width="15" height="15" border="0"/></td> 
     58    <td valign="top"><img class='pick' id="{$collName}:{@nodeID}" src="interfaces/basic/images/berry3.png" alt="in basket" width="15" height="15" border="0"/></td> 
    5959  </xsl:template> 
    6060   
     
    170170               var berries = YAHOO.util.Dom.get('berries'); 
    171171               var img = document.createElement('img'); 
    172                img.src = 'interfaces/default/images/berry3.png'; 
     172               img.src = 'interfaces/basic/images/berry3.png'; 
    173173               img.height = 15; 
    174174               img.width = 15; 
     
    247247        berryBasket.style.height = height; 
    248248        berryBasket.style.width = width; 
    249         berryBasket.style.background ='url("interfaces/default/images/kete2.png") 0 0 repeat'; 
     249        berryBasket.style.background ='url("interfaces/basic/images/kete2.png") 0 0 repeat'; 
    250250        berryBasket.style.cursor = "default";          
    251251        berryBasket.className = "show"; 
     
    325325                     for (var i =0; i &lt; berryList.length; i++ ){ 
    326326                             var img = document.createElement('img'); 
    327                               img.src = 'interfaces/default/images/berry3.png'; 
     327                              img.src = 'interfaces/basic/images/berry3.png'; 
    328328                              img.height = 15; 
    329329                              img.width = 15; 
     
    396396 
    397397  <xsl:template name="berryStyleSheet"> 
    398     <link rel="stylesheet" href="interfaces/default/style/berry.css" type="text/css"/>   
     398    <link rel="stylesheet" href="interfaces/basic/style/berry.css" type="text/css"/>   
    399399  </xsl:template> 
    400400   
  • main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/document.xsl

    r24063 r25699  
    537537                        </td> 
    538538                        <td align="right"> 
    539                             <a href="{$library_name}?a=d&amp;amp;c={$collName}&amp;amp;d={@selectedNode}.fc"><img src="interfaces/default/images/more.gif" border="0" align="absbottom" /></a> 
     539                            <a href="{$library_name}?a=d&amp;amp;c={$collName}&amp;amp;d={@selectedNode}.fc"><img src="interfaces/basic/images/more.gif" border="0" align="absbottom" /></a> 
    540540                        </td> 
    541541                    </tr> 
     
    546546                        <td align="left"> 
    547547                            <xsl:if test=" not ( $pos = 1 )"> 
    548                                 <a href="{$library_name}?a=d&amp;amp;c={$collName}&amp;amp;d={@selectedNode}.ps"><img src="interfaces/default/images/less.gif" border="0" align="absbottom" /></a> 
     548                                <a href="{$library_name}?a=d&amp;amp;c={$collName}&amp;amp;d={@selectedNode}.ps"><img src="interfaces/basic/images/less.gif" border="0" align="absbottom" /></a> 
    549549                            </xsl:if> 
    550550                        </td> 
     
    556556                        <td align="right"> 
    557557                            <xsl:if test=" not($pos = $length)"> 
    558                                 <a href="{$library_name}?a=d&amp;amp;c={$collName}&amp;amp;d={@selectedNode}.ns"><img src="interfaces/default/images/more.gif" border="0" align="absbottom" /></a> 
     558                                <a href="{$library_name}?a=d&amp;amp;c={$collName}&amp;amp;d={@selectedNode}.ns"><img src="interfaces/basic/images/more.gif" border="0" align="absbottom" /></a> 
    559559                            </xsl:if> 
    560560                        </td> 
     
    634634        <xsl:variable name="request-params" select="/page/pageRequest/paramList"/> 
    635635        <xsl:if test="$request-params/param[@name='dt']/@value != 'simple'">   
    636             <a><xsl:attribute name="href"><xsl:value-of select="$library_name"/>?a=d&amp;amp;c=<xsl:value-of select="$collName"/>&amp;amp;d=<xsl:value-of select="@selectedNode"/><xsl:choose><xsl:when test="$direction='back'">.pp</xsl:when><xsl:otherwise>.np</xsl:otherwise></xsl:choose>&amp;amp;sib=1&amp;amp;p.s=<xsl:value-of select="$request-params/param[@name='p.s']/@value"/>&amp;amp;p.sa=<xsl:value-of select="$request-params/param[@name='p.sa']/@value"/>&amp;amp;p.a=<xsl:value-of select="$request-params/param[@name='p.a']/@value"/></xsl:attribute><xsl:choose><xsl:when test="$direction='back'"><img class="lessarrow" src="interfaces/default/images/less.gif" /></xsl:when><xsl:otherwise><img class="morearrow" src="interfaces/default/images/more.gif"  /></xsl:otherwise></xsl:choose></a> 
     636            <a><xsl:attribute name="href"><xsl:value-of select="$library_name"/>?a=d&amp;amp;c=<xsl:value-of select="$collName"/>&amp;amp;d=<xsl:value-of select="@selectedNode"/><xsl:choose><xsl:when test="$direction='back'">.pp</xsl:when><xsl:otherwise>.np</xsl:otherwise></xsl:choose>&amp;amp;sib=1&amp;amp;p.s=<xsl:value-of select="$request-params/param[@name='p.s']/@value"/>&amp;amp;p.sa=<xsl:value-of select="$request-params/param[@name='p.sa']/@value"/>&amp;amp;p.a=<xsl:value-of select="$request-params/param[@name='p.a']/@value"/></xsl:attribute><xsl:choose><xsl:when test="$direction='back'"><img class="lessarrow" src="interfaces/basic/images/less.gif" /></xsl:when><xsl:otherwise><img class="morearrow" src="interfaces/basic/images/more.gif"  /></xsl:otherwise></xsl:choose></a> 
    637637        </xsl:if>  
    638638    </xsl:template> 
  • main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/home.xsl

    r23779 r25699  
    1818      <xsl:text> </xsl:text> 
    1919    </title> 
    20     <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/> 
     20    <link rel="stylesheet" href="interfaces/basic/style/core.css" type="text/css"/> 
    2121      </head> 
    2222       
     
    2929      <div id="banner"> 
    3030        <p> 
    31           <img src="interfaces/default/images/gsdlhead.gif" class="getTextFor null this.alt.gsdl" /> 
     31          <img src="interfaces/basic/images/gsdlhead.gif" class="getTextFor null this.alt.gsdl" /> 
    3232        </p> 
    3333      </div> 
  • main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/icons.xsl

    r23779 r25699  
    5050    <xsl:param name="alt"/> 
    5151    <img  border="0" width="28" height="23" 
    52       src="interfaces/default/images/openbook.gif" 
     52      src="interfaces/basic/images/openbook.gif" 
    5353      alt="{$alt}" class="getTextFor null this.title.{$title}" /> 
    5454  </xsl:template> 
     
    5757    <xsl:param name="alt"/> 
    5858    <img border="0" width="18" height="11" 
    59       src="interfaces/default/images/book.gif" 
     59      src="interfaces/basic/images/book.gif" 
    6060      alt="{$alt}" class="getTextFor null this.title.open_book" /> 
    6161  </xsl:template> 
     
    6565    <xsl:param name="alt"/> 
    6666    <img border="0" width="23" height="15" 
    67       src="interfaces/default/images/openfldr.gif" 
     67      src="interfaces/basic/images/openfldr.gif" 
    6868      alt="{$alt}" class="getTextFor null this.title.{$title}" /> 
    6969  </xsl:template> 
     
    7373    <xsl:param name="alt"/> 
    7474    <img  border="0" width="23" height="15" 
    75       src="interfaces/default/images/clsdfldr.gif" 
     75      src="interfaces/basic/images/clsdfldr.gif" 
    7676      alt="{$alt}" class="getTextFor null this.title.{$title}" /> 
    7777  </xsl:template> 
     
    8080    <xsl:param name="alt"/> 
    8181    <img  border="0" width="16" height="21" 
    82       src="interfaces/default/images/itext.gif" 
     82      src="interfaces/basic/images/itext.gif" 
    8383      alt="{$alt}" class="getTextFor null this.title.view_document,parent.class.text:'clientDocView'" /> 
    8484    <span><xsl:value-of select="$alt" /></span> 
     
    8989    <xsl:param name="title"/> 
    9090    <img  border="0" width="20" height="16" 
    91       src="interfaces/default/images/bshelf.gif"   
     91      src="interfaces/basic/images/bshelf.gif"   
    9292      alt="{$alt}" title="{$title}"/> 
    9393  </xsl:template> 
     
    9696    <xsl:param name="alt">PDF</xsl:param> 
    9797    <img border="0" width='26' height='26'  
    98       src='interfaces/default/images/ipdf.gif'  
     98      src='interfaces/basic/images/ipdf.gif'  
    9999      alt='{$alt}' class="getTextFor null this.title.texticonpdf" /> 
    100100  </xsl:template> 
     
    103103    <xsl:param name="alt">Word</xsl:param> 
    104104    <img border="0" width='26' height='26'  
    105       src='interfaces/default/images/imsword.gif'  
     105      src='interfaces/basic/images/imsword.gif'  
    106106      alt='{$alt}' class="getTextFor null this.title.texticonmsword" /> 
    107107  </xsl:template> 
  • main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/querytools.xsl

    r24026 r25699  
    6060    <div>    
    6161      <div> 
    62         <xsl:if test="$here &gt; 1"><a href="{$library_name}?a=q&amp;sa={$sa}&amp;c={$collName}&amp;s={$service}&amp;rt=rd&amp;{$page-param}={$prev}"><img src="interfaces/default/images/less.gif" width='30' height='16' border='0' align='top'/><span class="getTextFor query.matches"></span><xsl:text> </xsl:text><xsl:value-of select="number(($prev - 1)*$hpp + 1)"/> - <xsl:value-of select="number(($prev * $hpp))"/></a></xsl:if> 
     62        <xsl:if test="$here &gt; 1"><a href="{$library_name}?a=q&amp;sa={$sa}&amp;c={$collName}&amp;s={$service}&amp;rt=rd&amp;{$page-param}={$prev}"><img src="interfaces/basic/images/less.gif" width='30' height='16' border='0' align='top'/><span class="getTextFor query.matches"></span><xsl:text> </xsl:text><xsl:value-of select="number(($prev - 1)*$hpp + 1)"/> - <xsl:value-of select="number(($prev * $hpp))"/></a></xsl:if> 
    6363         
    6464         
     
    6666          <xsl:variable name='m' select="number($next * $hpp)"/> 
    6767          <xsl:variable name='mm'><xsl:choose><xsl:when test="$m &lt; $td"><xsl:value-of select='$m'/></xsl:when><xsl:otherwise><xsl:value-of select='$td'/></xsl:otherwise></xsl:choose></xsl:variable> 
    68           <a href="{$library_name}?a=q&amp;sa={$sa}&amp;c={$collName}&amp;s={$service}&amp;rt=rd&amp;{$page-param}={$next}"><span class="getTextFor query.matches"></span><xsl:text> </xsl:text><xsl:value-of select="number(($next - 1)*$hpp + 1)"/> - <xsl:value-of select="$mm"/><img src="interfaces/default/images/more.gif" width='30' height='16' border='0' align='top'/></a></xsl:if></div> 
     68          <a href="{$library_name}?a=q&amp;sa={$sa}&amp;c={$collName}&amp;s={$service}&amp;rt=rd&amp;{$page-param}={$next}"><span class="getTextFor query.matches"></span><xsl:text> </xsl:text><xsl:value-of select="number(($next - 1)*$hpp + 1)"/> - <xsl:value-of select="$mm"/><img src="interfaces/basic/images/more.gif" width='30' height='16' border='0' align='top'/></a></xsl:if></div> 
    6969    </div> 
    7070      </xsl:if> 
  • main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/style.xsl

    r23779 r25699  
    1111  <!-- global style info goes here  --> 
    1212  <xsl:template name="globalStyle"> 
    13     <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/> 
     13    <link rel="stylesheet" href="interfaces/basic/style/core.css" type="text/css"/> 
    1414  </xsl:template> 
    1515 
     
    7676    <xsl:param name="pageType"/> 
    7777    <xsl:variable name="this-element" select="/page/pageResponse/collection|/page/pageResponse/serviceCluster"/> 
    78     <div id="loading" style="display: none; position: fixed; top: 0; right: 0; padding: 10px;"><img src="interfaces/default/images/loading.gif" alt="Loading interface..." /></div> 
     78    <div id="loading" style="display: none; position: fixed; top: 0; right: 0; padding: 10px;"><img src="interfaces/basic/images/loading.gif" alt="Loading interface..." /></div> 
    7979    <span id="language" style="display: none;"><xsl:value-of select="/page/@lang" /></span> 
    8080    <span id="interface" style="display: none;"><xsl:value-of select="$interface_name" /></span>