Help

11.2   Theme Set Files (Templates)

Templates Included In The Default Theme

The following templates were configured for the demonstration purposes:

add_link.tpl

This is a template form for a adding a new link.

add_link_cats.tpl

This is a template that is used by add_link.tpl to display all categories in which the link is referenced.

add_review.tpl

This is a template form for adding new link reviews.

box_login.tpl

This is a template form for a user login box.

box_search.tpl

This is a template form for a search box.

box_subscribe.tpl

This is a template form for a mailing list subscribe box.

box_suggest.tpl

This is a template form for a box for suggesting the site to a friend.

display_cat_search.tpl

This is a template for displaying the results of advanced category search.

display_link_search.tpl

This is a template for displaying the results of advanced link search.

error.tpl

This is a template for displaying miscellaneous errors.

footer.tpl

This is a template to be included as footer in other templates for easy layout purposes.

getrate.tpl

This is a template to display the actual HTML code that a link owner can put on his site, in order for the user’s link to get rated from that site.

getting_rated.tpl

This is a template for the layout of the page where the getting rated code is displayed.

header.tpl

This is a template to be included as header in other templates for easy layout purposes.

index.tpl

This is a template file for the front (root category) page of the entire system.

list_cats.tpl

This is a template to display an individual category listing (category results are maid out of these individual listings).

list_links.tpl

This is a template to display an individual link listing (link results are maid out of these individual listings).

list_mod_links.tpl

This is a template to display an individual link listing for modifying by the link owner listing (results for user links are maid out of these individual listings)

list_pick_links.tpl

This is a template to display an individual Editor Pick’s link listing (Editor Pick’s results are maid out of these individual listings)

list_reviews.tpl

This is a template to display an individual review listing (review results are maid out of these individual listings)

login.tpl

This is a template form for the user login page.

menu_navigation.tpl

This template is for displaying top navigation menu containing the navigation items.

menu_user.tpl

This template is for displaying user services menu containing the navigation items.

message.tpl

This template is reserved for future use.

modify.tpl

This is a template to display a listing of links that a user owns, so he modify them.

modify_link.tpl

This is a template form that is used for a user to modify his link.

new.tpl

This is a template to display a list of all links in the system that are marked as “NEW”.

pick.tpl

This is a template to display a list of all Editor Pick’s links in the system.

pop.tpl

This is a template to display a list of all links in the system that are marked as “POP”.

profile.tpl

This is a template form that allows a user to update their personal information.

rate.tpl

This is a template form to place a vote for a link.

registration.tpl

This is a template form for a user registration.

reviews.tpl

This is a template to list reviews for a link.

search.tpl

This is a template form for searching links and categories.

search_advanced_cats.tpl

This is a template form for performing advanced search on categories.

search_advanced_links.tpl

This is a template form for performing advanced search on links.

sort_cats.tpl

This is a template form allowing choosing sorting and ordering for the category results.

sort_links.tpl

This is a template form allowing choosing sorting and ordering for the link results.

statistics.tpl

This is a template for displaying system-wide statistics.

style.css

This is a stylesheet file for the entire theme. All of the individual templates refer to this file.

sub_pages.tpl

This is a template to display all the subcategories other than root.

subscribe.tpl

This is a template form for subscribing to a mailing list.

suggest_cat.tpl

This is a template form for suggesting a category.

top.tpl

This is a template to display a list of all links in the system that are marked as “TOP”.

Generic Custom Templates

The following templates can be created to extend the system functionality:

“cat_id”.tpl

You can create a separate template for every category in the system. Just create a separate template file, call it “cat_id.tpl”, where “cat_id” is the Category database ID number and place this template file with the rest of files in the theme directory.

“your_name”.tpl

You can create any new templates from scratch and include any of the In-tags. You can let users access those templates through a link by using <%nav:your_name%> or you can include those templates in other templates by using <%include:your_name%>, where your_name is the name of the template.

11.3   Language Set Files

English

The following is a standard language set:

language.php

This is the main language file for all the system messages displayed in the front end.

language_admin.php

This is the main language file for all the system messages displayed in the Administration Panel.

errors.txt

This is a template for the Administration Panel including eror reporting information.

feedback.txt

This is a template for the Administration Panel including feedback information

license.txt

This is a template for the Administration Panel including licensing information.

site.txt

This is a template for the Administration Panel including the information about the In-link’s official site.

support.txt

This is a template for the Administration Panel including support information.

mail_admin_mod_link.tpl

This is an e-mail template for sending out e-mail to the specified Administrator in the event when an end user modifies an existing link. (Either pending or direct modification)

mail_admin_new_cat.tpl

This is an e-mail template for sending out e-mail to the specified Administrator in the event when a new category (pending or direct) is suggested by an end user.

mail_admin_new_link.tpl

This is an e-mail template for sending out e-mail to the specified Administrator in the event when a new link (pending or direct) is added to the system by an end user.

mail_admin_new_review.tpl

This is an e-mail template for sending out e-mail to the specified Administrator in the event when a new link review (pending or direct) is added to the system by an end user.

mail_admin_new_user.tpl

This is an e-mail template for sending out e-mail to the specified Administrator in the event when a new user registers with the system.

mail_suggest_site.tpl

This is an e-mail template for sending out e-mail for suggesting the site.

mail_user_approved.tpl

This is an e-mail template for sending out e-mail to the user (e-mail address specified in the user profile) in the event when the Administrator approves that user.

mail_user_denied.tpl

This is an e-mail template for sending out e-mail to the user (e-mail address specified in the user profile) in the event when the Administrator denies that user.

mail_user_link_approved.tpl

This is an e-mail template for sending out e-mail to the user (e-mail address specified in the user profile) in the event when the Administrator approves the link submitted by that user.

mail_user_link_denied.tpl

This is an e-mail template for sending out e-mail to the user (e-mail address specified in the user profile) in the event when the Administrator denies the link submitted by that user.

mail_user_mod_link.tpl

This is an e-mail template for sending out e-mail to the user (e-mail address specified in the user profile) in the event when that user modifies his link in the system.

mail_user_new_link.tpl

This is an e-mail template for sending out e-mail to the user (e-mail address specified in the user profile) in the event when that user adds a link (pending or direct) to the system.

mail_user_new_user.tpl

This is an e-mail template for sending out e-mail to the user (e-mail address specified in the user profile) in the event when that user registers with the system.

continue >>