logo
The Falcon Programming Language
A fast, easy and powerful programming language
Location: Home page >> Site sources...
User ID:
Password:
 

Source of file navtab.fal


//==================================
// 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&er;prj_id=_falcon_site&er;sid=wiki&er;pwid=Home&er;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:https://groups.google.com/forum/?hl=en&er;fromgroups#!forum/falconpl']
            .[ 'Chat now' 'IRC']
            ]
      ]

      .[ 'Site source' .[
            .[ 'Source to this page' 'showsource&er;file=' + scriptName ]
            .[ 'Site functions' 'showsource&er;file=site_functions.fal' ]
            .[ 'Header source' 'showsource&er;file=header.ftd' ]
            .[ 'Navtab source' 'showsource&er;file=navigation_tab.ftd' ]
            .[ 'Navtab defs' 'showsource&er;file=navtab.fal' ]
            .[ 'Page definitions' 'showsource&er;file=sitedata.fal' ]
            .[ 'Page types' 'showsource&er;file=sitedata_def.fal' ]
            .[ 'Code snippets' 'showsource&er;file=load_snippet.ftd' ]
            .[ 'Hi-lit parser' 'showsource&er;file=highlight.fal' ]
            ]
      ]
   ]

   if userLevel == 'inner'
      tree[0][1] += .[.[ 'Admin' 'admin']]
   end

   return tree
end

export navtab

Loading

Elapsed time: 0.031 secs. (VM time 0.023 secs.)