Catalog
view release on metacpan or search on metacpan
doc/catalog.texinfo view on Meta::CPAN
switched to a one page display. Here is an example @code{pager} part :
@cindex _MAXPAGES_
@cindex _PAGES_
@example
<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->
@end example
@table @samp
@item _MAXPAGES_
Is the total number of pages available.
@item _PAGES_
Is a fixed format list of links that give direct access to the first
twenty pages and indirect access to the others, as shown in the example
output above.
@end table
List of hidden fields necessary to perform the search. Must
be included in each @code{form}.
@node Server side includes, Actions that takes a long time, Multipage results template, Template files introduction
@section Server side includes
@cindex Server side include
@cindex file inclusion in templates
@cindex template file inclusion
A limited support of the server side include syntax is provided in the
template files. If an include instruction is found, the cgi expands it.
For instance:
@example
<!--#include virtual="/dir/file.html" -->
@end example
will be expanded with the content of the file found
at @code{$DOCUMENT_ROOT/dir/file.html}. This is done again and again until
no more include instruction is found, allowing nested inclusions.
Note that the tag substitution is done
@strong{before} expanding the included file. Therefore, no tag
substitution will occur in the included files.
@node Actions that takes a long time, , Server side includes, Template files introduction
@section Actions that takes a long time
Some cgi-bin actions may take a very long time, such as catalog loading or
dumping. When an action is likely to take a long time, the cgi-bin emits
white space characters from time to time to provide a user feedback. When
the action begins a blank page is shown to the user and the status bar of
the navigator shows that some characters are received.
This feedback serves two purposes : it shows that the action is doing something
and keeps the connection alive so that the HTTP server does not timeout.
@node Catalog template files, SQL template files, Template files introduction, Top
@chapter Catalog template files
@menu
* ccontrol_panel.html:: ccontrol_panel.html
* calpha_root.html:: calpha_root.html
* calpha.html:: calpha.html
* cedit.html:: cedit.html
* cbrowse_root.html:: cbrowse_root.html
* cbrowse.html:: cbrowse.html
* csearch.html:: csearch.html
* cdate_default.html:: cdate_default.html
* cdestroy.html:: cdestroy.html
* centryremove_all.html:: centryremove_all.html
* catalog_theme_insert.html:: catalog_theme_insert.html
* catalog_theme_edit.html:: catalog_theme_edit.html
* catalog_alpha_insert.html:: catalog_alpha_insert.html
* catalog_alpha_edit.html:: catalog_alpha_edit.html
* catalog_date_insert.html:: catalog_date_insert.html
* catalog_date_edit.html:: catalog_date_edit.html
* cdump.html:: cdump.html
* cimport.html:: cimport.html
* cexport.html:: cexport.html
@end menu
@node ccontrol_panel.html, calpha_root.html, Catalog template files, Catalog template files
@section ccontrol_panel.html
@cindex ccontrol_panel.html
@cindex Catalog Control Panel
@cindex Control Panel, Catalog
Top level entry point for catalog management.
Here is an example template:
@example
<title>Catalog control panel</title>
<center><h3>Catalog control panel</h3></center>
<center><h3><font color=red>_COMMENT_</font></h3></center>
<table border=1>
<tr><td colspan=2 align=middle><b>Configuration files</b></td></tr>
<tr><td>MySQL</td><td><a href=_SCRIPT_?context=confedit&file=mysql.conf>edit</a></td></tr>
<tr><td>CGI</td><td><a href=_SCRIPT_?context=confedit&file=cgi.conf>edit</a></td></tr>
<tr><td>Catalog</td><td><a href=_SCRIPT_?context=confedit&file=catalog.conf>edit</a></td></tr>
<tr><td>sqledit</td><td><a href=_SCRIPT_?context=confedit&file=sqledit.conf>edit</a></td></tr>
</table>
<p>
<table border=1>
<tr><td colspan=5 align=middle><b>Existing catalogs</b></td></tr>
<!-- start catalogs -->
<tr>
<td><b><a href=_SCRIPT_?context=ccatalog_edit&name=_NAME_>_NAME_</a></b></td>
<td><a href=_SCRIPT_?context=cbrowse&name=_NAME__ID_>browse</a></td>
<td><a href=_SCRIPT_?context=_COUNT_&name=_NAME_>count</a></td>
<td><a href=_SCRIPT_?context=cdestroy&name=_NAME_>destroy</a></td>
<!-- start theme -->
( run in 2.042 seconds using v1.01-cache-2.11-cpan-8f98c5d2c55 )