Changeset 11260


Ignore:
Timestamp:
2006-02-15T16:56:19+13:00 (16 years ago)
Author:
kjdon
Message:

updated this file for 2.63 - john's new css stuff. Also moved the _collectdec_ macro closer to where it's used. and removed some of the stuff on help page, and added help and pref buttons to pref and help pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/for-distributions/macros/home.dm

    r9491 r11260  
    44# in the currently chosen language
    55
    6 _pagetitle_ {_textimagegreenstone_}
     6_pagetitle_ {_textdescrgreenstone_}
    77
    88#######################################################################
     
    1414# links on this page
    1515
    16 _javalinks_ {_imagehelp__imagepref_}
    17 _javalinks_ [v=1] {_imagehelp_<br>_imagepref_}
     16_globallinks_ {_helplink_ _preflink_}
    1817
    1918#######################################################################
     
    2120#######################################################################
    2221
    23 # -- English images ----------------
    24 
    25 _httpiconcglion_ {_httpimg_/cglion.gif}
    26 _httpiconcgliof_ {_httpimg_/cgliof.gif}
    27 _httpiconccolon_ {_httpimg_/ccolon.gif}
    28 _httpiconccolof_ {_httpimg_/ccolof.gif}
    29 _httpiconctranson_ {_httpimg_/ctranson.gif}
    30 _httpiconctransof_ {_httpimg_/ctransof.gif}
    31 _httpiconcadminon_ {_httpimg_/cadminon.gif}
    32 _httpiconcadminof_ {_httpimg_/cadminof.gif}
    33 _httpiconcabgson_ {_httpimg_/cabgson.gif}
    34 _httpiconcabgsof_ {_httpimg_/cabgsof.gif}
    35 _httpiconcgsdocon_ {_httpimg_/cgsdocon.gif}
    36 _httpiconcgsdocof_ {_httpimg_/cgsdocof.gif}
    37 
    38 
    39 # -- French images ----------------
    40 
    41 _httpiconcglion_ [l=fr] {_httpimg_/fr/cglion.gif}
    42 _httpiconcgliof_ [l=fr] {_httpimg_/fr/cgliof.gif}
    43 _httpiconccolon_ [l=fr] {_httpimg_/fr/ccolon.gif}
    44 _httpiconccolof_ [l=fr] {_httpimg_/fr/ccolof.gif}
    45 _httpiconctranson_ [l=fr] {_httpimg_/fr/ctranson.gif}
    46 _httpiconctransof_ [l=fr] {_httpimg_/fr/ctransof.gif}
    47 _httpiconcadminon_ [l=fr] {_httpimg_/fr/cadminon.gif}
    48 _httpiconcadminof_ [l=fr] {_httpimg_/fr/cadminof.gif}
    49 _httpiconcabgson_ [l=fr] {_httpimg_/fr/cabgson.gif}
    50 _httpiconcabgsof_ [l=fr] {_httpimg_/fr/cabgsof.gif}
    51 _httpiconcgsdocon_ [l=fr] {_httpimg_/fr/cgsdocon.gif}
    52 _httpiconcgsdocof_ [l=fr] {_httpimg_/fr/cgsdocof.gif}
    53 
    54 
    55 # -- Spanish images ----------------
    56 
    57 _httpiconcglion_ [l=es] {_httpimg_/es/cglion.gif}
    58 _httpiconcgliof_ [l=es] {_httpimg_/es/cgliof.gif}
    59 _httpiconccolon_ [l=es] {_httpimg_/es/ccolon.gif}
    60 _httpiconccolof_ [l=es] {_httpimg_/es/ccolof.gif}
    61 _httpiconctranson_ [l=es] {_httpimg_/es/ctranson.gif}
    62 _httpiconctransof_ [l=es] {_httpimg_/es/ctransof.gif}
    63 _httpiconcadminon_ [l=es] {_httpimg_/es/cadminon.gif}
    64 _httpiconcadminof_ [l=es] {_httpimg_/es/cadminof.gif}
    65 _httpiconcabgson_ [l=es] {_httpimg_/es/cabgson.gif}
    66 _httpiconcabgsof_ [l=es] {_httpimg_/es/cabgsof.gif}
    67 _httpiconcgsdocon_ [l=es] {_httpimg_/es/cgsdocon.gif}
    68 _httpiconcgsdocof_ [l=es] {_httpimg_/es/cgsdocof.gif}
    69 
    70 
    71 # -- Russian images ----------------
    72 
    73 _httpiconcglion_ [l=ru] {_httpimg_/ru/cglion.gif}
    74 _httpiconcgliof_ [l=ru] {_httpimg_/ru/cgliof.gif}
    75 _httpiconccolon_ [l=ru] {_httpimg_/ru/ccolon.gif}
    76 _httpiconccolof_ [l=ru] {_httpimg_/ru/ccolof.gif}
    77 _httpiconctranson_ [l=ru] {_httpimg_/ru/ctranson.gif}
    78 _httpiconctransof_ [l=ru] {_httpimg_/ru/ctransof.gif}
    79 _httpiconcadminon_ [l=ru] {_httpimg_/ru/cadminon.gif}
    80 _httpiconcadminof_ [l=ru] {_httpimg_/ru/cadminof.gif}
    81 _httpiconcabgson_ [l=ru] {_httpimg_/ru/cabgson.gif}
    82 _httpiconcabgsof_ [l=ru] {_httpimg_/ru/cabgsof.gif}
    83 _httpiconcgsdocon_ [l=ru] {_httpimg_/ru/cgsdocon.gif}
    84 _httpiconcgsdocof_ [l=ru] {_httpimg_/ru/cgsdocof.gif}
    85 
    86 
    87 _iconselectcollection_ {<img align=texttop src="_httpiconselcolgr_" width=_widthselcolgr_ height=_heightselcolgr_ alt="_altselcolgr_" title="_altselcolgr_">}
    88 
    89 _imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
    90 
     22_imagecollection_ {<img src="_httpimg_/gsdlhead.gif" alt="_textdescrgreenstone_">}
    9123
    9224#######################################################################
     
    10436#######################################################################
    10537
    106 _imagegli_ {_gsimage_(_httppagegli_,_home:httpiconcgliof_,_home:httpiconcglion_,gli,_gli:textgli_)}
    107 _imagecollector_ {_gsimage_(_httppagecollector_,_home:httpiconccolof_,_home:httpiconccolon_,col,_collector:textcollector_)}
    108 _imagetranslator_ {_gsimage_(_httppagetranslator_,_home:httpiconctransof_,_home:httpiconctranson_,trans,_translang:texttranslator_)}
    109 _imageadmin_ {_gsimage_(_httppagestatus_,_home:httpiconcadminof_,_home:httpiconcadminon_,admin,_home:textadmin_)}
    110 _imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_home:httpiconcabgsof_,_home:httpiconcabgson_,gogs,_home:textabgs_)}
    111 _imagegodocs_ {_gsimage_(_home:httppagedocs_,_home:httpiconcgsdocof_,_home:httpiconcgsdocon_,docs,_home:textgsdocs_)}
    112 _imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
    113 _imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
     38# Buttons for the pane after the collections and before the text
     39
     40_button_ {<div class="button"><span class="button" title="_3_"><a href="_1_">_2_</a></span></div>
     41}
     42
     43_imagegli_ {_button_(_httppagegli_,_gli:textgli_,_gli:textglilong_)}
     44
     45_imagecollector_ {_button_(_httppagecollector_,_collector:textcollector_,_collector::textcollector_)}
     46
     47_imagetranslator_ {_button_(_httppagetranslator_,_gti:textgti_)}
     48
     49_imageadmin_ {_button_(_httppagestatus_,_home:textadmin_,_home:textadmin_)}
     50
     51_imagegogreenstone_ {_button_(_home:httppagegsdl_,_home:textabgs_,_home:textabgs_)}
     52
     53_imagegodocs_ {_button_(_home:httppagedocs_,_home:textgsdocs_,_home:textgsdocs_)}
     54
    11455
    11556#######################################################################
     
    11758#######################################################################
    11859
    119 _collectionlink_ {<a href="_gwcgi_?a=p&p=about&c=_4_"><img width=150 border=1 src="_httpprefix_/collect/_1_/images/_2_" alt=_3_></a>}
    120 
    121 _documentedexamplecollectionlink_ {<a href="_gwcgi_?a=p&p=about&c=_3_&l=_cgiargl_&w=_cgiargw_"><img border=1 src="_httpimg_/_1_" alt=_2_></a>}
    12260
    12361_content_ {
    124 <center><p>_iconselectcollection_</center>
    125 
    126 <p>_homeextra_
    127 
    128 <center><p>_iconblankbar_</center>
    129 
     62<div id="content">
     63<div class="divbar">
     64<p class="navbar">
     65_textdescrselcol_
     66</p>
     67</div>
     68
     69<div class="section">
     70_homeextra_
     71</div>
     72
     73<div class="divbar">&nbsp;</div>
     74
     75<div class="section">
    13076<p><table>
    13177_textgogli_
     
    13682_textgodocs_
    13783</table>
    138 
    139 <center><p>_iconblankbar_</center>
    140 
    141 <p>_collectdec_
    142 
    143 <center><p>_iconblankbar_</center>
    144 
     84</div>
     85
     86<div class="divbar">&nbsp;</div>
     87_collectdec_
     88
     89<div class="divbar">&nbsp;</div>
     90
     91<div class="section">
    14592_textaboutgreenstone_
    146 
    147 <center><p>_iconblankbar_</center>
    148 }
    149 
    150 _collectdemo_ {
    151 <table width=537>
    152 <tr valign=top>
    153 <td align=center>
    154 <p>_collectionlink_(demo, demosm.gif, "Greenstone demo", demo)
    155 </td>
    156 </tr>
    157 </table>
    158 }
    159 
     93</div>
     94
     95<div class="divbar">&nbsp;</div>
     96
     97</div>
     98}
    16099
    161100# the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
     
    166105<tr valign=top>
    167106<td valign=top>_imagegli_</td>
    168 <td>_textimagegli_</td>
     107<td>_textdescrgli_</td>
    169108</tr>
    170109}
     
    173112<tr valign=top>
    174113<td valign=top>_imagecollector_</td>
    175 <td>_textimagecollector_</td>
     114<td>_textdescrcollector_</td>
    176115</tr>
    177116}
     
    180119<tr valign=top>
    181120<td valign=top>_imagetranslator_</td>
    182 <td>_textimagetranslator_</td>
     121<td>_textdescrtranslator_</td>
    183122</tr>
    184123}
     
    187126<tr valign=top>
    188127<td valign=top>_imageadmin_</td>
    189 <td>_textimageadmin_</td>
     128<td>_textdescradmin_</td>
    190129</tr>
    191130}
     
    194133<tr valign=top>
    195134<td valign=top>_imagegogreenstone_</td>
    196 <td>_textimagegogreenstone_</td>
     135<td>_textdescrgogreenstone_</td>
    197136</tr>
    198137}
     
    201140<tr valign=top>
    202141<td valign=top>_imagegodocs_</td>
    203 <td>_textimagegodocs_</td>
    204 </tr>
     142<td>_textdescrgodocs_</td>
     143</tr>
     144}
     145
     146_documentedexamplecollectionlink_ {<a href="_gwcgi_?a=p&p=about&c=_3_&l=_cgiargl_&w=_cgiargw_"><img border=1 src="_httpimg_/_1_" alt=_2_></a>}
     147
     148
     149_collectdec_ {
     150_textdecs_
     151<p>
     152
     153<table width=537 cellpadding=5>
     154
     155<tr valign="top">
     156<td><a name="dls-e">_documentedexamplecollectionlink_(_httpicondls_, "_decdlstitle_", dls-e)</td>
     157<td>_decdlsdesc_</td>
     158</tr>
     159
     160<tr valign="top">
     161<td><a name="wrdpdf-e">_documentedexamplecollectionlink_(_httpiconwrdpdf_, "_decwrdpdftitle_", wrdpdf-e)</td>
     162<td>_decwrdpdfdesc_</td>
     163</tr>
     164
     165<tr valign="top">
     166<td><a name="gsarch-e">_documentedexamplecollectionlink_(_httpicongsarch_, "_decgsarchtitle_", gsarch-e)</td>
     167<td>_decgsarchdesc_</td>
     168</tr>
     169
     170<tr valign="top">
     171<td><a name="cltbib-e">_documentedexamplecollectionlink_(_httpiconcltbib_, "_deccltbibtitle_", cltbib-e&ct=1&qt=1)</td>
     172<td>_deccltbibdesc_</td>
     173</tr>
     174
     175<tr valign="top">
     176<td><a name="cltext-e">_documentedexamplecollectionlink_(_httpiconcltext_, "_deccltexttitle_", cltext-e&ct=1&qt=1)</td>
     177<td>_deccltextdesc_</td>
     178</tr>
     179
     180<tr valign="top">
     181<td><a name="MARC-e">_documentedexamplecollectionlink_(_httpiconmarc_, "_decmarctitle_", MARC-e)</td>
     182<td>_decmarcdesc_</td>
     183</tr>
     184
     185<tr valign="top">
     186<td><a name="oai-e">_documentedexamplecollectionlink_(_httpiconoai_, "_decoaititle_", oai-e)</td>
     187<td>_decoaidesc_</td>
     188</tr>
     189
     190<tr valign="top">
     191<td><a name="image-e">_documentedexamplecollectionlink_(_httpiconimage_, "_decimagetitle_", image-e)</td>
     192<td>_decimagedesc_</td>
     193</tr>
     194
     195<tr valign="top">
     196<td><a name="authen-e">_documentedexamplecollectionlink_(_httpiconauthen_, "_decauthentitle_", authen-e)</td>
     197<td>_decauthendesc_</td>
     198</tr>
     199
     200<tr valign="top">
     201<td><a name="garish">_documentedexamplecollectionlink_(_httpicongarish_, "_decgarishtitle_", garish)</td>
     202<td>_decgarishdesc_</td>
     203</tr>
     204
     205<tr valign="top">
     206<td><a name="isis-e">_documentedexamplecollectionlink_(_httpiconisis_, "_decisistitle_", isis-e&ct=1&qt=1)</td>
     207<td>_decisisdesc_</td>
     208</tr>
     209</table>
    205210}
    206211
     
    523528}
    524529
    525 
    526 _collectdec_ {
    527 _textdecs_
     530package homehelp
     531
     532_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
     533
     534_collectionlist_ {}
     535
     536_globallinks_ {_homelink_ _home:preflink_}
     537
     538_content_ {
     539<div id="content">
     540
     541<div class="divbar">&nbsp;</div>
     542
     543<div class="section">
    528544<p>
    529 
    530 <table width=537 cellpadding=5>
    531 
    532 <tr valign="top">
    533 <td><a name="dls-e">_documentedexamplecollectionlink_(_httpicondls_, "_decdlstitle_", dls-e)</td>
    534 <td>_decdlsdesc_</td>
    535 </tr>
    536 
    537 <tr valign="top">
    538 <td><a name="wrdpdf-e">_documentedexamplecollectionlink_(_httpiconwrdpdf_, "_decwrdpdftitle_", wrdpdf-e)</td>
    539 <td>_decwrdpdfdesc_</td>
    540 </tr>
    541 
    542 <tr valign="top">
    543 <td><a name="gsarch-e">_documentedexamplecollectionlink_(_httpicongsarch_, "_decgsarchtitle_", gsarch-e)</td>
    544 <td>_decgsarchdesc_</td>
    545 </tr>
    546 
    547 <tr valign="top">
    548 <td><a name="cltbib-e">_documentedexamplecollectionlink_(_httpiconcltbib_, "_deccltbibtitle_", cltbib-e&ct=1&qt=1)</td>
    549 <td>_deccltbibdesc_</td>
    550 </tr>
    551 
    552 <tr valign="top">
    553 <td><a name="cltext-e">_documentedexamplecollectionlink_(_httpiconcltext_, "_deccltexttitle_", cltext-e&ct=1&qt=1)</td>
    554 <td>_deccltextdesc_</td>
    555 </tr>
    556 
    557 <tr valign="top">
    558 <td><a name="MARC-e">_documentedexamplecollectionlink_(_httpiconmarc_, "_decmarctitle_", MARC-e)</td>
    559 <td>_decmarcdesc_</td>
    560 </tr>
    561 
    562 <tr valign="top">
    563 <td><a name="oai-e">_documentedexamplecollectionlink_(_httpiconoai_, "_decoaititle_", oai-e)</td>
    564 <td>_decoaidesc_</td>
    565 </tr>
    566 
    567 <tr valign="top">
    568 <td><a name="image-e">_documentedexamplecollectionlink_(_httpiconimage_, "_decimagetitle_", image-e)</td>
    569 <td>_decimagedesc_</td>
    570 </tr>
    571 
    572 <tr valign="top">
    573 <td><a name="authen-e">_documentedexamplecollectionlink_(_httpiconauthen_, "_decauthentitle_", authen-e)</td>
    574 <td>_decauthendesc_</td>
    575 </tr>
    576 
    577 <tr valign="top">
    578 <td><a name="garish">_documentedexamplecollectionlink_(_httpicongarish_, "_decgarishtitle_", garish)</td>
    579 <td>_decgarishdesc_</td>
    580 </tr>
    581 
    582 <tr valign="top">
    583 <td><a name="isis-e">_documentedexamplecollectionlink_(_httpiconisis_, "_decisistitle_", isis-e&ct=1&qt=1)</td>
    584 <td>_decisisdesc_</td>
    585 </tr>
    586 </table>
    587 }
    588 
    589 
    590 package homehelp
    591 
    592 _imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
    593 
    594 _collectionlist_ {}
    595 
    596 _javalinks_ {_imagehome_}
    597 _javalinks_ [v=1] {
    598 _imagehome_<br>
    599 }
    600 
    601 _content_ {
    602 <center>
    603 <p>_iconblankbar_
    604 </center>
    605 <p>
    606 <table border=0 cellspacing=0 cellpadding=0>
     545<table border="0" cellspacing="0" cellpadding="0">
    607546 <tr>
    608   <td valign=top align=center>_imagegreenstone_</td>
    609   <td valign=top>_gsdl:textgreenstone1_
     547  <td valign="top" align="center">_imagegreenstone_</td>
     548  <td valign="top">_gsdl:textgreenstone1_
    610549  <br><br>
    611550  </td>
    612551 </tr>
    613552</table>
    614 
    615 <center>
    616 <p>_iconblankbar_
    617 </center>
     553</div>
     554
     555<div class="divbar">&nbsp;</div>
     556
     557<div class="section">
    618558_If_(_collectionlist_,_collectionlist_,_textnocollections_)
    619 
    620 <center>
    621 <p>_iconblankbar_
    622 </center>
    623 <p>_text4buts_
    624 <p><table>
    625 _home:textgogli_
    626 _home:textgocollector_
    627 _home:textgotranslator_
    628 _home:textgoadmin_
    629 _home:textgogreenstone_
    630 _home:textgodocs_
    631 </table>
    632 <center>
    633 <p>_iconblankbar_
    634 </center>
     559</div>
     560
     561<div class="divbar">&nbsp;</div>
     562
    635563}
    636564
    637565
    638566package homepref
     567_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
    639568
    640569_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
    641570
    642 _javalinks_ {_homepref:imagehome_}
    643 _javalinks_ [v=1] {
    644 _homepref:imagehome_<br>
    645 }
     571_globallinks_ {_homelink_ _home:helplink_}
    646572
    647573_pagescriptextra_ {_preferences:pagescriptextra_}
    648574
    649 
    650 _imagehome_ {_gsimage_(_homepref:httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
    651 _httppagehome_ {_httppagex_(home)}
    652 
    653575_content_ {
    654 <center>
    655 <p>_iconblankbar_
    656 </center>
    657 
    658 <form name=PrefForm method=get action="_gwcgi_">
     576<div id="content">
     577
     578<div class="divbar">&nbsp;</div>
     579
     580<div class="section">
     581<form name="PrefForm" method="get" action="_gwcgi_">
    659582<h3>_preferences:textpresentationprefs_</h3>
    660583
     
    672595</tr>
    673596</table>
    674 <p>_iconblankbar_
    675 }
     597</div>
     598
     599<div class="divbar">&nbsp;</div>
     600
     601</div> <!-- \_homepref:content\_ -->
     602}
Note: See TracChangeset for help on using the changeset viewer.