Changeset 6778


Ignore:
Timestamp:
2004-02-12T14:30:19+13:00 (20 years ago)
Author:
mdewsnip
Message:

Extra macros necessary to support the "PREFERENCES" button.

Location:
trunk/greenorg/macros
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/greenorg/macros/base.dm

    r6508 r6778  
    2727_subheading_ {<p class="subheading">_1_</p>}
    2828
     29_pagescriptextra_ {}
     30
     31# gsimage should be used to define an instance of a flashy image
     32# parameters are:
     33# 1. the url to go to when the button is clicked
     34# 2. the url of the "off" image
     35# 3. the url of the "on" image
     36# 4. the name of the image (must be unique)
     37# 5. image alt text
     38_gsimage_ {<a href="_1_" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);"><img
     39name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_" title="_5_"></a>}
     40_gsimage_ [v=1] {<a href="_1_">_5_</a><br>}
     41
     42_imagepref_ {_gsimage_(_httppagex_(homepref),_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
     43
     44_javalinks_ {_imagepref_}
     45_javalinks_ [v=1] {_imagepref_}
     46
    2947_new_ {
    3048<table class="default">
     
    3654}
    3755
    38 _header_ {
    39 <html>
    40 <head>
    41 <title>Greenstone Digital Library Software</title>
    42 <link rel="stylesheet" type="text/css" href="_httpimg_/style.css">
    43 <script src="_httpimg_/scripts.js"></script>
    44 </head>
    45 
    46 <body background="_httpimg_/chalk.gif" class="default">
    47 
    48 <table border="0" cellspacing="0" cellpadding="0" width="_pagewidth_" class="default">
    49 <tr><td><img src="_httpimg_/spacer.gif" width="80"></td><td>
    50 
    51 <a href="_httppagex_(home)"><img src="_httpimg_/gsdlhead.gif" border="0"></a>
    52 <p>
    53 <nobr>
    54 <a href="_httppagex_(download)" onMouseover="roll('download',1);" onMouseOut="roll('download',0);"><img
    55 name="download" src="_httpimg_/dlof.gif" onLoad="gbutton(this,'_httpimg_/dlon.gif');" border="0"></a><img
    56 src="_httpimg_/tspace.gif" width="25" height="17"><a href="_httppagex_(examples)" onMouseover="roll('exmpl',1);" onMouseOut="roll('exmpl',0);"><img
    57 name="exmpl" src="_httpimg_/exmplof.gif" onLoad="gbutton(this,'_httpimg_/exmplon.gif');" border="0"></a><img
    58 src="_httpimg_/tspace.gif" width="25" height="17"><a href="_httppagex_(docs)" onMouseover="roll('docs',1);" onMouseOut="roll('docs',0);"><img
    59 name="docs" src="_httpimg_/docsof.gif" onLoad="gbutton(this,'_httpimg_/docson.gif');" border="0"></a><img
    60 src="_httpimg_/tspace.gif" width="25" height="17"><a href="_httppagex_(faq)" onMouseover="roll('faq',1);" onMouseOut="roll('faq',0);"><img
    61 name="faq" src="_httpimg_/faqof.gif" onLoad="gbutton(this,'_httpimg_/faqon.gif');" border="0"></a><img
    62 src="_httpimg_/tspace.gif" width="25" height="17"><a href="_httppagex_(support)" onMouseover="roll('sup',1);" onMouseOut="roll('sup',0);"><img
    63 name="sup" src="_httpimg_/supof.gif" onLoad="gbutton(this,'_httpimg_/supon.gif');" border="0"></a>
    64 </nobr>
    65 </p>
    66 }
    67 
    68 _footer_ {
    69 </td></tr></table>
    70 <p>&nbsp;</p>
    71 </body>
    72 </html>
    73 }
    7456
    7557_content_ {
  • trunk/greenorg/macros/english.dm

    r6728 r6778  
    55are hosted by <a href="http://sourceforge.net">Sourceforge</a>.
    66}
     7
     8
     9_textimagepref_ {Preferences page}
     10
     11
     12#------------------------------------------------------------
     13# icons
     14#------------------------------------------------------------
     15
     16## "PREFERENCES" ## top_nav_button ## cpref ##
     17_httpiconcprefof_ {_httpimg_/cprefof.gif}
     18_httpiconcprefon_ {_httpimg_/cprefon.gif}
     19
    720
    821
     
    18601873
    18611874
     1875
     1876######################################################################
     1877# 'preferences' page
     1878package preferences
     1879######################################################################
     1880
     1881
     1882#------------------------------------------------------------
     1883# text macros
     1884#------------------------------------------------------------
     1885
     1886_textpresentationprefs_ {Presentation preferences}
     1887_textlanguage_ {Interface language:}
     1888_textencoding_ {Encoding:}
     1889_textformat_ {Interface format:}
     1890_textgraphical_ {Graphical}
     1891_texttextual_ {Textual}
  • trunk/greenorg/macros/home.dm

    r6210 r6778  
    4949
    5050}
     51
     52
     53
     54package homepref
     55
     56_javalinks_ {}
     57_javalinks_ [v=1] {}
     58
     59_pagescriptextra_ {_preferences:pagescriptextra_}
     60
     61_content_ {
     62<form name=PrefForm method=get action="_gwcgi_">
     63<h3>_preferences:textpresentationprefs_</h3>
     64
     65<table border="0">
     66<tr>
     67<td>_preferences:textlanguage_</td>
     68<td>_languageoption_</td>
     69</tr>
     70<!-- <tr valign="top">
     71<td>_preferences:textencoding_</td>
     72<td>_encodingoption_</td>
     73</tr>
     74<tr valign="top">
     75_preferences:formatoption_
     76</tr> -->
     77</table>
     78<p>
     79}
Note: See TracChangeset for help on using the changeset viewer.