<?
	#---------------------------------------------------------------------#
	# This source code is (c)1998 Dave Belfer-Shevett - shevett@pobox.com #
	# see http://www.stonekeep.com/license.html for licensing information #
	#---------------------------------------------------------------------#

	#----------------------------------------------------------------------
	# keystone.conf.default
	# $Id: keystone.conf.default,v 1.94 2000/12/27 21:56:25 shevett Exp $
	#----------------------------------------------------------------------

#----------------------------------------------------------------
#
# This file contains all the configuration defaults for KEYSTONE.
# To make configuration changes, do NOT edit this file, since it 
# may be overwritten when doing upgrades.  Instead, make a -copy-
#	of this file as 'keystone.conf', and make changes to that 
#	file.
#
# Keystone will read the default file first, then parse the local
# .conf file.  Entries in the keystone.conf file will override
# entries in keystone.conf.default.
#
# Variables from the config files are always prefaced with 'sys_'
# to avoid conflicts with local vars.
#
# Be careful editing this file, as it is parsed just like any other
# PHP script.
#----------------------------------------------------------------

#----------------------------------------------------------------------
# CONFIGURATION VARIABLES
#
# The current version number - this should never be overridden.

$sys_version		= "0.74.00";

# Where are all the graphics images? (relative to where keystone is)

$sys_graphics		= "./graphics";

# Be chatty about error messages?  (may give more information than
# the admin wants, such as reporting why a security issue failed)
# 1=verbose, 0=quiet.

$sys_verbose		= 1;

# What is the base for the Keystone install, URL-wise?  This is used
# when generating email.  Remember, -real- URL's are terminated with
# a '/'.

$sys_url		= "http://www.stonekeep.com/ksonline/";

# Allow users to send to a generic email address when posting followups
# via the visitor screen? (1=yes, 0=no)

$sys_v_emailanyone	= 0;

# use <pre> tags around followup text in the visitor pages?  (force
# preserving format) (1=yes, 0=no)

$sys_v_preftext		= 0;

#
# Should Child statistics be shown in the toolbar when zooming in
# on a slip?
#

$sys_showstats		= 1;

#
# Should the default SLIPS display behaviour be to show only slips
# that have no parents?  (old behaviour)  NOTE!  This may cause odd
# behaviour with selection criteria in the preferences screen.  Its
# provided here for backwards compatability with versions < 0.30.00
# Highly recommended that this just be set to '0'.
#

$sys_justparents	= 0;

#
# When editing or adding slips, should we show -all- the slips as
# potential parents / dependents, or just those that are not children
# themselves?  (aka categories) (recommended '0' for just show categories)
#

$sys_selall = "0";

#
# What format should we use for dates?  See the PHP web page for 
# the format of this string:
#    http://www.php.net/manual/function.date.php3
#
# Note that while the keycli program will attempt to use this to
# create a date formatting string, not all of the PHP3 date function's
# options translate easily.  I could spend *way* *too* *long* trying
# to force everything to translate, but I don't see that that is
# warranted.  The `U' and `S' formats are not supported.  The `j'
# format will be treated the same as the `d' format.  The `A' and `a'
# formats will be treated alike.                                  -- DHS
#
# If you prefer the standard ISO 8601 format, it is:
#    $sys_datefmt            = "Y-m-d H:i"
#

$sys_datefmt		= "m/d/Y H:i";
$sys_shortdatefmt	=	"d-m-y";
$sys_timefmt		=	"H:i";

#
# Should scheduling functions be enabled?
#

$sys_schedule		= 0;

#
# Enable policies on slips?
#

$sys_enableacl		= 0;

#
# External link configuration
# Use this function to place a 'Link' on a slip when you are zoomed
# to it.  The %s will be substituted with the current Slip ID.

# $sys_link		= "foo.bar.com?slip=%s";
# $sys_linktext		= "Click here to show external data: ";

#
# When closing a slip, what should the priority be changed to?
# Leave this '0' to not change the priority at all.
#

$sys_closepriority	= 0;

#
# Variable amount of priorities.
#

# the high, default, and low priority
$sys_highprio			  = 1;
$sys_defprio				= 5;
$sys_lowprio				= 9;

# priority labels
$sys_prio_name[$sys_highprio]	= "Highest";
$sys_prio_name[$sys_defprio]	= "(Default)";
$sys_prio_name[$sys_lowprio]	= "Lowest";


# What flag should be used to denote a closed slip?  Note that
# this needs to match what's in the status table.

$sys_closedflag = 'C';


#
# When generating email, should the followups go in 'reverse' 
# order?  (same as when viewing slips onscreen).  If so, then
# put the word 'desc' here.
#

$sys_mailfollorder	= "desc";

#
# Logging operations
#

# Where should the logfile be?
$sys_logfile	 	= "/tmp/keystone.log";
$sys_loginfo 		= 0;
$sys_logerr 		= 0;
$sys_logdebug		= 0;

# Database defaults

# Options: mysql(default), postgresql, msql, or sybase
$sys_server	 	= "mysql";	/* database server type */

$sys_dbhost	 	= "localhost";	/* database server host */
$sys_dbname 		= "keystone";	/* PTS database name */
$sys_dbuser		= "";		/* database username */
$sys_dbpasswd		= "";		/* database password */

$sys_oracle_home	= "/opt/oracle/product/8.0.5";	/* Needed for Oracle to find tsnames.ora */

$sys_pg_port    	= "5432";	/* PostgreSQL port number */
$sys_pg_options 	= "";		/* PostgreSQL options */
$sys_pg_tty     	= "";		/* PostgreSQL tty for debugging output */
$sys_pg_conn    	= "";		/* PostgreSQL connection ID */
$sys_pg_rowid   	= "_rowid";	/* db_ primary key name abstraction */
$sys_pg_last_table	= "";		/* Pg Work around for passing $tname from db_listfields */

# Addresses - website and email.

$sys_company		= "Your Company Name, Inc.";
# Primary Keystone email address.
$sys_m_from		= "keystone@yoursitename.com";
# Followup Keystone email address.
$sys_f_from		= "keystone-followup@yoursitename.com";
$sys_website		= "http://www.yoursitename.com";
$sys_sendmail		= "/usr/sbin/sendmail";
$sys_ccmail		= "";		/* who to notify when someone opens a slip via email */
$sys_notify		= "";		/* who to notify when a slip is followed up */
$sys_smtpserver		= "localhost";	/* hostname of an SMTP server to send mail through */
$sys_m_removeheader	= 0; 		/* If you want to remove the RFC822 headers, set to 1 */
#					/* To leave the From: line alone, set to 2. */
$sys_m_removesignature	= 1;		/* If you want to remove the signatures, set to 1 */

#----------------------------------------------------------------------
# Defaults used for the 'long add' form.  Default status, parent, and
# tech.

$sys_lstatus		= "O";
$sys_lparent		= 1000;
$sys_ltech		= "";
$sys_lpri		= $sys_defprio;
$sys_lusecurr		= "1";

#----------------------------------------------------------------------
# When specifying a parent, should we use slips that have a parent id
# of '0' (the normal behaviour), or use the Quickslips group?

$sys_usequickslips	= 1;

#----------------------------------------------------------------------
# Enable the 'state reset' button?

$sys_reset		= 1;

#----------------------------------------------------------------------
# Refresh the main browser after how many seconds?  '0' means never.

$sys_refresh	=	0;

#----------------------------------------------------------------------
# Server key

$sys_serverkey="blinker and kachoo";

#----------------------------------------------------------------------
# Stuff regarding how attachments are uploaded

$sys_attachdir	=	"/apache/htdocs/keystone/attachments";
$sys_attachsiz	=	100000;

#----------------------------------------------------------------------
# how many slips should be displayed before prompting with a <next page>
# link?

$sys_numshownslips	=	100;
$sys_numshownconts	=	100;
$sys_numshownress		=	100;

#----------------------------------------------------------------------
# Consider a match between a user's login ID and a Keystone user ID to
# indicate that both refer to the same individual.  This is used by
# programs, such as 'keycli', which are not part of the web-based
# interface to determine what a user's permissions are.  To turn this
# off, set $sys_usermatch to '0'.

$sys_usermatch		= 1;

#----------------------------------------------------------------------
# Should newly added slips default to 'public'?

$sys_defpublic	=	"1";

#----------------------------------------------------------------------
# should the status entry in the slip view show how old a slip is, and
# if so, should it be bolded if older than nnn seconds?

$sys_showage = "0";
$sys_boldold = "604800";   # 1 week

#----------------------------------------------------------------------
# should the status entry in the slip view show how long ago a slip was
# last modified, and if so, should it be bolded if not modified for nnn
# seconds?

$sys_showmod = "0";
$sys_boldmod = "86400";   # 1 day

#----------------------------------------------------------------------
# when modifying a slip, ask the user for a comment on what the change
# was for?
$sys_promptmod = "1";

#----------------------------------------------------------------------
# When generating email, should the 'for more information' email sent
# out use the internal Keystone URL (so they go right back to the slip
# in Keystone), or not?  If not, then use the 'visitor' page.
$sys_internalmail	=	"0";

#----------------------------------------------------------------------
# What text should be in the Subject line when generating mail?
$sys_email_cookie = "Keystone Slip #";

#----------------------------------------------------------------------
# Resource configuration section
# What are the labels for the user definable columns?  Blank means
# they won't be shown at all.
$sys_res_user1 = "Comment";
$sys_res_user2 = "";
$sys_res_user3 = "";
$sys_res_user4 = "";
$sys_res_user5 = "";

#----------------------------------------------------------------------
# When modifying a slip, what should the followup's "public" flag be
# set to?
# 0 = False
# 1 = True
# 2 = Whatever the slip's value is
$sys_switch_followpub	=	2;

#----------------------------------------------------------------------
# Look mom!  Configurable fonts (size of the font in the pulldown menus)

$sys_selfont		=	2;

#----------------------------------------------------------------------
# Some systems have dynamically loaded sql support for php.  If this is the
# case on your system, you'll need to uncomment/modify the following line.
# (submitted by bcwhite@precidia.com)
#
#dl("mysql.so");

#----------------------------------------------------------------------
# turn the currtech field 'bold' if the slip is assigned to the person 
# logged in. off by default, set to '1' to turn it on.

$sys_boldcurrtech	= 0;

#----------------------------------------------------------------------
# Big one here.  Enable versioning system?  This'll add new menu 
# items and new functionality.  This should only come in if you're
# using Keystone for bugtracking.

$sys_bugtrack	=	1;

#----------------------------------------------------------------------
# This is a very custom part of keystone. You will change the way a lot
# of things act if you enable this. $sys_groupstatus will allow you to
# define slips of a certain type that will only ever be categories. It
# force certain lists to only allow slips of this status.
#
# You need to have this status defined in the status table.

#$sys_groupstatus =	"G";

#----------------------------------------------------------------------
# Allow users to pick public/private status on the slip. (enabled)

$sys_choosepublic =	1;

#----------------------------------------------------------------------
# Allow users to set the mailing options for slips (enabled)

$sys_mailopts	=	1;

#----------------------------------------------------------------------
# Should 'email only recent followup' be set to Yes by default? (enabled)

$sys_justrecent = 1;

#----------------------------------------------------------------------
# Is there an e-mail address you want mail to always go to?

#$sys_always_mail =	"";

?>
