-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnavtab.fal
77 lines (65 loc) · 2.28 KB
/
navtab.fal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
//==================================
// The Falcon site - navtab
//
import scriptName
import userLevel
function navtab()
global scriptName, userLevel
tree = .[
.[ 'Home' .[
.[ 'Home page' 'Home' ]
.[ 'Getting started' 'ex:http://www.falconpl.org/index.ftd?page_id=sitewiki&prj_id=_falcon_site&sid=wiki&pwid=Home&wid=Getting%20started' ]
.[ 'Facts Table' 'facts' ]
.[ 'About Falcon' 'about' ]
.[ 'People at work' 'authors' ]
.[ 'Licensing' 'licensing']
]
]
.[ 'Downloads' .[
.[ 'Official download' 'official_download']
.[ 'Bleeding edge' 'bleeding_dl']
.[ 'Git Repositories' 'git_dl']
.[ 'Older releases' 'older_dl']
]
]
.[ 'Documents' .[
//.[ 'Documentation' 'Documents' ]
.[ 'Manuals' 'manuals' ]
.[ 'Wiki Root' 'sitewiki']
]
]
.[ 'Extensions' .[
.[ 'Community home' 'devel_home']
.[ 'Featured projects' 'feat_prj']
.[ 'Project list' 'prj_list']
.[ 'Module list' 'mod_list']
.[ 'Engine internals' 'ex:http://falconpl.org/docs/engine/current' ]
.[ 'Wiki documentation' 'ex:http://old.falconpl.org/wiki']
.[ 'Development ideas' 'socil']
]
]
.[ 'Contacts' .[
.[ 'How to contact' 'contacts']
.[ 'Newsgroup' 'ex:http://groups.google.com/group/falconpl']
.[ 'Chat now' 'IRC']
]
]
.[ 'Site source' .[
.[ 'Source to this page' 'showsource&file=' + scriptName ]
.[ 'Site functions' 'showsource&file=site_functions.fal' ]
.[ 'Header source' 'showsource&file=header.ftd' ]
.[ 'Navtab source' 'showsource&file=navigation_tab.ftd' ]
.[ 'Navtab defs' 'showsource&file=navtab.fal' ]
.[ 'Page definitions' 'showsource&file=sitedata.fal' ]
.[ 'Page types' 'showsource&file=sitedata_def.fal' ]
.[ 'Code snippets' 'showsource&file=load_snippet.ftd' ]
.[ 'Hi-lit parser' 'showsource&file=highlight.fal' ]
]
]
]
if userLevel == 'inner'
tree[0][1] += .[.[ 'Admin' 'admin']]
end
return tree
end
export navtab