git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
b8976b45d
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
projects
en
sidenav.wmi
fix up projects sidenav, remove old people page, fix random broken links
Andrew Lewman
commited
b8976b45d
at 2010-10-07 22:02:34
sidenav.wmi
Blame
History
Raw
#!/usr/bin/wml ## translation metadata # Revision: $Revision: 0 $ # Translation-Priority: 2-medium # this structure defines the side nav bar for the /about pages # and is the input for include/side.wmi # fields: # # name - the $WML_SRC_BASENAME of the file. It should uniquely identify the # page because at build-time it is used to determine what view of the # navigation menu to generate # # url - the path to the wml page, as used the the <page> tag. This tag ensures # that links will point to the current language if supported, and alternately # the english version # # txt - the link text to be displayed. Different translations will # need to supply alternate txt <: my $sidenav; $sidenav = [ {'url' => 'projects/projects', 'txt' => 'Software & Services', 'subelements' => [ {'url' => 'torbutton/index', 'txt' => 'TorButton', 'subelements' => [ {'url' => 'torbutton/torbutton-options', 'txt' => 'TorButton Options', }, {'url' => 'torbutton/torbutton-faq', 'txt' => 'TorButton FAQ', }, {'url' => 'https://check.torproject.org', 'txt' => 'TorCheck', }, {'url' => 'projects/sampleproject', 'txt' => 'SampleProject', }] }] }]; :>