Templates editor
 
  New template

Template file
(click to edit)
Template info
add_form.htm
Description:
 Template for "new entry" form output.
 Sub-template of main output template (e.g. easydata.htm) (HTMLOUTPUT)

Special tags:
 <!--$CONTENT--> - HTML code of add record form 
 <!--$TABLENAME--> - Name of table currently active
 <!--$VALIDATIONSCRIPT--> - JavaScript validation script

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object
 $fields{FIELDNAME} - default field value by field name 
add_mod.htm
Description:
Text (or HTML code) to appear after user successfully
added a record to a table, with further moderation

Special tags:
 All fieldnames (<!--$AnyFieldName-->)

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by name
 $table_name - name of active table
 $table - active table object 
add_ok.htm
Description:
Text (or HTML code) to appear after user successfully
added a record to a table, without moderation

Special tags:
 All fieldnames (<!--$AnyFieldName-->)

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by name
 $table_name - name of active table
 $table - active table object 
adm_imp1.htm
Description:
 Template for "data import" page #1

Special tags:

Script variables (used within Perl code):
 none 
adm_imp2.htm
Description:
 Template for "data import" page

Special tags:

Script variables (used within Perl code):
 none 
advs_frm.htm
Description:
 Template for advanced search form.
 Sub-template of easydata.htm (HTMLOUTPUT)

Special tags:
 <!--$FORMCONTENT--> - Additional filters section of a search form
 <!--$TABLENAME-->   - Name of a table being searched
 <!--$SORTFIELDS-->  - HTML code to insert between "select" tags:
               <select name="order_by" >
               <!--$SORTFIELDS-->
               </select>

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
bookmark.htm
Description:
 Template for "bookmarked records" table.
 Sub-template of easydata.htm (HTMLOUTPUT)

Special tags:
 <!--$TABLENAME--> - Name of table currently active
 <!--$TABLECONTENT-->  - table content
 <!--$RECORDSCOUNT--> - number of bookmarked records

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
comm_frm.htm
Description:
 Template for rating+comments form.
 Sub-template of ent_view.htm (RATEFORM)

Important:
 comm_frm.htm applied as rating form ONLY when
 "_comments_data" field is present in a table.

Special tags:
 <!--$ID-->          - record being rated ID
 <!--$RATECHOICES--> - HTML code to insert between "select" tags:
               <select name="rating" ><!--$RATECHOICES-->
               </select>
 <!--$TABLE-->       - name of active table

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
comm_lst.htm
Description: 
 Template for comments listing.
 Sub-template of ent_view.htm (COMMENTS)

Special tags:
 <!--$ID--> - record being commented ID
 <!--$ROWCOUNT--> - number of comments available for browsing
 <!--$FIRSTROW--> - first visible comment number
 <!--$LASTROW--> - last visible comment number
 <!--$CONTENT--> - comments listing content
 <!--$BROWSER--> - "Pageflicker" HTML code
 <!--$TABLE--> - name of active table

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
comment.htm
Description: 
 Template for comment entry.
 Merged comment entries are sub-template of comm_lst.htm (CONTENT)

Special tags:
 <!--$NUM-->      - ordinal number of comment
 <!--$NAME-->     - name of a person added this comment
 <!--$EMAIL-->    - e-mail of a person added this comment
 <!--$LOCATION--> - location (city, country) of a person added 
            this comment
 <!--$RATING-->   - rating posted with this comment
 <!--$COMMENT-->  - this comment text
 <!--$DATETIME--> - date/time when this comment was posted 
            (in YYYY-MM-DD HH:MM:SS format)
 <!--$IP-->       - IP address of a computer this comment was 
            posted from
	
Script variables (used within Perl code):
 $table_name - name of active table
 $table      - active table object 
decline.eml
Description:
 Template for message sent when moderated modification
 is declined by admin.
 
Special tags:
 <!--$RECIPIENT--> - message recipient
 <!--$REASON--> - reason why request is declined (typed by admin)
 <!--$ID--> - ID of old record (if modifying record)
 <!--$NEW_ID--> - ID of new record (if modifying record)
 <!--$ACTION--> - action type (one of "Add", "Update", "Delete")
 
Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by name
 $table_name - name of active table
 $table - active table object 
del_mod.htm
Description:
Text (or HTML code) to appear after user successfully
deleted a record from a table, with further moderation

Special tags:
 All fieldnames (<!--$AnyFieldName-->)

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by name
 $table_name - name of active table
 $table - active table object 
del_msg.eml
Description:
 Template of message sent when entry is automatically
 deleted because of expiration.
 
Special tags:
 All fieldnames (<!--$AnyFieldName-->)
 
Script variables (used within Perl code):
 $f_vals{FIELDNAME} - field value by name
 $table_name - name of active table
 $table - active table object 
del_ok.htm
Description:
Text (or HTML code) to appear after user successfully
deleted a record from a table, without further moderation

Special tags:
 All fieldnames (<!--$AnyFieldName-->)

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by name
 $table_name - name of active table
 $table - active table object 
easydata.htm
Description:
Main output template 

Special tags:
 <!--$HEADER-->      - page header
 <!--$HEADBLOCK-->   - block of code to insert within <head>...</head>
                       tags. Reserved for possible future versions use.
 <!--$TOPMENU-->     - top-level (main) menu is common for most pages.
                       It can include Admin,Home,Search,Login/Logout,Help
 <!--$BOTTOMMENU-->  - bottom-level (context-dependent) sub-menu is 
                       specific for each page
 <!--$SEARCHBOX-->   - box with simple search controls
 <!--$HTMLOUTPUT-->  - various content output of sub-templates
 <!--$ERROROUTPUT--> - if errors occur, they will be explained at
                       this place

Script variables (used within Perl code):
 $table_name - name of active table
 $table      - active table object 
ent_view.htm
Description:
Template for entry block output in "entry detailed view" mode.
Sub-template of easydata.htm (HTMLOUTPUT)

Special tags:
 <!--$TABLEID-->             - current record ID
 <!--$TABLECONTENT-->        - current record content
 <!--$TABLECATEGORIESPATH--> - HTML code of block with path to each
                       category record belongs to. Each
                       category  is linked to display
                       content of itself.
 <!--$COMMENTS-->            - HTML code of block which displays
                       feedback comments
 <!--$RATEFORM-->            - HTML code of feedback ratings/comments
                       gathering form

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object
 $fields{FIELDNAME} - field value by field name 
errors.htm
Description:
 Template for displaying list of errors occurred.
 Sub-template of top-level templates (ERROROUTPUT)

Special tags:
 <!--$ERRORS--> - list of errors occurred (delimited with "<br>" tag)

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object
 @errors - array of errors occurred 
login.htm
Description: 
 Common template to display login form

Special tags:
 <!--$TABLES--> - HTML code of list of all tables to insert 
          between "select" tags: 
          <SELECT name="tbl"><!--$TABLES--></SELECT>

Script variables (used within Perl code):
 $redirect - enforcement redirection URL after successful 
             login, originally passed in URL 
             login.cgi?redirect=http://... 
mod_alrt.eml
Description:
 Template for message to admin about moderation request
 
Special tags:
 <!--$FIELDSCONTENT--> - content of fields of record being modarated
 <!--$ACTION-->        - modarated action: add/update/delete
 <!--$ID-->            - ID or record being moderated
 <!--$TABLENAME-->     - Name of table
 
Script variables (used within Perl code):
 none 
msrchall.htm
Description:
 General template for multi-table search results.
 Sub-template of easydata.htm (HTMLOUTPUT)

Special tags:
 <!--$SEARCHRESULTSNUMBER-->  - number of entries found
 <!--$SEARCHRESULTSNUMBERS--> - report about number of entries
                                found in each table
 <!--$SEARCHRESULTSBEGIN-->   - first visible entry number
 <!--$SEARCHRESULTSEND-->     - last visible entry number
 <!--$SEARCHRESULTSCONTENT--> - search results content
 <!--$SEARCHRESULTSBROWSER--> - "Pageflicker" HTML code

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
msrchres.htm
Description:
 Template for output of specific table search results in 
 multi-table search results.
 Merged search results are  sub-template of 
 msrchall.htm (SEARCHRESULTSCONTENT).

Special tags:
 <!--$SEARCHRESULTSNUMBER--> - number of entries found
 <!--$SEARCHRESULTSBEGIN--> - first visible entry number
 <!--$SEARCHRESULTSEND--> - last visible entry number
 <!--$SEARCHRESULTSHEADER--> - search results table header
 <!--$SEARCHRESULTSCONTENT--> - search results table content

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
popupmsg.htm
Description:
 Main output template for displaying message(s) in popup window

Special tags:
 <!--$HEADER-->      - page header
 <!--$HEADBLOCK-->   - block of code to insert within 
                       <head>...</head> tags. This can be 
                       meta tags (like redirects) or CSS.
 <!--$TOPMENU-->     - top-level (main) menu is common for most pages.
                       It can include Admin,Home,Search,Login/Logout,Help
 <!--$BOTTOMMENU-->  - bottom-level (context-dependent) sub-menu
                       is specific for each page
 <!--$HTMLOUTPUT-->  - various content output of sub-templates
 <!--$ERROROUTPUT--> - if errors occur, they will be explained at
                       this place

Script variables (used within Perl code):
 $table_name - name of active table
 $table      - active table object 
pwd_msg.eml
Description: 
 Template for password reminding message.
 
Special tags:
 <!--$EMAIL--> - e-mail address to send passwords to
 <!--$PAIRS--> - "record ID" - "password" 
                 pairs. One pair per line.
 
Script variables (used within Perl code):
 @$pairs - array of text-formatted login/password pairs 
           found for this e-mail address
 @$pairs_arr - structured array of pairs: 
               ["login", "password", "record ID", \%fields]
 $table_name - name of active table
 $table - active table object 
rate_frm.htm
Description: 
 Template for rating form.
 Sub-template of ent_view.htm (RATEFORM)

Important: 
 rate_frm.htm applied as rating form ONLY when 
 "_comments_data" field is not present in a table.

Special tags:
 <!--$ID-->          - record being rated ID
 <!--$RATECHOICES--> - HTML code to insert between "select" tags: 
               <select name="rating" ><!--$RATECHOICES-->
               </select>
 <!--$TABLE-->       - name of active table

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
rec_add.eml
Description:
 Template for message body sent when record is physically 
 added to a table
 
Special tags:
 <!--$ID--> - value of key field
 <!--$LINK--> - URL of added record
 All fieldnames (<!--$AnyFieldName-->)
 
Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
rec_del.eml
Description:
 Template for message body sent when record is physically 
 deleted from a table
 
Special tags:
 <!--$ID--> - value of key field
 <!--$LINK--> - URL of deleted record
 All fieldnames (<!--$AnyFieldName-->)
 
Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
rec_upd.eml
Description:
 Template for message body sent when record is physically 
 updated in a table
 
Special tags:
 <!--$ID--> - new value of key field
 <!--$LINK--> - URL of modified record
 All fieldnames (<!--$AnyFieldName-->)
 
Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
redirect.htm
Description:
 Redirection page output template

Special tags:
 <!--$REDIRECT_DELAY-->      - redirect delay (in seconds)
 <!--$REDIRECT_MESSAGE-->   - redirect message
 <!--$REDIRECT_URL-->     - redirect URL

Script variables (used within Perl code):
 none 
remember.htm
Description: 
 Common template to display "password mailing" form

Special tags:
 <!--$TABLES--> - HTML code of list of all tables to insert between 
          "select" tags: 
          <SELECT name="tbl"><!--$TABLES--></SELECT>

Script variables (used within Perl code):
 None 
sendform.htm
Description:
 Template of "send record by e-mail" inline form

Special tags:
 <!--$TABLE--> - current table
 <!--$ID-->    - current record ID

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by field name 
sendmain.htm
Description:
 Main output template for displaying "send record by e-mail" popup form

Special tags:
 <!--$HEADER-->      - page header
 <!--$HEADBLOCK-->   - block of code to insert within 
                       <head>...</head> tags. This can be 
                       meta tags (like redirects) or CSS.
 <!--$TOPMENU-->     - top-level (main) menu is common for most pages.
                       It can include Admin,Home,Search,Login/Logout,Help
 <!--$BOTTOMMENU-->  - bottom-level (context-dependent) sub-menu
                       is specific for each page
 <!--$HTMLOUTPUT-->  - various content output of sub-templates
 <!--$ERROROUTPUT--> - if errors occur, they will be explained at
                       this place

Script variables (used within Perl code):
 $table_name - name of active table
 $table      - active table object 
sendokfr.htm
Description:
 Text (or HTML code) to appear after user successfully
 filled and posted "send record by e-mail" form (when using inline form).

Special tags:
 All fieldnames of a record (<!--$AnyFieldName-->)

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by field name 
sendokpo.htm
Description:
 Text (or HTML code) to appear after user successfully
 filled and posted "recommend product" form (when using popup form).

Special tags:
 All fieldnames of a recommended product (<!--$AnyFieldName-->)

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by field name 
sendpop.htm
Description:
 Template of "send record by e-mail" popup form

Special tags:
 <!--$TABLE--> - current table
 <!--$ID-->    - current record ID

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by field name 
sendrec.eml
Description:
 Template of "send record by e-mail" message
 
Special tags:
 <!--$SENDERNAME-->    - name of sender
 <!--$EMAILFROM-->     - e-mail of sender
 <!--$RECIPIENTNAME--> - name of recipient
 <!--$EMAILTO-->       - e-mail of recipient
 <!--$REFERLINK-->     - link to a record
 <!--$GREETING-->      - greeting message
 <!--$RECORDCONTENT--> - content of a record
 
Script variables (used within Perl code):
 $in{name} - name of a person who recommended this product
 $in{_email} - e-mail of a person who recommended this product 
srch_box.htm
Description:
 Template for simple search form.
 Sub-template of easydata.htm (SEARCHBOX)

Special tags:
 <!--$TABLE--> - name of active table

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
srch_res.htm
Description:
 Template for search results block output.
 Sub-template of easydata.htm (HTMLOUTPUT)

Special tags:
 <!--$SEARCHRESULTSNUMBER--> - number of entries found
 <!--$SEARCHRESULTSBEGIN--> - first visible entry number
 <!--$SEARCHRESULTSEND--> - last visible entry number
 <!--$SEARCHRESULTSHEADER--> - search results table header
 <!--$SEARCHRESULTSCONTENT--> - search results table content
 <!--$SEARCHRESULTSBROWSER--> - "Pageflicker" HTML code

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
subcat.htm
Description: 
 Template for subcategories block output in "browse" mode.
 Sub-template of tbl_view.htm (TABLECATEGORIESBLOCK )

Special tags:
 <!--$TABLECATEGORIESLIST--> - categories list content output 

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
tables.htm
Description: 
 Common template to display "tables list" page

Special tags:
 <!--$TABLES--> - HTML code of list of all tables

Script variables (used within Perl code):
 @tables - array of table names
 @table_labels - array of table labels
 @table_objects - array of table objects 
tbl_view.htm
Description: 
Template for table block output in "browse" mode.
Sub-template of easydata.htm (HTMLOUTPUT)

Special tags:
 <!--$TABLEROWCOUNT-->        - number of entries available for browsing
 <!--$TABLEFIRSTROW-->        - first visible entry number
 <!--$TABLELASTROW-->         - last visible entry number
 <!--$TABLEHEADER-->          - table header
 <!--$TABLECONTENT-->         - table content
 <!--$TABLEBROWSER-->         - "Pageflicker" HTML code
 <!--$TABLECATEGORIESBLOCK--> - HTML code of block (table) with links 
                        to subcategories of current category
 <!--$TABLECATEGORIESPATH-->  - HTML code of block with path to current
                        category. Each upper category  is 
                        linked to display content of itself.

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object
 $category - code of current category 
treenode.htm
Description:
 Template for node in categories tree.

Special tags:
 <!--$TABLENAME--> - name of the table
 <!--$ID--> - category id
 <!--$NAME--> - name of category
 <!--$SHOWDESCRIPTION--> - show description of category
 <!--$DESCRIPTION--> - description of category
 <!--$RECORDSCOUNT--> - number of records

 <!--$LEFTCOLUMNS--> - HTML content of left (alignment) 
                    columns. These columns contain vertical 
					lines where required.
 <!--$DEPTH--> - catogory depth (starting from 1)
 <!--$ICONCODE--> - code of drawing icon
 <!--$ICONHTML--> - HTML for rendering drawing icon
 <!--$ICONURL--> - URL of drawing icon
 <!--$ICONBGURL--> - background vertical line icon URL

 <!--$COLSPAN--> - "max tree depth" - "depth" + 1
 <!--$FOLDERICONCODE--> - code of folder/leaf icon. 
         Either "FO" ("folder open"), or "LF"("leaf").
 <!--$FOLDERICONHTML--> - HTML code for rendering folder/leaf icon
 <!--$FOLDERICONURL--> - URL of folder/leaf icon
 <!--$SUBNODESCOUNT--> - number of sub-categories
 <!--$LINENUM--> - current row number, starting from 1
 <!--$TARGETFRAME--> - repeats 'Target frame' setting
 <!--$SHOWFOLDERICONS--> - repeats 'Show folder/leaf icons' setting
 <!--$TERMINALTAGSCOUNT--> - number of terminal </div> tags to insert
 <!--$ISLASTNODE--> - Used to decide what icon should be used.
        1 - last node on this level
		0 - there are next nodes on this level
 
Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
treeview.htm
Description:
 Main template of categories tree.

Special tags:
 <!--$TREEHTML--> - HTML code of tree

 <!--$EXPANDABLEIDSARRAY--> - array of "expandable" category 
                         codes  (used in CollapseAll and 
                         ExpandAll JavaScript functions)
 <!--$EXPANDABLEISLASTARRAY--> - array of "use 'last on this 
                         level' image" marks for array of "expandable" 
                         category codes

 <!--$SHOWFOLDERICONS--> - repeats 'Show folder/leaf icons' setting
 <!--$INITIALSTATE--> - repeats 'Initial tree state' setting. 
                    Empty value for "Expanded" state. "collapsed" 
					for "Collapsed" state.
 <!--$SHOWCOLLAPSEALL--> - repeats 'Show "Collapse all" link' setting
 <!--$SHOWEXPANDALL--> - repeats 'Show "Expand all" link' setting
 <!--$ROOTLABEL--> - repeats 'Root category label' setting
 <!--$ROOTICONURL--> - repeats 'Root category icon URL' setting
 
Following tags are replaced either with URLs specified in settings, 
or with default URLs. Default URLs download built-in icons from 
treeview script. This wastes server CPU resources. It is highly 
recommended to specify direct links on each icon in configuration.
 <!--$blank_url-->
 <!--$vertline_url-->
 <!--$node_url-->
 <!--$lastnode_url-->
 <!--$plusnode_url-->
 <!--$pluslastnode_url-->
 <!--$minusnode_url-->
 <!--$minuslastnode_url-->
 <!--$folderclosed_url-->
 <!--$folderopen_url-->
 <!--$leaf_url-->

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object 
upd_form.htm
Description:
 Template for "update entry" form output.
 Sub-template of main output template (e.g. easydata.htm) (HTMLOUTPUT)

Special tags:
 <!--$CONTENT--> - HTML code of edit form
 <!--$ID--> - id field value of record being updated
 <!--$TABLENAME--> - name of the table
 <!--$VALIDATIONSCRIPT--> - JavaScript validation script

Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object
 $fields{FIELDNAME} - default field value by field name 
upd_mod.htm
Description:
Text (or HTML code) to appear after user successfully
updated a record in a table, with further moderation

Special tags:
 All fieldnames (<!--$AnyFieldName-->)

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by name
 $table_name - name of active table
 $table - active table object 
upd_ok.htm
Description:
Text (or HTML code) to appear after user successfully
updated a record in a table, without moderation

Special tags:
 All fieldnames (<!--$AnyFieldName-->)

Script variables (used within Perl code):
 $fields{FIELDNAME} - field value by name
 $table_name - name of active table
 $table - active table object 
warn_msg.eml
Description:
 Template for expiration warning message body.
 
Special tags:
 All fieldnames (<!--$AnyFieldName-->)
 
Script variables (used within Perl code):
 $table_name - name of active table
 $table - active table object