[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11. Catalog template files

11.1 ccontrol_panel.html  
11.2 calpha_root.html  
11.3 calpha.html  
11.4 cedit.html  
11.5 cbrowse_root.html  
11.6 cbrowse.html  
11.7 csearch.html  
11.8 cdate_default.html  
11.9 cdestroy.html  
11.10 centryremove_all.html  
11.11 catalog_theme_insert.html  
11.12 catalog_theme_edit.html  
11.13 catalog_alpha_insert.html  
11.14 catalog_alpha_edit.html  
11.15 catalog_date_insert.html  
11.16 catalog_date_edit.html  
11.17 cdump.html  
11.18 cimport.html  
11.19 cexport.html  


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.1 ccontrol_panel.html

Top level entry point for catalog management.

Here is an example template:

 
<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 -->
 <td><a href=_SCRIPT_?context=cedit&name=_NAME__ID_>edit</a></td>
 <td><a href=_SCRIPT_?context=cdump&name=_NAME_>dump</a></td>
 <td><a href=_SCRIPT_?context=cimport&name=_NAME_>load</a></td>
 <td><a href=_SCRIPT_?context=cexport&name=_NAME_>unload</a></td>
 <!-- end theme -->
</tr>
<!-- end catalogs -->
</table>
<p>
<form action=_SCRIPT_ method=POST>
<input type=hidden name=context value=cbuild>
Create _NAVIGATION_ catalog on table _TABLES_
<input type=submit value='Create it!'>
</form>
<p>
<table><tr><td>
<a href=_SCRIPT_?context=cimport>Load from file</a><br>
<a href=_SCRIPT_/>Simplified browsing</a><br>
<a href=_SCRIPT_?context=ccontrol_panel>Redisplay control panel</a><br>
<a href=_SCRIPT_?context=cdemo>Create a demo table (urldemo)</a><br>
</td><td>
<a href=_HTMLPATH_/catalog_toc.html><img src=_HTMLPATH_/images/help.png alt=Help border=0 align=middle></a>
</td></tr></table>
<pre></b><i>

`Parts'

`catalogs'
This part is repeated for each existing catalog in the current database.

`theme'
This part must be included in the catalogs part. It is only included if the catalog is a theme catalog.

`Tags'

`_COMMENT_'
Warning and messages from the last action.

`_NAME_'
Name of the catalog.

`_ID_'
Parameter containing the identifier of the root category (only available for theme catalogs). It has the form &id=<number>.

`_COUNT_'
Context value depending on the navigation type of the catalog. It will trigger an action that resets the count associated to each level of the catalog tree (category_count, cdate_count or calpha_count).

`_NAVIGATION_'
Select box of all navigation type for the catalog (theme, alpha, date). The name of the value is navigation.

`_TABLES_'
Select box of all tables in the database. The name of the value is table.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.2 calpha_root.html

Root node of alphabetical navigation.

Here is an example template:

 
<title>Alphabetical Navigation</title>

<h3>Alphabetical Navigation</h3>

_A_ _B_ _C_ _D_ _E_ _F_ _G_ _H_ _I_ _J_ _K_ _L_ <p>
_M_ _N_ _O_ _P_ _Q_ _R_ _S_ _T_ _U_ _V_ _W_ _X_ <p>
_Y_ _Z_ _0_ _1_ _2_ _3_ _4_ _5_ _6_ _7_ _8_ _9_ <p>

`Tags'

In the following tags description, [A-Z0-9] stands for all the tags generated by replacing the expression in brackets with any letter in the specified interval.

`_[A-Z0-9]_'
The letter in uppercase, wrapped in an hypertext link giving access to the list of records starting with this letter in the catalog. If there are not records starting with this letter in the catalog, the letter is not associated with an hypertext link.

`_[A-Z0-9]LETTER_'
The letter in uppercase if there are records starting with this letter in the catalog (A, B, ...). The letter in uppercase followed by 0 (A0, B0, ...) if there are no records starting with this letter in the catalog.

`_[A-Z0-9]COUNT_'
The number of records starting with the letter in the catalog.

`_[A-Z0-9]URL_'
The URL to display all the records of the catalog starting with this letter. If there are no entries in the catalog for this letter, the special letter none is used and triggers an appriopriate warning message when hit.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.3 calpha.html

Leaf node of alphabetical navigation.

Here is an example template:

 
<title>Alphabetical Navigation _LETTER_</title>

<h3>Alphabetical Navigation _LETTER_</h3>

<table border=1>
<!-- start entry -->
<tr>_DEFAULTROW_</tr>
<!-- end entry --> 
</table>

<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->

`Parts'
Each record found is displayed using the standard method, See section Record list part.

The result is paginated, See section Multipage results template.

`Tags'

`_LETTER_'
The initial letter of the record being displayed.

`table tags'
All the automaticaly generated tags for the database table are available, provided that _DEFAULTROW_ was not found in the template, See section Database table tags.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.4 cedit.html

Catalog edition.

Here is an example template:

 
<title>Edit category _CATEGORY_</title>

<center><h3><font color=red>_COMMENT_</font></h3></center>
<h3>Edit category _CATEGORY_</h3> 
<a href='_CENTRYINSERT_'><img src=_HTMLPATH_/images/new.png alt='Insert a new record and link it to this category' border=0></a>
<a href='_CENTRYSELECT_'><img src=_HTMLPATH_/images/link.png alt='Link an existing record to this category' border=0></a>
<a href='_CATEGORYINSERT_'><img src=_HTMLPATH_/images/open.png alt='Create a sub category' border=0></a>
<a href='_CATEGORYSYMLINK_'><img src=_HTMLPATH_/images/plus.png alt='Create a symbolic link to another category' border=0></a>
<a href='_CONTROLPANEL_'><img src=_HTMLPATH_/images/control.png alt='Control panel' border=0></a>
<p>
<p>
_PATH_
<p>

<!-- start categories -->
<h3>Sub categories</h3>
<table>
<!-- params 'style' => 'table', 'columns' => 2 -->
<!-- start row --> 
<tr>
<!-- start entry -->
<td> _LINKS_ <a href='_URL_'>_NAME_</a> (_COUNT_) </td>
<!-- end entry -->
</tr>
<!-- end row --> 
</table>
<!-- end categories -->
<p>

<h3>Records in this category</h3>
<!-- start entry -->
<table border=1><tr><td>_LINKS_</td> _DEFAULTROW_<tr></table>
<p>
<!-- end entry -->

<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->

`Parts'

The general structure of the parts is as follows:

 
...
<!-- start categories -->
Sub categories as Record list part and
recursive categories display.
<!-- end categories -->
...
Catalog entries as Record list part.

<!-- start symlink -->
...
<!-- end symlink -->

The symlink part is only shown in symbolic link selection context.

Each record found is displayed using the standard method, See section Record list part.

The result is paginated, See section Multipage results template.

The categories part may contain another categories part such as:

 
...
<!-- start categories -->
  _CATEGORY_
  <!-- start categories -->
  _CATEGORY_
  <!-- end categories -->  
<!-- end categories -->
...
also called recursive category display. The nested categories part will display the children of the current category whose info field contains the displaygrandchild value. This is mostly usefull for root pages that want to display the top level categories plus some second level categories for each of them.

`Tags'

`_COMMENT_'
A report from the action that displayed the template.

`_PARAMS_'
List of current parameters, except context and path. Suitable for inclusion in a href.

`_HIDDEN_'
List of current parameters, except context and path. Suitable for inclusion in a HTML form.

`_PATH_'
Full path of the current category, as built by the navigation of the user, See section Catalog configuration file. May not be the shortest path.

`_PATH[0-9]+_'
Path component of the current category. _PATH0_ is the leftmost component of the path.

`_PATHFILE_'
Full path of the current category, as built by the navigation of the user, See section Catalog configuration file. In this path the characters white space, slash, simple quote and double quote have been replaced by underscore. Therefore _PATHFILE_ can ben used as the name of a file, hence the name. For instance /Sport and amusement/Vacations/ will be _Sport_and_amusement_Vacations_

`_PATHFILE[0-9]+_'
Path component of the current category, transformed in the same was as _PATHFILE_. _PATHFILE0_ is the leftmost component of the path.

`_PATHFILE<perl range>_'
Path components of the current category. The perl range specification refer to the Perl notation for range of elements in an array. For instance 0..1 stands for the first two elements, -2..-1 the last two. For more information see the Perl manual pages. Since the minus sign and the dot are forbiden in tags, you must use FILEual equivalents: MINUS for the minus sign and DOTDOT for the two dots. Hence, to specify the first two elements of the path you can use _PATHFILE0DOTDOT1_ and to specify the last two you can use _PATHFILEMINUS2DOTDOTMINUS1_.

`_PATHTEXT_'
Full path of the current category, as built by the navigation of the user, See section Catalog configuration file.

`_PATHTEXT[0-9]+_'
Path component of the current category, as built by the navigation of the user. _PATHTEXT0_ is the leftmost component of the path.

`_PATHTEXT<perl range>_'
Path components of the current category. The perl range specification refer to the Perl notation for range of elements in an array. For instance 0..1 stands for the first two elements, -2..-1 the last two. For more information see the Perl manual pages. Since the minus sign and the dot are forbiden in tags, you must use textual equivalents: MINUS for the minus sign and DOTDOT for the two dots. Hence, to specify the first two elements of the path you can use _PATHTEXT0DOTDOT1_ and to specify the last two you can use _PATHTEXTMINUS2DOTDOTMINUS1_.

`_CATEGORY_'
The name of the current category.

`_CATEGORYID_'
The numerical identifier of the current category.

`_CENTRYINSERT_'
URL to create a new record in the catalogued table and link it to the current category.

`_CENTRYSELECT_'
URL to select an existing record in the catalogued table and link it to the current category.

`_CATEGORYINSERT_'
URL to create a new category that will appear as a sub category of the current category.

`_CATEGORYSYMLINK_'
URL to select an existing category and link it as a sub category of the current category.

`_ROOT_'
URL to display the root of the catalog.

`_CONTROLPANEL_'
URL to display the control panel of the Catalog software, See section ccontrol_panel.html.

`Tags in categories part'

The tags are in the Record list subpart. The table used is catalog_category_NAME, See section catalog_category_NAME.

`_LINKS_'
Replaced by a link to remove the corresponding sub category from the catalog.

`_URL_'
Replaced by a link to navigate the corresponding sub category.

`_NAME_'
Name of the sub category.

`_COUNT_'
Total number of records stored in this category and all its descendants.

`table tags'
All the automaticaly generated tags for the database table are available, provided that _DEFAULTROW_ was not found in the template, See section Database table tags.

`Tags in record list part'

`_LINKS_'
Replaced by the following links:
`Unlink entry'
Destroy the link between the corresponding record and the current category. The record is not destroyed, other links are preserved.

`Remove entry'
Destroy all the links in all categories of the catalog and remove the corresponding record from the catalogued table.

`table tags'
All the automaticaly generated tags for the database table are available, provided that _DEFAULTROW_ was not found in the template, See section Database table tags.

`Tags in symlink part'

`_CATEGORYSYMLINK_'
URL to select the current category and return to the caller.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.5 cbrowse_root.html

Display the root of the theme catalog. The handling of this template is strictly identical to cedit.html, See section cedit.html.

Here is an example template:

 
<title>Root</title>

<h3>Root</h3>

<!-- start categories -->
<h3>Sub categories</h3>
<ul>
<!-- start entry -->
<li> <a href='_URL_'>_NAME_</a> (_COUNT_)
<!-- end entry -->
</ul>
<!-- end categories -->
<p>
<!-- start entry -->
<p> <table border=1><tr>_DEFAULTROW_<tr></table>
<!-- end entry -->

<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.6 cbrowse.html

Display an internal node of the theme catalog. The handling of this template is strictly identical to cedit.html, See section cedit.html.

Here is an example template:

 
<title>_CATEGORY_</title>

<h3>_CATEGORY_</h3>
<p>
_PATH_
<p>

<!-- start categories -->
<h3>Sub categories</h3>
<ul>
<!-- start entry -->
<li> <a href='_URL_'>_NAME_</a> (_COUNT_)
<!-- end entry -->
</ul>
<!-- end categories -->
<p>
<!-- start entry -->
<p> <table border=1><tr>_DEFAULTROW_<tr></table>
<!-- end entry -->

<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.7 csearch.html

Display the result of a full text search on a thematic catalog.

Here is an example template:

 
<title>Search results for _TEXT_</title>

<!-- start simple -->
<center>
<form action=_SCRIPT_ method=POST>
_HIDDEN_
<input type=text size=40 name=text value='_TEXT-QUOTED_'>
<input type=submit value='search'><br>
_WHAT-MENU_
<a href=_SCRIPT_?context=csearch_form&querymode=advanced&_PARAMS_>Advanced Search</a>
<br>
Example: <b>+catalog senga -query</b>
</form>
</center>
<!-- end simple -->

<!-- start advanced -->
<form action=_SCRIPT_ method=POST>
_HIDDEN_
<textarea name=text cols=50 rows=6>_TEXT-QUOTED_</textarea>
<br>
_WHAT-MENU_
_QUERYMODE-MENU_
<input type=submit value='search'>
<br>
Advanced search syntax examples:
<dl>
<dt> Boolean operators
<dd> <b>catalog and senga and not query or freeware near software</b>
<dt> Precedence
<dd> <b>catalog and ( query or freeware )</b>
<dt> Fields
<dd> <b>comment: ( catalog and query ) or url: edu</b>
</dl>
</form>
<!-- end advanced -->

<!-- start categories -->
<center>Categories matching <b>_TEXT_</b> (_COUNT_)</center>
<ul>
<!-- start entry -->
<li> <a href=_URL_>_PATHNAME_</a>
<!-- end entry -->
</ul>

<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->
<!-- end categories -->
<!-- start nocategories -->
<center>No category matches the search criterion</center>
<!-- end nocategories -->

<!-- start records -->

<center>Records matching <b>_TEXT_</b> (_COUNT_)</center>

<table border=1>
<!-- start entry -->

<!-- start category -->
<tr><td colspan=20><a href=_URL_>_PATHNAME_</a></td></tr>
<!-- end category -->

<tr>_DEFAULTROW_</tr>
<!-- end entry --> 
</table>

<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->
<!-- end records -->
<!-- start norecords -->
<center>No record matches the search criterion</center>
<!-- end norecords -->

The simple and advanced parts are not mandatory, for backward compatibility. If none of them is present, the query form is assumed to be at the top level part of the template.

`Parts'

@cindex simple part
`simple'

Shown if the querymode parameters is set to simple.

@cindex advanced part

`advanced'

Shown if the querymode parameters is set to advanced.

@cindex categories part

`categories'
Shown if a match is found in the categories and the what parameter is not set or set to categories. The list of categories found is displayed according to the rules described in Record list part, See section Record list part. A pager may also be included, See section Multipage results template.

@cindex _URL_
`_URL_'
The URL to display the category found.

@cindex _PATHNAME_

`_PATHNAME_'
The full path name of the category found

@cindex _COUNT_

`_COUNT_'
The total number of categories found.

@cindex _TEXT_

`_TEXT_'
The original query.

@cindex _TEXT-QUOTED_

`_TEXT-QUOTED_'
The original query with HTML reserved characters quoted.

@cindex nocategories part

`nocategories'
Shown if no category is found and the what parameter is set to categories.

@cindex records part

`records'
If the what parameter is set to records, this part is shown if a match is found in the records. If the what parameter is no set, this part is shown if no match is found in the categories and a match is found in the records. The list of categories found is displayed according to the rules described in Record list part, See section Record list part. The fields shown are all the fields of the table associated with the catalog, unless specified otherwise in the catalog.conf configuration file, See section Catalog configuration file. A pager may also be included, See section Multipage results template.

@cindex _COUNT_
`_COUNT_'
The total number of records found.

@cindex _TEXT_

`_TEXT_'
The original query.

@cindex _TEXT-QUOTED_

`_TEXT-QUOTED_'
The original query with HTML reserved characters quoted.

@cindex category part

`category'
This part is a mandatory sub part of the part that displays an individual record in the records part. The exact location of this part depends on the Record list part display used, See section Record list part. It is displayed once for the first record. It is then displayed only when the category of the record differ from the previous record shown.

@cindex _URL_
`_URL_'
The URL to display the category of the record.

@cindex _PATHNAME_

`_PATHNAME_'
The full path name of the category of the record.

@cindex norecords part

`norecords'
If the what parameter is set to records, this part is shown if no record is found. If the what parameter is not set, this part is shown if no category is found and no record is found.

`Tags'

@cindex _COUNT_
`_COUNT_'
The total number of records or categories found.

@cindex _TEXT_

`_TEXT_'
The original query.

@cindex _TEXT-QUOTED_

`_TEXT-QUOTED_'
The original query with HTML reserved characters quoted.

@cindex _HIDDEN_

`_HIDDEN_'
List of hidden fields necessary to perform a new search. Must be included in a form. It includes the mode, context and name parameters.

@cindex _PARAMS_

`_PARAMS_'
List of current parameters, except context. Suitable for inclusion in a href.

@cindex _WHAT-MENU_

`_WHAT-MENU_'
A popup menu to select the what parameter.

@cindex _QUERYMODE-MENU_

`_QUERYMODE-MENU_'
A popup menu to select the querymode parameter.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.8 cdate_default.html

Default template for display of date catalog nodes.

Here is an example template:

 
<html>
<body bgcolor=#ffffff>
<title>Date catalog</title>
<!-- start years -->
  <a href=_YEARLINK_>_YEARFORMATED_</a> (_COUNT_)

  <blockquote>
  <!-- start months -->
    <!-- params format => '%M' -->
    <a href=_MONTHLINK_>_MONTHFORMATED_</a> (_COUNT_)

    <ul>
    <!-- start days -->
      <!-- params format => '%W, %d' -->
      <li> <a href=_DAYLINK_>_DAYFORMATED_</a> (_COUNT_)
    <!-- end days -->
    </ul>

  <!-- end months -->
  </blockquote>

<!-- end years -->

<!-- start records -->
Records
<!-- start entry -->
<p> <table border=1><tr>_DEFAULTROW_</tr></table>
<!-- end entry -->

<!-- start pager -->
Number of pages _MAXPAGES_
<p>
_PAGES_
<!-- end pager -->

<!-- end records -->
</html>

`Parts'

The months, days, records and pager can be omitted, if appropriate.

`years'
Repeated for each year for which there is at least one record in the period involved.

`months'
Repeated for each month for which there is at least one record within the current year.

`days'
Repeated for each day for which there is at least one record within the current month of the current year.

`records'
This part is included only if there is at least one record to display. It can be omitted if you only want to display dates and not records. The records displayed are extracted from the table associated with the current catalog. The inner parts of the records part follows the rules described in Record list part, See section Record list part. A pager may also be included, See section Multipage results template.

`Date format'

The years, months and days parts can contain a date format parameter. The form of the date format parameter is :

 
<!-- params format => '<MySQL date format>' -->

The MySQL date format string can be any format acceptable for the date_format function of MySQL. See the MySQL documentation for more information.

`Tags'

`_COUNT_'
The total number of records for the year (in years part), the month (in months part) or the day (in days part).

`_YEARLINK_'
A link to display only the period from January 1st 00:00 to December 31 23:59 of the current year.

`_YEARFORMATED_'
The current year formated according to the date format specified (see above). If no date format is specified the year is formated with the string %Y.

`_MONTHLINK_'
A link to display only the period from the first day current month 00:00h to last day of the month 23:59h.

`_MONTHFORMATED_'
The current month formated according to the date format specified (see above). If no date format is specified the month is formated with the string %M %Y.

`_DAYLINK_'
A link to display only the period from the current day 00:00h to 23:59h.

`_DAYFORMATED_'
The current day formated according to the date format specified (see above). If no date format is specified the day is formated with the string %d %M %Y.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.9 cdestroy.html

First step of complete catalog destruction.

Here is an example template:

 
<body bgcolor=#ffffff>

<center>

<h3>Confirm removal of catalog _NAME_</h3>

<form action=_SCRIPT_ method=POST>
<input type=submit name=remove value=remove>
_HIDDEN_
</form>

</center>

`Tags'
`_NAME_'
Name of the catalog.

`_HIDDEN_'
List of hidden fields necessary to perform the removal. Must be included in each form.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.10 centryremove_all.html

First step of complete removal of catalogued record.

Here is an example template:

 
<body bgcolor=#ffffff>

<center>

<h3>Confirm removal of record from  _TABLE_</h3>

<form action=_SCRIPT_ method=POST>
<input type=submit name=remove value=remove>
_HIDDEN_
</form>

</center>

`Tags'
`_NAME_'
Name of the catalog.

`_HIDDEN_'
List of hidden fields necessary to perform the removal. Must be included in each form.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.11 catalog_theme_insert.html

Create a thematic catalog. When the user click on the submit button the parameters tablename, navigation and name must be filled.

Here is an example template:

 
<title>Create _NAVIGATION_ catalog on table _TABLENAME_</title>

<h3>Create _NAVIGATION_ catalog on table _TABLENAME_</h3>

<form action=_SCRIPT_ method=POST>
_HIDDEN_
<input type=hidden name=tablename value=_TABLENAME_>
<input type=hidden name=navigation value=_NAVIGATION_>
<table>
<tr><td><b>Catalog name*</b></td><td><input type=text name=name></td></tr>
<tr><td><b>ORDER BY</b></td><td><input type=text name=corder size=60></td></tr>
<tr><td><b>WHERE</b></td><td><input type=text name=cwhere size=60></td></tr>
<tr><td><b>Dump path</b></td><td><input type=text name=dump size=60></td></tr>
<tr><td><b>Dump location</b></td><td><input type=text name=dumplocation size=60></td></tr>
<tr><td><b>Options</b></td><td>_INFO-CHECKBOX_</td></tr>
</table>
<input type=submit value='Create it!'>

</form>

`Tags'
`_NAVIGATION_'
Always set to theme.

Set the the value of the tablename cgi-bin parameter.

`_HIDDEN_'
List of hidden fields necessary to perform the removal. Must be included in each form.

`table tags'
All the automaticaly generated tags for the database table are available, provided that _DEFAULTROW_ was not found in the template, See section Database table tags. The table used is catalog, for a list of the fields available in this table, See section catalog.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.12 catalog_theme_edit.html

Edit the properties of a thematic catalog.

Here is an example template:

 
<title>Edit _NAVIGATION_ catalog _NAME_</title>
<h3>Edit _NAVIGATION_ catalog _NAME_</h3>

_EDITCOMMENT_
<form action=_SCRIPT_ method=POST>
<input type=submit name=update value=update>
_HIDDEN_
<table>
<tr><td><b>Table name</b></td><td>_TABLENAME_</td></tr>
<tr><td><b>ORDER BY</b></td><td><input type=text name=corder size=60 value='_CORDER-QUOTED_'></td></tr>
<tr><td><b>WHERE</b></td><td><input type=text name=cwhere size=60 value='_CWHERE-QUOTED_'></td></tr>
<tr><td><b>Dump path</b></td><td><input type=text name=dump size=60 value='_DUMP-QUOTED_'></td></tr>
<tr><td><b>Dump location</b></td><td><input type=text name=dumplocation size=60 value='_DUMPLOCATION-QUOTED_'></td></tr>
<tr><td><b>Options</b></td><td>_INFO-CHECKBOX_</td></tr>
<tr><td><b>Created</b></td><td>_CREATED_</td></tr>
<tr><td><b>Last modified</b></td><td>_MODIFIED_</td></tr>
</table>
</form>

`Tags'
`_EDITCOMMENT_'
The content of the comment cgi-bin parameter.

`_HIDDEN_'
List of hidden fields necessary to perform the removal. Must be included in each form.

`table tags'
All the automaticaly generated tags for the database table are available, provided that _DEFAULTROW_ was not found in the template, See section Database table tags. The table used is catalog, for a list of the fields available in this table, See section catalog.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.13 catalog_alpha_insert.html

Create a alphabetical catalog. When the user click on the submit button the parameters tablename, navigation, fieldname and name must be filled.

Here is an example template:

 
<title>Create _NAVIGATION_ catalog on table _TABLENAME_</title>

<h3>Create _NAVIGATION_ catalog on table _TABLENAME_</h3>

<form action=_SCRIPT_ method=POST>
_HIDDEN_
<input type=hidden name=tablename value=_TABLENAME_>
<input type=hidden name=navigation value=_NAVIGATION_>
<table>
<tr><td><b>Catalog name*</b></td><td><input type=text name=name></td></tr>
<tr><td><b>Field name*</b></td><td><input type=text name=fieldname></td></tr>
<tr><td><b>ORDER BY</b></td><td><input type=text name=corder size=60></td></tr>
<tr><td><b>WHERE</b></td><td><input type=text name=cwhere size=60></td></tr>
<tr><td><b>Options</b></td><td>_INFO-CHECKBOX_</td></tr>
</table>
<input type=submit value='Create it!'>

</form>

`Tags'
`_NAVIGATION_'
Always set to alpha.

Set the the value of the tablename cgi-bin parameter.

`_HIDDEN_'
List of hidden fields necessary to perform the removal. Must be included in each form.

`table tags'
All the automaticaly generated tags for the database table are available, provided that _DEFAULTROW_ was not found in the template, See section Database table tags. The table used is catalog, for a list of the fields available in this table, See section catalog.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.14 catalog_alpha_edit.html

Edit the properties of an alphabetical catalog.

Here is an example template:

 
<title>Edit _NAVIGATION_ catalog _NAME_</title>
<h3>Edit _NAVIGATION_ catalog _NAME_</h3>

_EDITCOMMENT_
<form action=_SCRIPT_ method=POST>
<input type=submit name=update value=update>
_HIDDEN_
<table>
<tr><td><b>Table name</b></td><td>_TABLENAME_</td></tr>
<tr><td><b>Field name</b></td><td><input type=text name=fieldname value='_FIELDNAME_'></td></tr>
<tr><td><b>ORDER BY</b></td><td><input type=text name=corder size=60 value='_CORDER-QUOTED_'></td></tr>
<tr><td><b>WHERE</b></td><td><input type=text name=cwhere size=60 value='_CWHERE-QUOTED_'></td></tr>
<tr><td><b>Options</b></td><td>_INFO-CHECKBOX_</td></tr>
<tr><td><b>Last cache update</b></td><td><input type=text name=updated value='_UPDATED_'</td></tr>
<tr><td><b>Created</b></td><td>_CREATED_</td></tr>
<tr><td><b>Last modified</b></td><td>_MODIFIED_</td></tr>
</table>
</form>

`Tags'
`_EDITCOMMENT_'
The content of the comment cgi-bin parameter.

`_HIDDEN_'
List of hidden fields necessary to perform the removal. Must be included in each form.

`table tags'
All the automaticaly generated tags for the database table are available, provided that _DEFAULTROW_ was not found in the template, See section Database table tags. The table used is catalog, for a list of the fields available in this table, See section catalog.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.15 catalog_date_insert.html

Create a chronological catalog. When the user click on the submit button the parameters tablename, navigation, fieldname and name must be filled.

Here is an example template:

 
<title>Create _NAVIGATION_ catalog on table _TABLENAME_</title>

<h3>Create _NAVIGATION_ catalog on table _TABLENAME_</h3>

<form action=_SCRIPT_ method=POST>
_HIDDEN_
<input type=hidden name=tablename value=_TABLENAME_>
<input type=hidden name=navigation value=_NAVIGATION_>
<table>
<tr><td><b>Catalog name*</b></td><td><input type=text name=name></td></tr>
<tr><td><b>Field name*</b></td><td><input type=text name=fieldname></td></tr>
<tr><td><b>ORDER BY</b></td><td><input type=text name=corder size=60></td></tr>
<tr><td><b>WHERE</b></td><td><input type=text name=cwhere size=60></td></tr>
<tr><td><b>Options</b></td><td>_INFO-CHECKBOX_</td></tr>
</table>
<input type=submit value='Create it!'>

</form>

`Tags'
`_NAVIGATION_'
Always set to date.

Set the the value of the tablename cgi-bin parameter.

`_HIDDEN_'
List of hidden fields necessary to perform the removal. Must be included in each form.

`table tags'
All the automaticaly generated tags for the database table are available, provided that _DEFAULTROW_ was not found in the template, See section Database table tags. The table used is catalog, for a list of the fields available in this table, See section catalog.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.16 catalog_date_edit.html

Edit the properties of a chronological catalog.

Here is an example template:

 
<title>Edit _NAVIGATION_ catalog _NAME_</title>
<h3>Edit _NAVIGATION_ catalog _NAME_</h3>

_EDITCOMMENT_
<form action=_SCRIPT_ method=POST>
<input type=submit name=update value=update>
_HIDDEN_
<table>
<tr><td><b>Table name</b></td><td>_TABLENAME_</td></tr>
<tr><td><b>Field name</b></td><td><input type=text name=fieldname value='_FIELDNAME_'></td></tr>
<tr><td><b>ORDER BY</b></td><td><input type=text name=corder size=60 value='_CORDER-QUOTED_'></td></tr>
<tr><td><b>WHERE</b></td><td><input type=text name=cwhere size=60 value='_CWHERE-QUOTED_'></td></tr>
<tr><td><b>Options</b></td><td>_INFO-CHECKBOX_</td></tr>
<tr><td><b>Last cache update</b></td><td><input type=text name=updated value='_UPDATED_'</td></tr>
<tr><td><b>Created</b></td><td>_CREATED_</td></tr>
<tr><td><b>Last modified</b></td><td>_MODIFIED_</td></tr>
</table>
</form>

`Tags'
`_EDITCOMMENT_'
The content of the comment cgi-bin parameter.

`_HIDDEN_'
List of hidden fields necessary to perform the removal. Must be included in each form.

`table tags'
All the automaticaly generated tags for the database table are available, provided that _DEFAULTROW_ was not found in the template, See section Database table tags. The table used is catalog, for a list of the fields available in this table, See section catalog.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.17 cdump.html

Ask for confirmation before dumping the content of a thematic catalog

Here is an example template:

 
<title>Dump _NAME_ catalog in HTML</title>

<h3>Dump _NAME_ catalog in HTML</h3>

<center><h3><font color=red>Warning! All files and subdirectories of the specified path will first be removed.</font></h3></center>
<form action=_SCRIPT_ method=POST>
_HIDDEN_
<table>
<tr><td><b>Full path name*</b></td><td><input type=text name=path size=50 value='_PATH_'></td></tr>
<tr><td><b>Location*</b></td><td><input type=text name=location size=50 value='_LOCATION_'></td></tr>
</table>
<input type=submit value='Dump it!'>

</form>

`Tags'
`_HIDDEN_'
List of hidden fields necessary to perform the removal. Must be included in each form.

`_NAME_'
Name of the catalog.

`_PATH_'
Full path name of the directory where the catalog will be dumped.

`_LOCATION_'
HTML base location used to navigate the dumped catalog. If _PATH_ is something like /home/http/htdocs/directory, the location is likely to be /directory.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.18 cimport.html

Query parameters for loading a thematic catalog from a file.

Here is an example template:

 
<title>Load a thematic catalog</title>
<form action=_SCRIPT_ method=POST>
<input type=hidden name=context value=cimport_confirm>
<table>
<tr><td><b>Catalog name</b></td><td><input type=text name=name value=_NAME_></td></tr>
<tr><td><b>File path</b></td><td><input type=text name=file></td></tr>
</table>
<input type=submit value='Load it!'>
</form>

`Tags'
`_NAME_'
Name of the catalog.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.19 cexport.html

Query parameters for unloading a thematic catalog to a file.

Here is an example template:

 
<title>Unload a thematic catalog</title>
<form action=_SCRIPT_ method=POST>
<input type=hidden name=context value=cexport_confirm>
<input type=hidden name=name value=_NAME_>
<table>
<tr><td><b>Catalog name</b></td><td>_NAME_</td></tr>
<tr><td><b>File path</b></td><td><input type=text name=file></td></tr>
</table>
<input type=submit value='Unload it!'>
</form>

`Tags'
`_NAME_'
Name of the catalog.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by root on November, 18 2003 using texi2html