#!/usr/bin/perl -w
##############################################################################
#                                                                            #
#                          Dynamo Configuration File                         #
#                                                                            #
##############################################################################


##############################################################################
# mandatory configuration values (please adjust them accordingly)      		 #
##############################################################################


									# system language (choose from en, de)
$language = "en";
									# the name of your system
$sysname  = "name of my website";

									# the base directory on your server
									# where your html-files live (on the server disk, may be relative if you want)
$basedir  = "..";
									# where your data-files live (on the server disk)
$datadir  = "$basedir/data";
									# where your html-files live (on the web)
$baseurl  = "http://www.my-url.com";
									# where your data-files live (on the web)
$dataurl  = "$baseurl/data";

									# url to this script
$script   = "$baseurl/cgi-bin/dynamo.pl";
									# url to the buttons
$buttons  = "$baseurl/img/buttons";


##############################################################################
# voluntary configuration values (you can keep this values)                  #
##############################################################################

									# allowed file extensions for upload
@extensions = qw(txt html htm pdf ps gif jpg jpeg png psd mp3 mpg mov avi doc xls ppt zip);

									# date display format
$dateformat =		"%02d.%2d.%4d  %02d:%02dh";
$shortdateformat =	"%02d.%2d.%4d";
$rsstimezone =		"CET";
									# mail command
$mailprog =			"/usr/sbin/sendmail";

									# adding of http-links only allowed when in admin mode
$filterspam =		"yes";

									# automatic backup of the entire data-files of your site.
									# an appropriate zip file in datadir/backups will automatically
									# be created daily or weekly.
$do_backup =		"weekly";
									# that many old backups will be kept
$number_of_backups_to_keep = 3;
									# set this to true if you only want backups of the text files (lists)
$backup_text_only = "true";

									# wysiwyg editor configuration
									# you can keep this as it is, or remove/add buttons of your choice
$wysiwyg_code = qq^
<!-- tinyMCE -->
<script language="javascript" type="text/javascript" src="$baseurl/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
	tinyMCE.init({
			// General options
		mode : "exact",
		elements : "#wysiwyg_fields#",
		theme : "advanced",
		language : "$language",
		plugins : "safari,layer,table,advimage,advlink,searchreplace,print,contextmenu,fullscreen,paste,visualchars,xhtmlxtras",
			// Theme options
		theme_advanced_buttons1 : "bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect,forecolor",
		theme_advanced_buttons2 : "search,undo,redo,|,bullist,numlist,|,outdent,indent,blockquote,|,link,unlink,anchor,image,|,fullscreen,code",
		theme_advanced_buttons3 : "tablecontrols,|,removeformat,visualaid,|,sub,sup,|,charmap",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true,
			// Content CSS (should be your site CSS)
		content_css : "$baseurl/style.css",
			// Drop lists for link/image/media/template dialogs
		external_link_list_url : "dynamo.pl?template=tinymce/dynamolinklist.js",
		external_image_list_url : "dynamo.pl?template=tinymce/dynamoimagelist.js",
			// Encoding (use this if you need valid XML output for example in an RSS feed)
		entity_encoding : "numeric"
	});
</script>
<!-- /tinyMCE -->
			   	  ^;
