<?php if (MING != "merciless") require ('index.php'); else {
//You can ignore the previous line. It prevents people from looking at this file directly.

/**********************************************************************************

		This is the main configuration file.
		This file contains most of the settings you'll want to edit.

/**********************************************************************************/

////////////////////////////////
// This is whatever you call your website!
$main_site_title = 'My Website';
////////////////////////////////

////////////////////////////////
// Here, you can enter a slogan for your website.
// TIP: try entering <!--[[ random : main : misc/quotes.txt ]]-->,
// replacing 'misc/quotes.txt' with a path to your own file to cycle 
// through random quotes for your slogan. Or, use this format: 
// <!--[[ random : main : slogan || another slogan || yet another]]-->
$main_slogan = 'breaking the interweb since 2022';
////////////////////////////////

////////////////////////////////
// You can put your copyright in here. This will be, by default, 
// displayed at the bottom of your website.
$copyright_footer = '&copy; the owner of this website 2008';
////////////////////////////////

////////////////////////////////
// Now the $theme_link_box setting is quite important.
// If you set this property to <!--[[ content: link_box ]]-->, then 
// it will insert an automatically generated link list (a list of all of 
// the files in the content directory).
// If you don't like the way it's automatically generating links, 
// then you can just set this to whatever you want, and it will 
// insert it where the links are intended to go in the theme.
// Alternatively, you can just open up the theme file directly and 
// insert the links by hand.
$theme_link_box = ' <!--[[ content: link_box ]]--> ';
////////////////////////////////

////////////////////////////////
// Set $theme to the filename of the file that you wish to edit.
// The path starts in the 'theme' directory.
// If it can't find the theme specified, it will display a nasty looking 
// default theme, along with an error message.
$theme = 'simplex';
////////////////////////////////

////////////////////////////////
// This email is only displayed in select error messages.
$main_admin_email = 'my@email.address';
////////////////////////////////

////////////////////////////////
// Should folding be enabled?
// If so, how many per page?
// And how should the "next" link look?
// Also, how should the "displaying x articles of x" look?
// (news folding is where the older articles aren't displayed on the main page, 
// and are only accessable via a link)
// %previous_url% => url to get previous news fold
// %next_url% => url to get previous news fold
// %articles_per_fold => number of news articles per page (same as $news_articles_per_page)
// (%previous% and %next% should be put anywhere within the "a" tag of the respective links. These are important.)
$news_folding = TRUE;
$news_articles_per_page = 10;
$news_theme_folding_link = '<p align="center"><a href="%previous_url%" %previous% >Previous %articles_per_fold% news articles</a> &nbsp; . . . &nbsp; <a href="%next_url%" %next% >Next %articles_per_fold% news articles</a></p>';
////////////////////////////////


////////////////////////////////
// This will permit you to choose what theme users wish to view the 
// page in by using the GET variable 'theme'. For example, to view the 
// news page in the 'gotnews' theme, one could use the following URL:
// index.php?rqst=news&theme=gotnews
// If the theme specified in the theme GET variable is invalid, the theme 
// specified by the $theme option variable (found above) will be used.
// Set this property to FALSE to disable, TRUE to enable the multiple 
// theme feature.
// If you do not intend to use this feature, it is most secure to keep it 
// disabled, as users can specify different themes also.
//
// The name of the GET variable is also alterable below.
$theme_allow_multiple_themes = FALSE;
////////////////////////////////

////////////////////////////////
// Here is the content template. Every page will use this template.
// The following variables are available to you:
// %title%					=> the prepared title of the page. Example: 'This Site of Mine'
// %file_name%		=> the unprepared file name of the content page. Example: 'this_site_of_mine.1166641819.html'
// %date%				=> the raw unix date of the content page. Example: '1166641819'
// %file_name_url%	=> an url friendly file name (possibly troublesome characters encoded)
// %raw_title%			=> the unprepared title. Example: 'this_site_of_mine'
// %directory%			=> the directory that this content file was contained in
// %url_prepared%	=> an URL to this file. Example: 'index.php?rqst=this_site_of_mine.1166641819.html'
//
// The default option (including a the link <a href="%url_prepared%pf=y">)
// displays a 'Printer Friendly Version' link.
$content_template = '
<a style="float: right; font-size: 0.8em;" href="%url_prepared%pf=y">Printer Friendly Version</a>
%content%
';
////////////////////////////////

////////////////////////////////
// Every news page will use this template. Note the use of the comment module to make 
// comments for every news page. If you want to disable comments, one way to do that 
// is to remove the <!--[[ comment : main : %file_name% ]]--> line from this variable.
$news_theme_full_template = '
<h2>%title%</h2>
%content%
<hr />
<div style="margin:0px 10px;padding:5px;background-color:#F7F7F7;border:3px solid #CCCCCC;width:90%; ">
<h3>Comments</h3>
<!--[[ comment : main : %file_name% ]]-->
</div>
';
////////////////////////////////

////////////////////////////////
// Here, you can disable the print friendly version.
// If you turn off allow printer friendly version, you should remove the link 
// found in the $content_template. Otherwise, it will just be a useless link 
// (the page it serves the user to will be no different from the page [s]he just 
// left).
//
// The second option allows you to not use Javascript for the 'back' link 
// in the printer friendly version. The Javascript back is most reliable, as 
// the non-Javascript version might mess up as Planet Mongo is customized.
$theme_allow_printer_friendly_version = TRUE;
$theme_use_javascript_for_back = TRUE;
////////////////////////////////

////////////////////////////////
// Turn this on to enable a magic file (a file superimposed on the file system)
// that displays the site news.
$news_enable_magic_file_for_news = FALSE;
////////////////////////////////

////////////////////////////////
// The layout for the footer to every page.
$theme_footer_layout = '%credits% <br />
 %copyright% <br />
 %benchmark%';
////////////////////////////////

////////////////////////////////
// If this option is set to TRUE, Planet Mongo will automatically include all of 
// the files it finds in the modules directory. Setting it to FALSE may (very slightly)
// improve performance, and possibly improve stability and security. However, it 
// wont include any custom modules, unless you add them to the list found in header.php.
$main_autodetect_modules = TRUE;
////////////////////////////////

////////////////////////////////
// Turn on or off the credits link found at the bottom of the page.
$theme_display_credits_link = TRUE;
////////////////////////////////

////////////////////////////////
// Customize the benchmark text. <!-[[ main : twain ]]--> ends the benchmark (<!--[[ main : mark ]]--> begins it)
$theme_benchmark_text = 'rendered in about <!--[[ main : twain ]]--> seconds';
////////////////////////////////

////////////////////////////////
// Set this to TRUE to turn on the experimental web-based content editor.
// Before you enable the editor, be sure to change the admin's password in 
// the users.php file.
$editor_enabled = FALSE;
////////////////////////////////

////////////////////////////////
// This is only used by the experimental web-based content editor.
// This sets which types can be allowed to be changed online. Naturally, 
// allowing PHP files to be edited might be a security risk.
$editor_allowed_filetypes = Array('html', 'bb', 'txt');
////////////////////////////////

////////////////////////////////
// This is the salt. A salt is a random series of characters used 
// for security purposes. This value should be changed immediately
// to something else.
// If you use the user-login features for web-based administration,
// it greatly increases security to change this. Change it to any 
// random string of letters, numbers and symbols. Mashing letters
// on a keyboard is one way (avoid home-position letters), or 
// using an online password generator would be another.
// Avoid easy-to-guess salts. Unlike a password, a salt is only 
// used internally and you will never be asked to remember it.
// This means you can change it to something very difficult without 
// fear of forgetting it, or harming anything.
$main_salt = 'brluvi#Ph7es&le6';
////////////////////////////////



/**********************************************************************************/
/*
		The SELDOM USED configuration options,
		You probably wont have any need to change these.
		
		Be slightly more careful when changing these, as a few can screw things up.
*/
/**********************************************************************************/



////////////////////////////////
// A list of the directories that are 
// capable by default.
$main_capable_directories = Array (
	'content'
	);
////////////////////////////////

////////////////////////////////
$content_file_dont_list = 'nolist';
////////////////////////////////

////////////////////////////////
// Simple date format, used in a few things
// NOTE: To change the more often used date format, edit the theme.
$main_date_format = 'g:i, Y-m-d';
////////////////////////////////

////////////////////////////////
// This sets what the credits link will look like. If you don't want to display a credits link, remove 
// it using the $theme_display_credits_link option.
$theme_credits_link = '<a href="index.php?rqst=__site_credits">powered by planet mongo</a>';
////////////////////////////////

////////////////////////////////
$theme_benchmark_text = 'rendered in about <!--[[ main : twain ]]--> seconds';
////////////////////////////////

////////////////////////////////
$theme_readmore_link_template = '<a href="%url%">Comments?</a>';
////////////////////////////////


////////////////////////////////
$news_should_reverse_list =  TRUE;
////////////////////////////////

////////////////////////////////
//  Here you may specify the themes directory
$theme_directory = "themes";
////////////////////////////////

////////////////////////////////
// Here you may specify the content directory
$content_directory = "content";

////////////////////////////////
// Enable/disable the benchmark from here
$main_enable_benchmark = TRUE;
////////////////////////////////

////////////////////////////////
// Change the modules and configuration directories. WARNING: Edit with extreme care!
// NOTE: the order is important. "config" type directories should be listed first 
// as modules may reference configurations found in config.
$main_include_directories = Array ( "config", "modules",  );
////////////////////////////////

////////////////////////////////
// Change the default news directory.
$news_directory = 'news';
////////////////////////////////

////////////////////////////////
// This specifies what text the filename of the default content page should contain to be served first
$content_index_filename = "index";
////////////////////////////////

////////////////////////////////
// HTML tag to not display element
$theme_undisplay_element = 'style="display: none"';
////////////////////////////////

////////////////////////////////
// Which theme do you want to use as the 
// printer friendly theme? The default one 
// is __printer_friendly_theme, but you 
// might want to use a custome one...
$theme_printer_friendly_theme = '__printer_friendly_theme';
////////////////////////////////

////////////////////////////////
// The get variable for the printer 
// friendly theme.
$theme_printer_friendly_get_var = 'pf';
////////////////////////////////

////////////////////////////////
// This isn't used consistently enough to be worth 
// changing. Renaming index.php will still probably 
// screw you up even if you change this variable
// to reflect it...
$main_name_of_main_file = "index.php";
////////////////////////////////

$theme_file_name = 'theme.php';
$content_file_type_php = "php";
$content_file_type_html = "html";
$content_file_capable = "capable";
$content_file_uncapable = "uncapable";
$content_file_locked = "locked";
$content_file_type_txt = "txt";
$content_file_type_bb = 'bb';
$content_404error_filename = 'error404';
$content_request_get_variable = "rqst";
$theme_request_get_variable = 'theme';
$news_fold_get_variable = 'article';



/**************/


/*
Default values
These are defaults for various values that only persist if a theme programmer or mod programmer does not bother 
including definitions. In other words, changing things here will only do something if these settings aren't set in 
the theme file or by a mod (as of v0.04a, there are no mods that will override these defaults).

If you want to override the theme or mod, you'll have to go to the php file directly that contains that 
theme or mod.
*/

$theme_date_format = 'Posted at  %hours%:%minutes%, on %weekday%, %month% %mday%, %year%';
$news_date_format = 'Posted at  %hours%:%minutes%, on %weekday%, %month% %mday%, %year%';
$news_theme_format = '
<strong>%title%</strong>
<p>%contents%</p>
<i><small>%posted_on%</small></i>
<hr />
';

$theme_link_basic = '<a href="%url%">%title%</a>';
$theme_link_navigation = '<a href="%url%">%title%</a><br />';


$theme_default_theme = '__default_theme';



} // this closing brace is from the else clause in the bad request checker above

?>
