- some beatifying (no code change)

This commit is contained in:
steinm 2011-02-03 15:12:06 +00:00
parent 1fe1a04a19
commit 6ae534b931

View File

@ -26,7 +26,8 @@ class Settings
// Message to display at the bottom of every page. // Message to display at the bottom of every page.
var $_footNote = "letoDMS free document management system - www.letodms.com"; var $_footNote = "letoDMS free document management system - www.letodms.com";
// if true the disclaimer message the lang.inc files will be print on the bottom of the page // if true the disclaimer message the lang.inc files will be print
// on the bottom of the page
var $_printDisclaimer = true; var $_printDisclaimer = true;
// Default page on login. Defaults to out/out.ViewFolder.php // Default page on login. Defaults to out/out.ViewFolder.php
@ -56,6 +57,7 @@ class Settings
var $_rootDir = "/var/www/letoDMS-3.0.0/"; var $_rootDir = "/var/www/letoDMS-3.0.0/";
// Path to LetoDMS_Core // Path to LetoDMS_Core
// If left empty LetoDMS_Core will used from the standard include path
var $_coreDir = "/var/www/LetoDMS_Core-3.0.0/"; var $_coreDir = "/var/www/LetoDMS_Core-3.0.0/";
// The relative path in the URL, after the domain part. Do not include the // The relative path in the URL, after the domain part. Do not include the
@ -81,10 +83,12 @@ class Settings
// default language (name of a subfolder in folder "languages") // default language (name of a subfolder in folder "languages")
var $_language = "English"; var $_language = "English";
// users are notified about document-changes that took place within the last $_updateNotifyTime seconds // users are notified about document-changes that took place within the
// last $_updateNotifyTime seconds
var $_updateNotifyTime = 86400; // means 24 hours var $_updateNotifyTime = 86400; // means 24 hours
// files with one of the following endings can be viewed online (USE ONLY LOWER CASE CHARACTERS) // files with one of the following endings can be viewed online
// (USE ONLY LOWER CASE CHARACTERS)
// to disable: var $_viewOnlineFileTypes = array(); // to disable: var $_viewOnlineFileTypes = array();
var $_viewOnlineFileTypes = array(".txt", ".text", ".html", ".htm", ".pdf", ".gif", ".png", ".jpg", ".jpeg"); var $_viewOnlineFileTypes = array(".txt", ".text", ".html", ".htm", ".pdf", ".gif", ".png", ".jpg", ".jpeg");
@ -102,31 +106,32 @@ class Settings
// enable/disable group and user view for all users // enable/disable group and user view for all users
var $_enableUsersView = true; var $_enableUsersView = true;
// false to don't list administrator as reviewer/approver
// enable/disable listing administrator as reviewer/approver
var $_enableAdminRevApp = false; var $_enableAdminRevApp = false;
// the name of the versioning info file created by the backup tool // the name of the versioning info file created by the backup tool
var $_versioningFileName = "versioning_info.txt"; var $_versioningFileName = "versioning_info.txt";
// set false to disable log system // enable/disable log system
var $_logFileEnable = true; var $_logFileEnable = true;
// the log file rotation (h=hourly, d=daily, m=monthly) // the log file rotation (h=hourly, d=daily, m=monthly)
var $_logFileRotation = "d"; var $_logFileRotation = "d";
// enable users images // enable/disable users images
var $_enableUserImage = false; var $_enableUserImage = false;
// enable calendar // enable/disable calendar
var $_enableCalendar = true; var $_enableCalendar = true;
// calendar default view ("w" for week,"m" for month,"y" for year) // calendar default view ("w" for week,"m" for month,"y" for year)
var $_calendarDefaultView = "y"; var $_calendarDefaultView = "y";
// first day of the week (0=sunday, 6=saturday) // first day of the week (0=sunday, 1=monday, 6=saturday)
var $_firstDayOfWeek = 0; var $_firstDayOfWeek = 0;
// false to don't show the folder tree // enable/disable display of the folder tree
var $_enableFolderTree = true; var $_enableFolderTree = true;
// 0 to start with tree hidden // 0 to start with tree hidden
@ -134,17 +139,18 @@ class Settings
// 2 to start with tree shown fully expanded // 2 to start with tree shown fully expanded
var $_expandFolderTree = 1; var $_expandFolderTree = 1;
// if true user cannot edit his own profile // enable/disable editing of users own profile
var $_disableSelfEdit = false; var $_disableSelfEdit = false;
// if enabled admin can login only by specified IP addres // if enabled admin can login only by specified IP addres
// leave ampty to avoid the control // leave ampty to turn off access control
// NOTE: works only with local autentication (no LDAP) // NOTE: works only with local autentication (no LDAP)
var $_adminIP = ""; var $_adminIP = "";
// -------------------------------- Database-Setup -------------------------------------------- // ----------- Database-Setup --------------------------------------------
// Path to adodb. This is the directory containing the adodb directory // Path to adodb. This is the directory containing the adodb directory
// If left empty adodb will be used from the standard include path
var $_ADOdbPath = "/var/www/letoDMS-1.10/"; var $_ADOdbPath = "/var/www/letoDMS-1.10/";
// DB-Driver used by adodb (see adodb-readme) // DB-Driver used by adodb (see adodb-readme)
@ -162,7 +168,7 @@ class Settings
// password for database-access // password for database-access
var $_dbPass = "letodms"; var $_dbPass = "letodms";
// -------------------------------- LDAP Authentication Setup -------------------------------------------- // --- LDAP Authentication Setup -----------------------------------------
// var $_ldapHost = ""; // URIs are supported, e.g.: ldaps://ldap.host.com // var $_ldapHost = ""; // URIs are supported, e.g.: ldaps://ldap.host.com
// var $_ldapPort = 389; // Optional. // var $_ldapPort = 389; // Optional.
@ -170,12 +176,12 @@ class Settings
function Settings() function Settings()
{ {
//files with one of the following endings will be converted with the given commands // files with one of the following endings will be converted with the
//for windows users // given commands for windows users
$this->_convertFileTypes = array(".doc" => "cscript \"" . $this->_rootDir."op/convert_word.js\" {SOURCE} {TARGET}", $this->_convertFileTypes = array(".doc" => "cscript \"" . $this->_rootDir."op/convert_word.js\" {SOURCE} {TARGET}",
".xls" => "cscript \"".$this->_rootDir."op/convert_excel.js\" {SOURCE} {TARGET}", ".xls" => "cscript \"".$this->_rootDir."op/convert_excel.js\" {SOURCE} {TARGET}",
".ppt" => "cscript \"".$this->_rootDir."op/convert_pp.js\" {SOURCE} {TARGET}"); ".ppt" => "cscript \"".$this->_rootDir."op/convert_pp.js\" {SOURCE} {TARGET}");
// For linux users // uncomment the next line for linux users
// $this->_convertFileTypes = array(".doc" => "mswordview -o {TARGET} {SOURCE}"); // $this->_convertFileTypes = array(".doc" => "mswordview -o {TARGET} {SOURCE}");
} }
} }