root/collections/documented-examples/trunk/wiki-e/macros/extra.dm @ 19807

Revision 19807, 6.4 KB (checked in by ak19, 11 years ago)

No more repeating background images.

  • Property svn:executable set to *
Line 
1# extra.dm file
2# You can add collection specific macros in here
3# Lines starting with a '#' are comments.
4# Remember to include the package declaration
5
6
7package about
8_content_{
9_optnavigationbar_
10
11<div class="document">
12_If_("_cgiargqt_" ne "1",
13     _If_("_cgiargu_" ne "1",_aboutqueryform_)
14    )         
15_If_(_Global:collectionextra_,<p>_textabout_)
16_textsubcollections_
17
18<div class="section">
19<h3>_help:textsimplehelpheading_</h3>
20_help:simplehelp_
21</div>
22
23
24
25<div class="section">
26<table id='toc' class='toc'><tr><td><div id='toctitle'><h2>Contents</h2></div>
27<ul>
28<li class='toclevel-1'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Documentation"><span class="tocnumber">1</span> <span class="toctext">Documentation</span></a>
29<ul>
30<li class='toclevel-2'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Greenstone_FAQ"><span class="tocnumber">1.1</span> <span class="toctext">Greenstone FAQ</span></a></li>
31<li class='toclevel-2'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#General_Documentation"><span class="tocnumber">1.2</span> <span class="toctext">General Documentation</span></a></li>
32<li class='toclevel-2'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Greenstone3"><span class="tocnumber">1.3</span> <span class="toctext">Greenstone3</span></a></li>
33<li class='toclevel-2'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Tutorial_exercises"><span class="tocnumber">1.4</span> <span class="toctext">Tutorial exercises</span></a></li>
34<li class='toclevel-2'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Example_Collections"><span class="tocnumber">1.5</span> <span class="toctext">Example Collections</span></a></li>
35<li class='toclevel-2'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Manuals"><span class="tocnumber">1.6</span> <span class="toctext">Manuals</span></a></li>
36<li class='toclevel-2'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Greenstone_workshops"><span class="tocnumber">1.7</span> <span class="toctext">Greenstone workshops</span></a></li>
37</ul>
38</li>
39<li class='toclevel-1'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Internationalization"><span class="tocnumber">2</span> <span class="toctext">Internationalization</span></a></li>
40<li class='toclevel-1'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Greenstone_Development"><span class="tocnumber">3</span> <span class="toctext">Greenstone Development</span></a></li>
41<li class='toclevel-1'><a href="_httpquery_&a=extlink&rl=1&href=http%3A%2F%2Fgreenstonewiki%2Ecs%2Ewaikato%2Eac%2Enz%2Fwiki%2Findex%2Ephp%2FMain%5FPage%2Ehtml#Other_links_for_Greenstone_users"><span class="tocnumber">4</span> <span class="toctext">Other links for Greenstone users</span></a></li>
42</ul>
43</td></tr></table>
44
45</div>
46</div>
47}
48
49package Style
50_cssheader_ {     
51  <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "_httpcollection_/images/main.css"; /*]]>*/</style> 
52 
53  <!--<link rel="stylesheet" href="_httpcollection_/images/main.css" type="text/css" charset="UTF-8" media="screen">-->
54  <!--<link rel="stylesheet" href="_httpcollection_/images/IE55Fixes.css" type="text/css" charset="UTF-8" media="screen">--> 
55  <!--[if lt IE 5.5000]><style type="text/css">@import "_httpcollection_/images/IE50Fixes.css";</style><![endif]-->
56  <!--[if IE 5.5000]><style type="text/css">@import "_httpcollection_/images/IE55Fixes.css";</style><![endif]-->
57  <!--[if gte IE 6]><style type="text/css">@import "_httpcollection_/images/IE60Fixes.css";</style><![endif]-->
58  <!--[if lt IE 7]><script type="text/javascript" src="_httpcollection_/images/IEFixes.js"></script><meta http-equiv="imagetoolbar" content="no" /><![endif]-->
59  <link rel="stylesheet" href="_httpcollection_/images/mystyle.css" type="text/css" _linktagend_
60  <link rel="stylesheet" href="_cssfilelink_" type="text/css" title="Greenstone Style" charset="UTF-8" _linktagend_
61  <link rel="alternate stylesheet" href="_httpimg_/style-print.css"
62   type="text/css" title="Printer" charset="UTF-8" media="print, screen" _linktagend_
63  <link rel="stylesheet" href="_httpimg_/style-print.css" type="text/css"
64   title="Printer" charset="UTF-8" media="print" _linktagend_
65
66  <style type="text/css">
67    body.bgimage \{ background: url("_httpimg_/chalk.gif") scroll repeat-y left top; \}
68    div.navbar \{ background-image: url("_httpimg_/bg_green.png"); \}
69    div.divbar \{ background-image: url("_httpimg_/bg_green.png"); \}
70    a.navlink \{ background-image: url("_httpimg_/bg_off.png"); \}
71    a.navlink_sel \{ background-image: url("_httpimg_/bg_green.png"); \}
72    a.navlink:hover \{ background-image: url("_httpimg_/bg_on.png"); \}
73    p.bannertitle \{background-image: url("_httpimg_/banner_bg.png"); \}
74    p.collectiontitle \{background-image: url("_httpimg_/banner_bg.png"); \}
75  </style>
76 
77}
78
79
80
81package query
82_content_ {
83_optnavigationbar_
84<div class="document">
85<div class="queryform">
86_If_(_cgiargct_,_selectqueryform_,_queryform_)
87</div>
88
89_If_(_searchhistorylist_,<center>_searchhistorybar_</center><br>
90<center>
91_searchhistorylist_
92</center>)
93_If_(_cgiargq_,_queryresultsbar_
94<small>
95_freqmsg_
96_textpostprocess_
97_If_(_stopwordsmsg_,(_stopwordsmsg_))</small><br />
98_resultline_
99,<div class="divbar">&nbsp;</div>)
100_If_("_cgiargq_" ne "", <div id="wikispecificstyle"><div id="content_vlist">)
101}
102
103
104_pagefooterextra_ {
105_If_(_about:numdocs_, </div></div>)
106<center>
107<table cellspacing="0" cellpadding="0" width="_pagewidth_">
108<tr>
109<td align="left">_If_(_prevfirst_,<a href="_httpquery_&r=_prevfirst_">_iconprev__textmatches__prevfirst_ - _prevlast_</a>)</td>
110<td align="right">_If_(_nextfirst_,<a href="_httpquery_&r=_nextfirst_">_textmatches__nextfirst_ - _nextlast__iconnext_</a>)</td>
111</tr></table>
112</center>
113
114</div> <!-- document -->
115}
Note: See TracBrowser for help on using the browser.