Location: PHPKode > projects > Article Manager > pm30/cgi/data/config/default.xml
<variable name="base" type="array" box="10-60">
 login, ID, password, update_date, register_date,  
 IP, sortable_register_date, sortable_update_date, 
 firstname, lastname,  email, 
 streetaddress, city, postcode, state, country, tel, 
 birthday, birthmonth, birthyear, status, gender, occupation,
 quote, hobbies, homepage, news, mailing
</variable>

<variable name="not_null" type="array" box="10-60">
'login', 'password', 'email'
</variable>

<variable name="template_rules" type="array" box="10-60">
 { 'action' => 'header', 'field' => 'logged-in', 'text' => 'no', 'temp'=> 'header_clean' },
</variable>

<variable name="base_descriptions" type="hash" box="10-60">
'login' => { 'label' => 'Login Name', 'size' => '20', 'type' => 'Text Field' },
'firstname' => { 'label' => 'First Name', 'size' => '20', 'type' => 'Text Field' },
'lastname' => { 'label' => 'Last Name', 'size' => '20', 'type' => 'Text Field' },
'email' => { 'label' => 'Email', 'size' => '20', 'type' => 'Text Field' },
'streetaddress' => { 'label' => 'Address', 'cols' => '40', 'rows' => '', 'type' => 'Text Area' },
'city' => { 'label' => 'City', 'size' => '20', 'type' => 'Text Field' },
'state' => { 'label' => 'State', 'choices' => 'data/config/choices_state.txt', 'type' => 'Pulldown Menu' },
'postcode' => { 'label' => 'Postcode', 'size' => '6', 'type' => 'Text Field' },
'tel' => { 'label' => 'Phone', 'size' => '20', 'type' => 'Text Field' },
'birthday' => { 'label' => 'Birth Day', 'choices' => 'data/config/choices_birthday.txt', 'type' => 'Pulldown Menu' },
'birthmonth' => { 'label' => 'Birth Month', 'choices' => 'data/config/choices_birthmonth.txt', 'type' => 'Pulldown Menu' },
'birthyear' => { 'label' => 'Birth Year', 'choices' => 'data/config/choices_birthyear.txt', 'type' => 'Pulldown Menu' },
'status' => { 'label' => 'Status', 'choices' => 'data/config/choices_status.txt', 'type' => 'Pulldown Menu' },
'gender' => { 'label' => 'Gender', 'choices' => 'data/config/choices_gender.txt', 'type' => 'Pulldown Menu' },
'occupation' => { 'label' => 'Occupation', 'size' => '20', 'type' => 'Text Field' },
'hobbies' => { 'label' => 'Hobbies', 'cols' => '40', 'rows' => '', 'type' => 'Text Area' },
'quote' => { 'label' => 'Favorite Quote', 'cols' => '40', 'rows' => '', 'type' => 'Text Area' },
'homepage' => { 'label' => 'Homepage URL', 'size' => '20', 'type' => 'Text Field' },
'news' => { 'label' => 'Latest News', 'cols' => '40', 'rows' => '4', 'type' => 'Text Area' },
'country' => { 'label' => 'Country', 'choices' => 'data/config/choices_country.txt', 'type' => 'Pulldown Menu' },
'mailing' => { 'label' => 'Receive Newsletters?', 'type' => 'Checkbox' },
</variable>

<variable name="base_image" type="hash" box="10-60">
</variable>

<variable name="multiselection" type="hash" box="10-60">
"sample"	=>	10,
</variable>

<variable name="auto_link" type="array" box="2-60">
'hobbies'
</variable>

<variable name="static_pages" type="string" box="yesno">
no
</variable>

<variable name="static_url" type="string" box="30">
http://localhost/pmpre/profiles/
</variable>

<variable name="static_dir" type="string" box="30">
profiles/
</variable>

<variable name="send_confirmation" type="string" box="yesno">
yes
</variable>

<variable name="unix" type="string" box="yesno">
yes
</variable>

<variable name="timezone" type="string" box="2">
0
</variable>

<variable name="mail_method" type="string" box="10">
sendmail
</variable>

<variable name="sendmail" type="string" box="40">
/usr/sbin/sendmail
</variable>

<variable name="smtp_server" type="string" box="40">
smtp.yourdomain.com
</variable>

<variable name="from" type="string" box="40">
</variable>

<variable name="confirm" type="free" box="20-60">
 sub confirm
 {
 #--------------------------------------------------
 # subject of the mail:
 #--------------------------------------------------
 $sub = "Registration to PM Profiles!";

 #--------------------------------------------------
 # body of the email:
 #--------------------------------------------------
 $letter = qq~

 You have succesfully registered to PM Profiles.
 Please, login to your acount using these login and password:

 Login: $input{'login'}
 Password: $input{'password'}

 Community Manager.

 ~;
 &sendemail($input{'email'}, $from, $sub, $letter);
 }
</variable>

<variable name="subject_lost_password" type="string" box="40">
Your account information!
</variable>

<variable name="imagesdir" type="string" box="40">
images/
</variable>

<variable name="imageswww" type="string" box="40">
/pmpre/images
</variable>

<variable name="any_extension" type="string" box="yesno">
no
</variable>

<variable name="ext" type="array" box="40">
'.png', '.gif', '.jpg'
</variable>

<variable name="max_upload" type="string" box="4">
100
</variable>

<variable name="default" type="hash" box="10-70">
'firstname'  => 'no name'
</variable>

<variable name="reserve_logins" type="array" box="2-60">
'webmaster', 'administrator', 'images', 'profiles', 'member-only', 'cgi'
</variable>

<variable name="content_pass_file" type="string" box="40">
content/.htpassword
</variable>

<variable name="content_htaccess_file" type="string" box="40">
content/.htaccess
</variable>

<variable name="content_pass_www" type="string" box="40">
www.interlogy.com/products/pmpre/pmpre12/content/
</variable>

<variable name="notify_emails" type="array" box="40">
</variable>

<variable name="use_header" type="string" box="yesno">
no
</variable>

<variable name="use_footer" type="string" box="yesno">
no
</variable>

<variable name="check_email" type="string" box="yesno">
yes
</variable>

<variable name="send_randompassword" type="string" box="yesno">
yes
</variable>

<variable name="use_quote" type="string" box="yesno">
yes
</variable>

<variable name="quote_field" type="string" box="10">
quote
</variable>

<variable name="todays_quote" type="string" box="yesno">
no
</variable>

<variable name="list_max_list" type="string" box="3">
10
</variable>

<variable name="list_next_link" type="string" box="20">
Next
</variable>

<variable name="list_prev_link" type="string" box="20">
Previous
</variable>

<variable name="list_between_next_prev" type="string" box="5">
 - 
</variable>

<variable name="list_alphabetic" type="string" box="yesno">
yes
</variable>

<variable name="database" type="string" box="40">
data/pm.dat
</variable>

<variable name="flocking" type="string" box="1">
1
</variable>

<variable name="save_stats" type="string" box="yesno">
yes
</variable>

<variable name="stat_file" type="string" box="40">
data/stat.dat
</variable>

<variable name="save_last_logged" type="string" box="yesno">
no
</variable>

<variable name="track_user" type="string" box="yesno">
no
</variable>

<variable name="track_file" type="string" box="40">
data/track.dat
</variable>

<variable name="save_history" type="string" box="yesno">
yes
</variable>

<variable name="h_delete" type="string" box="40">
data/pm_deleted.dat
</variable>

<variable name="h_modify" type="string" box="40">
data/pm_modified.dat
</variable>

<variable name="save_search_history" type="string" box="yesno">
yes
</variable>

<variable name="h_search" type="string" box="40">
data/search.dat
</variable>

<variable name="online_users" type="string" box="yesno">
yes
</variable>

<variable name="online_file" type="string" box="40">
data/online.dat
</variable>

<variable name="idle_minutes" type="string" box="2">
5
</variable>

<variable name="admin_pass_file" type="string" box="40">
data/admin.pass
</variable>

<variable name="backup_folder" type="string" box="40">
data/backup
</variable>

<variable name="approot" type="string" box="40">
data/app
</variable>

<variable name="count_db" type="string" box="40">
data/count.dat
</variable>

<variable name="tempz" type="hash" box="20-70">
#-- all-pages templates
'header'                =>      "templates/common/t_header.htm",
'header_clean'          =>      "templates/common/t_header_clean.htm",
'footer'                =>      "templates/common/t_footer.htm",
'footer_clean'          =>      "templates/common/t_footer_clean.htm",
'error'                 =>      "templates/common/t_error.htm",

#-- profile templates
'display'               =>      "templates/profile/t_display.htm",
'static_display'        =>      "templates/profile/t_static_display.htm",

#-- member templates
'panel'                 =>      "templates/member/t_panel.htm",
'login'                 =>      "templates/member/t_login.htm",
'logout'                =>      "templates/member/t_logout.htm",
'modify'                =>      "templates/member/t_modify.htm",
'delete'                =>      "templates/member/t_delete.htm",
'register_success'      =>      "templates/member/s_register.htm",
'modify_success'        =>      "templates/member/s_modified.htm",
'delete_success'        =>      "templates/member/s_delete.htm",
'change_password'       =>      "templates/member/t_change_password.htm",
'send_password'         =>      "templates/member/t_send_password.txt",
'lost_password_sent'    =>      "templates/member/s_lost_password_sent.htm",
'profile_email'         =>      "templates/addon/t_profile_email.htm",
'profile_email_sent'    =>      "templates/member/s_email_sent.htm",
'browse'                =>      "templates/member/t_browse.htm",
#-- search templates
'search'                =>      "templates/search/t_search.htm",
'search_form'           =>      "templates/search/t_search_form.htm",
'search_table'          =>      "templates/search/t_search_table.txt",
'search_table_next'     =>      "templates/search/t_search_table_next.txt",

#-- add-ons

#-- admin templates
'change_pass'           =>      "templates/admin/ta_change_pass.htm",
'admin_menu'            =>      "templates/admin/ta_admin.htm",
'users'                 =>      "templates/admin/ta_users.htm",
'message'               =>      "templates/admin/ta_message.htm",
'messanger'             =>      "templates/admin/tas_message.htm",
'message to box'        =>      "templates/admin/ta_message_box.txt",
'message to email'      =>      "templates/admin/ta_message_email.txt",
'backup'                =>      "templates/admin/ta_backup.htm",
'admin'                 =>      "templates/admin/ta_entry.htm",
'adminheader'           =>      "templates/admin/ta_header.htm",
'adminheader_users'     =>      "templates/admin/ta_header_users.htm",
'adminheader_temp'      =>      "templates/admin/ta_header_templates.htm",
'adminheader_db'        =>      "templates/admin/ta_header_database.htm",
'adminheader_pref'      =>      "templates/admin/ta_header_preferences.htm",
'adminheader_setup'     =>      "templates/admin/ta_header_setup.htm",
'adminheader_admin'     =>      "templates/admin/ta_header_admin.htm",
'adminheader_payment'   =>      "templates/admin/ta_header_payment.htm",
'adminheader_help'      =>      "templates/admin/ta_header_help.htm",
'adminfooter'           =>      "templates/admin/ta_footer.htm",
'admin_list_table'      =>      "templates/admin/ta_list_table.txt",
'admin_search'          =>      "templates/admin/ta_search.htm",
'admin_search_table'    =>      "templates/admin/ta_search_table.txt",
'approval'              =>      "templates/admin/ta_approval.htm",
'stats'                 =>      "templates/admin/ta_stats.htm",
'tracking'              =>      "templates/admin/ta_tracking.htm",
'mass_add'              =>      "templates/admin/ta_mass_add.htm",
'mass_added'            =>      "templates/admin/ta_mass_added.htm",
'support'               =>      "templates/admin/ta_support.htm",
'forum'                 =>      "templates/admin/ta_forum.htm",
'latest_versions'       =>      "templates/admin/ta_latest_versions.htm",
'documentation'     	=>  	"templates/admin/ta_documentation.htm",
'export'                =>      "templates/admin/ta_export.htm",
'exported'              =>      "templates/admin/ta_exported.htm",
'search_stats'          =>      "templates/admin/ta_search_stats.htm",
'env'                   =>      "templates/admin/ta_env.htm",
'tempedit'              =>      "templates/admin/ta_tempedit.htm",
'tempfind'              =>      "templates/admin/ta_tempfind.htm",
'tempfind_results'      =>      "templates/admin/ta_tempfind_results.htm",
'massedit'              =>      "templates/admin/ta_massedit.htm",
'massedited'            =>      "templates/admin/ta_massedited.htm",
'configure_phpbb'       =>      "templates/admin/ta_phpbb.htm",
'admin_logout'          =>      "templates/admin/ta_logout.htm",

</variable>

<variable name="init_errors" type="free" box="10-70">
sub init_errors{
%error_message = (
 'login already exists'         =>      "This login name already exists.",
 'no login'              =>      "You did not select any login name.",
 'missing'               =>      "Missing field: $missing",
 'login not found'       =>      "The login name does not exists.",
 'no permission'         =>      "Your login/password is incorrect or your account has expired.
				<a href=login.cgi>Please log on again!</a> ",
 'passwords not same'    =>      "The passwords are not the same.",
 'no password'           =>      "The password field was empty.",
 'user already exists'   =>      "You already have an account. Another account is not allowed!",
 'wrong email'           =>      "Please enter a correct email address!",
 'reserved login'        =>      "This login is not avaliable!",
 'wrong password'        =>      "Please enter a correct password",
 'fill form'             =>      "Please fill the form completely!",
 'recipient wrong'       =>      "Recipient does not exist: $input{'to'}",
 'alphanumeric login'    =>      "Only letters & numbers can be used in login",
 'not approved'          =>      "This feature is only accessible to approved members!",
 'no entries'           =>      "No entries.",
 'default'               =>      "Unkown error."
 );
}
</variable>

<variable name="show_tempz" type="array" box="3-60">
"profile_email", "list_state", "list_country", "display", 
"box_search", "box_search_keyword", "box_jump", "box_search_and"
</variable>

<variable name="member_tempz" type="array" box="3-60">
"change_password", "browse", "addressbook", "browse_location"
</variable>

<variable name="approved_tempz" type="array" box="3-60">
"approved_example"
</variable>

<variable name="monthz" type="array" box="3-60">
'January', 'February', 'March', 'April', 'May', 'June', 
'July', 'August', 'September', 'October', 'November', 'December'
</variable>

<variable name="date_format" type="string" box="30">
%month% %day%, %year%
</variable>

<variable name="basemessage" type="array" box="40">
'mailno', 'time', 'newflag', 'from', 'subject', 'body'
</variable>

<variable name="encrypt_addon" type="string" box="2">
pm
</variable>

<variable name="profile_email_subject" type="string" box="40">
I saw your profile!
</variable>

<variable name="profile_email_header" type="string" box="3-60">

</variable>

<variable name="profile_email_footer" type="string" box="3-60">

</variable>

<variable name="htaccess_use_id" type="string" box="yesno">
no
</variable>

<variable name="htaccess_autoapprove" type="string" box="yesno">
yes
</variable>

<variable name="can_unapproved_login" type="string" box="yesno">
yes
</variable>

<variable name="can_repeat_email" type="string" box="yesno">
yes
</variable>

<variable name="can_repeat_IP" type="string" box="yesno">
yes
</variable>

<variable name="max_htaccess_ips" type="string" box="4">
20
</variable>

<variable name="reserved_logins" type="string" box="40">
data/reserved_logins.txt
</variable>

<variable name="set_return_path" type="string" box="yesno">
no
</variable>

<variable name="static_extension" type="string" box="5">
html
</variable>

<variable name="use_static_directory" type="string" box="yesno">
yes
</variable>

<variable name="use_cookie" type="string" box="yesno">
yes
</variable>

<variable name="strip_html" type="string" box="yesno">
yes
</variable>

<variable name="admin" type="string" box="10">
admin
</variable>

<variable name="image_thumbs" type="string" box="yesno">
no
</variable>

<variable name="image_thumb_width" type="string" box="4">
200
</variable>

<variable name="image_scale" type="string" box="yesno">
no
</variable>

<variable name="image_max_width" type="string" box="4">
300
</variable>

<variable name="image_annotate" type="string" box="yesno">
no
</variable>

<variable name="image_annotate_text" type="string" box="60">
www.yourwebsite.com/profiles/%login%
</variable>

<variable name="image_composite" type="string" box="yesno">
no
</variable>

<variable name="image_composite_logo" type="string" box="20">
logo.gif
</variable>

<variable name="confirm_approval" type="free" box="20-60">
sub confirm_approval
{
 #--------------------------------------------------
 # subject of the mail:
 #--------------------------------------------------
 $asub = "You are approved!";

 #--------------------------------------------------
 # body of the email:
 #--------------------------------------------------
 $aletter = qq~

 You have succesfully approved to PM Profiles.
 Please, login to your acount using these login and password:

 Login: $values{'login'}
 Password: $values{'password'}

 Community Manager.

 ~;
 &sendemail($values{'email'}, $from, $asub, $aletter);
}
</variable>

<variable name="subscription_type" type="array" box="2-60">
</variable>

<variable name="payment_type" type="hash_hash" box="10-60">
</variable>

<variable name="subscription_dir" type="hash_hash" box="10-60">
</variable>

<variable name="plugin_phpbb" type="string" box="yesno">
no
</variable>

<variable name="plugin_phpbb_url" type="string" box="60">
http://www.yoursite.com/forum
</variable>

<variable name="plugin_phpbb_adminkey" type="string" box="20">
changethis
</variable>

<variable name="app" type="hash_hash" box="10-60">
</variable>

<variable name="app_base" type="hash_array" box="10-60">
</variable>

<variable name="app_base_descriptions" type="hash_hash" box="10-60">
</variable>

<variable name="app_max_list" type="string" box="3">
10
</variable>

<variable name="searchform" type="hash_hash" box="10-60">
</variable>

<variable name="searchform_questions" type="hash_hash" box="10-60">
</variable>

<variable name="searchform_listing" type="hash_hash" box="10-60">
</variable>

<variable name="assign_incremental_login" type="string" box="yesno">
no
</variable>

<variable name="category_url" type="string" box="30">
</variable>

<variable name="category_dir" type="string" box="30">
</variable>

<variable name="category_field" type="string" box="20">
</variable>
 
<variable name="category_suggest_field" type="string" box="20">
</variable>

<variable name="smilies" type="hash" box="10-60">
':)'    =>      'smile',
':('    =>      'sad',
</variable>

<variable name="ratingroot" type="string" box="40">
data/rating
</variable>

<variable name="review_per_page" type="string" box="3">
10
</variable>

<variable name="rating_email" type="string" box="yesno">
yes
</variable>

<variable name="rating_email_subject" type="string" box="40">
You have been rated!
</variable>

<variable name="review_email_subject" type="string" box="40">
You have a comment!
</variable>

Return current item: Article Manager