## This file is subject to the terms and conditions defined in ## file 'LICENSE', which is part of this source code package. ## Copyright (c) 2009 SKR Farms (P) LTD. <%inherit file="/base/basic1.html"/> <%namespace name="elements" file="/component/elements.html"/> <%namespace name="forms" file="/component/forms.html"/> <%! page_tooltips = [ [ 'Help', """
While navigating to a page, use this Tool-Tip widget to get a quick help on how to interact with the page. Detailed help
""" ], [ 'Project', """Instantiate projects under this site, where every instance of a project will have its own wiki, ticketing, review, and version control. """ ], [ 'Metanav', """The top-most tool bar, available in all pages.""" ], [ 'Header', """ Each page's header has a site-logo (configurable in site-admin) on the left and project-logo (if the page is under a project's context) on the right. """ ], [ 'Page-Layout', """Apart from meta-nav tool bar, a page has the following layout, header, bread crumbs, main-nav tab bar, context-nav tool bar and footer. Only project-pages have main-nav and context-nav elements. For non project pages, they are replaced with a page-bar, like the one in this page. """ ], [ 'Guest Wiki', """Guest wiki, is non version controlled wiki documents that are independant of any project, like for example the help pages. If the url does not map to an application function, it is freely available to create a guest wiki page. Learn more
To create a new guest wiki page, enter the url in the address bar and ENTER
""" ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="swiki_edit()">
Back-to-Page
Preview( edit )



${forms.form_editsw( c.authuser, c.swiki, h.suburl_editsw )}
<%def name="bd_body()" > <% pagebartext = c.swurl and str(c.swurl) or str(c.welcomestring) searchbox = capture( forms.form_searchbox, c.authuser, 'searchswiki', 'Search-GuestWiki-pages', h.suburl_search, c.searchfaces ) if c.sweditable and not c.urldir : editsw = '' +\ ( 'edit ${elements.pagebar( pagebartext, spans=[ searchbox, editsw, ], rspans=[ refr ], tooltips=page_tooltips )}
% if c.authusername == 'anonymous' or not c.userpanes :
% else :
% endif
% if c.swikis : ${elements.titleindex( c.swikis, h.url_forswiki )} % elif c.swhtml : ${c.swhtml | n} % elif c.editsw and not c.urldir : ${swiki_edit()} % endif
% if c.authusername != 'anonymous' and c.userpanes :
${elements.user_panes( c.userpanes )}
% endif
<%def name="bd_script()"> ${parent.bd_script()}