|
Revision 1889, 433 bytes
(checked in by moseley, 2 years ago)
|
More updates getting ready to move to the new host
Combined the two search scripts into one.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
[%- |
|---|
| 2 |
page.javascript = []; |
|---|
| 3 |
|
|---|
| 4 |
MACRO include_javascript( name ) BLOCK; |
|---|
| 5 |
js_found = 0; |
|---|
| 6 |
FOR js = page.javascript; |
|---|
| 7 |
IF js == name; |
|---|
| 8 |
js_found = 1; |
|---|
| 9 |
LAST; |
|---|
| 10 |
END; |
|---|
| 11 |
END; |
|---|
| 12 |
page.javascript.push( name ) UNLESS js_found; |
|---|
| 13 |
END; |
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
# Define a macro to lookup a link |
|---|
| 17 |
MACRO link_to_page(target, text, return_link_only ) INCLUDE menu/find_menu_link; |
|---|
| 18 |
|
|---|
| 19 |
-%] |
|---|