use strict; ################################################# # Main Template Files: # ################################################# # Template file to use for Welcome page: $welcomefile = "templates/welcome.html"; # Template file to use for "Add Entry" page: $submitfile = "templates/submit.html"; # Template file for "Preview Entry" page: $previewfile = "templates/preview.html"; # Template file to use for "View Entires" page: $entriesfile = "templates/entries.html"; # Template file to use for each individual entry: $entrytemplate = "templates/entries_layout.txt"; # File to use for navigation menu (only applicable to some templates): $navfile = "templates/navigation.txt"; # Template file to use for the "Sort Entries" drop down boxes: $sort_template = "templates/sort_menu.txt"; # Template file to use for "Search Entries" page: $search_template = "templates/search.html"; # Template file to use for "Search Results" page: $results_template = "templates/search_results.html"; # Template to use for individual search results: $results_layout = "templates/results_layout.txt"; # List of countries to display with %%COUNTRIES%% tag: $countriesfile = "templates/countries.txt"; ################################################# # Admin Template Files: # ################################################# # Template file to use for Administration page: $adminfile = "templates/admin.html"; # Template file to use for "Export Entries" page: $exp_template = "templates/export.html"; # Template to use for "Export Entries" results: $exp_res_template = "templates/export_results.html"; # Template file to use for Edit Entry page: $editfile = "templates/edit.html"; # Template file to use for Change Password page: $chpassfile = "templates/chpass.html"; ################################################# # Confirmation Template Files: # ################################################# # Confirmation page for successful entry: $thankyou_confirm = "templates/thankyou_confirm.html"; # Confirmation page for successful deletion: $delete_confirm = "templates/delete_confirm.html"; # Confirmation page for successful edit: $edit_confirm = "templates/edit_confirm.html"; # Confirmation page for successful password change: $chpass_confirm = "templates/chpass_confirm.html"; ################################################# # Error Template Files: # ################################################# # Error page if new password left blank (change password section): $blankpass_error = "templates/blankpass_error.html"; # Error page for non-matching new and confirm passwords (change pass section): $pass_nomatch_error = "templates/pass_nomatch_error.html"; # Error page for incorrect old password (change password section): $incorrect_old_pass_error = "templates/incorrect_old_pass_error.html"; # Error page if someone tries to post more than once in an hour: $already_posted_error = "templates/already_posted_error.html"; ################################################# # Global Configuration Options: # ################################################# # Log file to store entries in: $entrylog = "entry_logs/entries.log"; # File to get list of smut words from (used for smut filter): # Leave blank to disable smut filter. $smutfile = "templates/smut.txt"; # Page Title (e.g. GuestWho): $pagetitle = "Guestwho"; # Signature Line (e.g. "Powered by GuestWho v2.1"): $pagesig = "Powered by GuestWho v2.1"; # Enable UBB code ? (1 for enable, 0 for disable.) $ubbenable = 1; # URL to where emoticons are stored: $iconpath = "templates/emotes"; # Number of entries per page: $perpage = 3; # Maximum number of characters in a word before splitting it: $maxlength = 80; # Hide email addresses ? (1 for yes, 0 for no.) $emailhide = 1; # Required fields (ie. form fields that are compulsary to fill in): @required_fields = ('name','country','comments'); # Which fields do we want to 'htmlify', and how ? %html_fields = (email => "mailto", website => "link"); # Time difference in hours from GMT (e.g. +10 for Australia, -6 for Central America): $timedif = 10; ################################################# # Advanced Options (Experts only): # ################################################# # Load GuestWho action libraries from: $actionsdir = "./guestwho_libs/actions"; # Load GuestWho common libraries from: $commondir = "./guestwho_libs/common"; # Encrypted Admin password (DON'T HAND EDIT!!): $adminpass = "p7.VkKRK6KVsM"; ################################################# # End Configuration # ################################################# 1;