Ignore:
Timestamp:
2002-01-22T17:12:45+13:00 (22 years ago)
Author:
nzdl
Message:

Added preferences link for changing display settings (language and such)
of default home page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/home.dm

    r2910 r2912  
    99# links on this page
    1010
    11 _javalinks_ {_imagehelp_}
    12 _javalinks_ [v=1] {_imagehelp_}
     11_javalinks_ {_imagehelp__imagepref_}
     12_javalinks_ [v=1] {_imagehelp_<br>_imagepref_}
    1313
    1414#######################################################################
     
    2929_httppagegsdl_ {_httppagex_(gsdl)}
    3030_httppagehomehelp_ {_httppagex_(homehelp)}
    31 
     31_httppagehomepref_ {_httppagex_(homepref)}
    3232
    3333#######################################################################
     
    4141_imagegodocs_ {_gsimage_(_home:httppagedocs_,_httpimg_/cgsdocof.gif,_httpimg_/cgsdocon.gif,docs,_textgsdocs_)}
    4242_imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
     43_imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
    4344
    4445#######################################################################
     
    9798<tr valign=top>
    9899<td valign=top>_imagegodocs_</td>
    99 <td>Greenstone manuals</td>
     100<td>_textimagegodocs_</td>
    100101</tr>
    101102}
     
    143144</center>
    144145}
     146
     147
     148package homepref
     149
     150_javalinks_ {_homepref:imagehome_}
     151_javalinks_ [v=1] {
     152_homepref:imagehome_<br>
     153}
     154
     155_pagescriptextra_ {_preferences:pagescriptextra_}
     156
     157
     158_imagehome_ {_gsimage_(_homepref:httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
     159_httppagehome_ {_httppagex_(home)}
     160
     161_content_ {
     162<center>
     163<p>_iconblankbar_
     164</center>
     165
     166<form name=PrefForm method=get action="_gwcgi_">
     167<h3>_preferences:textpresentationprefs_</h3>
     168
     169<table border="0">
     170<tr valign="top">
     171<td>_preferences:textlanguage_</td>
     172<td><select name="l" onChange="updatel();">
     173<option value="en" _If_("_cgiargl_" eq "en", selected)>English
     174<option value="fr" _If_("_cgiargl_" eq "fr", selected)>French
     175<option value="es" _If_("_cgiargl_" eq "es", selected)>Spanish
     176</select>
     177</td>
     178</tr>
     179<tr valign="top">
     180_preferences:formatoption_
     181</tr>
     182</table>
     183<p>_iconblankbar_
     184}
Note: See TracChangeset for help on using the changeset viewer.