#?SuikaWikiConfig/2.0

Plugin:
  @Name: Menu
  @Description:
    @@@: Navigation menu bar
    @@lang:en
  @License: %%Perl%%
  @Author:
    @@Name:
      @@@@: Wakaba
      @@@lang:ja
      @@@script:Latn
    @@Mail[list]: w@suika.fam.cx
  @Date.RCS:
    $Date: 2004/03/10 07:00:32 $
  @RequiredPlugin[list]:
    Error
    HTML
    WikiLinking
    WikiStruct

PluginConst:
  @NS_XHTML1:
    http://www.w3.org/1999/xhtml


ViewDefinition:
  @Mode: mininav
  @Condition:
    @@http-method[list]:
      GET
      HEAD
  @Description:
    @@@: Mini navigation menu bar
    @@lang: en
  @template:
    @@http-status-code: 200
    @@media-type: text/html
    @@use-media-type-charset: 1
    @@expires: %%view%%
    @@body:
        %html-document (
          title => {%res (name => {View:Mininav:WebPageTitle});}p,
          link-meta => {%template (name => links);}p,
          content => {
            %section (type => body, content=>{
              %block (
                id => side-menu,
                class => mininav,
                content => {
                  %read (when-no-converter => 406);
                  %link-to-wikipage (
                    rel => view,
                    mode => mininav, up-to-date,
                    class => wiki-cmd,
                    label => {%link-to-it (
                      label => {%res (name=>ReloadThisPage);}p,
                    );},
                    description => {%res (name=>ReloadThisPageLong);}p,
                  );
	        }p,
              );
              %section (
                title => {%res (name => {Error:Title});}p, heading,
                content => {%error-list;}p,
              );
#              %template (name => ws--footer);
            }p);
          }p,
        );

ViewFragment:
  @Template[list]: links
  @Description:
    @@@: Link to MenuBar WikiPage, with relationship of "sidebar", "navigation".
    @@lang: en
  @Formatting:
    %link-wiki (
      page => {Wiki//MenuBar},
      mode => mininav,
      rel => {sidebar navigator},
    ); 

Resource:
  @ReloadThisPage:
    @@@: Reload
    @@lang: en
  @ReloadThisPageLong:
    @@@: Reload this WikiPage
    @@lang: en
  @View:Mininav:WebPageTitle:
    @@@: %page-name;


