THE META-HTML LANGUAGE REFERENCE MANUAL

Using Gnuplot [TOC] Dynamic Modules

Section Intro: Powerstrip System Tags

Powerstrip System Tags

Synopsis:

    The following functions are used in the implementation of the PowerStrip System area (/System/*).

    These functions are only useful to those persons who are adding functionality to the PowerStrip system itself, or who need to manipulate the underlying data structures and mechanisms of that system.

Commands:

<basic-auth::powerstrip-loginSimple

<defparam NAME DOCUMENTATION &key [TYPE] [VALUE] [CHOICES[]]Simple

    Functions which allow the modification of a particular plugin's parameter set.

    Each plugin which can be installed in the System area of IBIS may have a file in its top-level directory called default.params, which contain the parameters for that application as shipped by the manufacturer.

    When such a file is present, the PowerStrip administrator can use the generic plugin parameter manipulation tools to modify the values.

<ibis::initializeSimple

    Initialize the PowerStrip system. Should be called after defining any overriding variables for a specific page, such as layout::layout, etc.

<ibis::package-get PACKAGESimple

    Get the parameters for PACKAGE, storing them in PACKAGE.

<ibis::package-parameters PACKAGE INTO-ARRAYSimple

    Get the parameters for PACKAGE into the variable named by INTO-ARRAY, a fully qualified variable name. Each element of the returned array is an alist.

<ibis::parameter-input PARAM-ALISTSimple

    Create a form entry for editing PARAM-ALIST.

<ibis::standard-footerSimple

<ibis::standard-headerSimple

    Insert the standard PowerStrip header, including the system site header, and inserting the contents of the variable IBIS::HEAD-PARAMS in the <HEAD> ... </HEAD> area.

    Also see ibis::standard-footer.

<layout::clear-contentsSimple

<layout::default-headerSimple

    Produces the HTML which implements the appropriate table structure for the type of layout that you have specified by setting the variable layout::layout. Please see layout::initialize.

<layout::initialize &key [DEBUGGING] [DEBUGGING-OUTPUT]Simple

    Call layout::initialize after loading this package, and after setting the variables which define the type of layout that you would like. Those variables are:

    • LAYOUT::LAYOUT
      One of "plain", "bordered-left", "bordered-right", or "bordered-right-and-left".

    • LAYOUT::LEFT-BORDER-WIDTH
      An absolute number which determines the width of the left border. Only has an effect when the layout actually contains a left border.

    • LAYOUT::RIGHT-BORDER-WIDTH
      An absolute number which determines the width of the right border. Only has an effect when the layout actually contains a right border.

    Then, in the page itself, you can use:

              <layout::page> html </layout::page>
       <layout::left-border> html </layout::left-border>
      <layout::right-border> html </layout::right-border>
     

    Those tags place the HTML that you specify in the indicated region of the page.

    Finally, make sure that you call layout::resolve-contents before the page returns. A complete invocation might look like:

     <defvar layout::layout bordered-left>
     <layout::initialize>
     <layout::default-header>
    <p>
     <layout::page>
       This is in the page.
     </layout::page>
    <p>
     <layout::left-border>
       This is in the left border.
     </layout::left-border>
    <p>
     <layout::resolve-contents>
     

<layout::left-border
  body
</layout::left-border>
Complex

    Append BODY to the portion of the resultant page which appears in the left border. Please see layout::initialize for more information.

<layout::page
  body
</layout::page>
Complex

    Append BODY to the portion of the resultant page which appears between the left and the right borders. Please see layout::initialize for more information.

<layout::resolve-contentsSimple

    Resolve the contents of the page according to the layout that you have specified by setting the variable layout::layout. Please see layout::initialize.

<layout::right-border
  body
</layout::right-border>
Complex

    Append BODY to the portion of the resultant page which appears in the right border. Please see layout::initialize for more information.

<login::initializeSimple

    Place before including the header, if, and only if, this page is to contain the login form generated by <login::powerstrip-login>.

<login::powerstrip-login CONTINUE-LINKSimple

    Login, or present a login form, which authenticates based on the PowerStrip database of users.

<signon-requiredSimple

    This enforces a PowerStrip login before pages which contain sensitive information may be viewed.

<site::admin-body-value TAGSimple

    <site::admin-body-value text> ==> text="#000000" or nothing.

<site::body-value TAGSimple

    <site::body-value text> ==> text="#000000" or nothing.

<site::image NAMESimple

    Returns the full web-relative pathname of the image named by NAME.

     <site::image foo> ==> /System/images/site/foo.gif
     

<site::image-file URLSimple

    Return the full pathname of the file representing the image in URL.

Edit Section
Function Index
Variable Index


The META-HTML Reference Manual V2.0 Copyright © 1995, 1998, Brian J. Fox
Found a bug? Send mail to bug-manual@metahtml.org