Apache-SetWWWTheme
view release on metacpan or search on metacpan
SetWWWTheme.pm view on Meta::CPAN
"previous/up/next" bars. If this is set to 0, the top and bottom bars
are not shown. If this is set to a non-zero value (1 is recommended)
then the bars will be shown. If this switch is non-zero, it is
recommended that the @NEXTLINK, @UPLINK, and @LASTLINK directives be
set. Here is an example:
@NAVBAR=0;
=item @NEXTLINK, @LASTLINK, @UPLINK
Valid in HTML, local configuration, and server configuration
These tags control the behaviour of the top navigation bar. These tags
should be set in conjunction with the @NAVBAR directive. They should
contain valid text and linking information. Here is an example:
@NEXTLINK=<A HREF="/pages/page3.html">Page 3</a>;
@UPLINK=<A HREF="/pages/toc.html">Table of contents</a>;
@LASTLINK=<A HREF="/pages/page1.html">Page 1</a>;
=item @NOSIDEBAR
HTML and local configuration subject to server configuration
This tag may be used to turn off the left sidebar by setting it to a
non-zero value. This tag is subject to the server directive
@ALLOWNOSIDEBAR. If the server configuration has not set the
@ALLOWNOSIDEBAR to a non-zero value, the @NOSIDEBAR directive will have
no effect whatsoever. Here is an example:
@NOSIDEBAR=1;
=item @SIDEBARCOLOR
HTML and local configuration subject to server configuration
This tag is used to set the color of the sidebar. Local and HTML
configuration is subject to the server directive @ALLOWSIDEBARMOD. Here
is an example:
@SIDEBARCOLOR=#CCCCCC;
=item @SIDEBARWIDTH
HTML and local configuration subject to server configuration.
This tag is used to set the width of the sidebar in pixels. Local
and HTML configuration is subject to the server directive @ALLOWSIDEBARMOD.
@SIDEBARWIDTH=150;
=item @SEARCHTEMPLATE
HTML and local configuration subject to server configuration
This tag is used to set the searchbox template. It should be a fully-contained
HTML chunk that interfaces to the apropriate cgi binary (or whatever you
want).
@SEARCHTEMPLATE=
<B>Search JAC</B><BR><HR>
<DIV align="center">
<form method="POST" action="/cgi-bin/isearch">
<input name="SEARCH_TYPE" type=hidden value="ADVANCED">
<input name="HTTP_PATH" type=hidden value="/WWW">
<input name="DATABASE" type=hidden value="webindex">
<input name="FIELD_1" type=hidden value="FULLTEXT">
<input name="WEIGHT_1" type=hidden value= "1">
<input name="ELEMENT_SET" type=hidden value="TITLE">
<input name="MAXHITS" type=hidden value="50">
<input name="ISEARCH_TERM" size="14" border="0">
</form>
</DIV>
<H6><a href="http://www.yoursite.edu/search.html">More searching....</a></h6>;
Don't forget to terminate the template with a semicolon!
=item @SIDEBARMENULINKS
HTML and local configuration subject to server configuration
This tag is used to set the main menulinks. It is effective in local
and HTML configuration if and only if the server configuration has set
@ALLOWSIDEBARMOD. It takes a comma-separated list of links, terminated
by a semicolon. Here is an example:
@SIDEBARMENULINKS=<A HREF="/WWW/stuff">Some Directory</A>,
<A HREF="/WWW/morestuff">Another Directory</A>;
=item @SIDEBARMENUTITLE
HTML and local configuration subject to server configuration
This tag is used to set the title above the menulinks. It is effective
in local and HTML configuration if and only if the server configuration
has set @ALLOWSIDEBARMOD to a non-zero value. Here is an example of its
use:
@SIDEBARMENUTITLE=My Divisions;
=item @SIDEBARSEARCHBOX
HTML and local configuration subject to server configuration
This tag is a switch that determines whether or not the sidebar will
contain the search box. If it is set to a non-zero value, the search
box will appear on the sidebar. It is effective in local and HTML
configuration if and only if the server configuration has set
@ALLOWSIDEBARMOD to a non-zero value. Here is an example of its use:
@SIDEBARSEARCHBOX=0;
=item @SIDEBARTOP
HTML and local configuration subject to server configuration
This tag is used to set the title at the top of the sidebar. It is
effective in local and HTML configuration if and only if the server
configuration has set @ALLOWSIDEBARMOD to a non-zero value. Here is an
example of its use:
@SIDEBARTOP=<A HREF="/">Joint Astronomy Centre</a>;
=item @TEXT
HTML and local configuration subject to server configuration
This tag is used to set the HTML BODY setting "text". This is the
normal text color. It is subject to the setting of the @ALLOWBODYMOD
tag. If @ALLOWBODYMOD is set to a non-zero value, @TEXT will set this
attribute in the page. Here is an example:
( run in 1.326 second using v1.01-cache-2.11-cpan-2398b32b56e )