Source for file client.conf.phpinc
Documentation is available at client.conf.phpinc
* @project Open CSP-Management
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
# is compared with source version
# the db structure is updated if needed
$OCSP_CONF['CLI']['VERSION']=
10;
# path to CLIENT include files do not change
# because version does not support it proper
//$OCSP_CONF['CLI']['SYSTEMURL']=$GLOBALS['PROJECT']['SYSTEMURL']."client/";
//$OCSP_CONF['CLI']['ADMINURL'] =$GLOBALS['PROJECT']['ADMINURL']."client/";
$OCSP_CONF['CLI']['USE_CLITYPES']=
FALSE;
$OCSP_CONF['CLI']['USE_STAFF']=
FALSE;
$OCSP_CONF['CLI']['STAFF_ISSELFADMIN']=
TRUE;
$OCSP_CONF['CLI']['USE_COSTCENTER']=
FALSE;
# staff requires a costcenter
$OCSP_CONF['CLI']['STAFFREQCOSTCENTER']=
FALSE;
require_once dirname(__FILE__
).
"/groups.conf.phpinc";
$OCSP_CONF['CLI']['SELFADMIN']=
TRUE;
$OCSP_CONF['CLI']['PROFILES']['TOINSTALL']=
FALSE;
$OCSP_CONF['CLI']['PROFILES']['SETUPCHECK']=
TRUE;
$OCSP_CONF['CLI']['PROFILESTATE'][0]=
array(
'ICON'=>
'<img src="'.
$OCSP_CONF['SYSIMGURL'].
'icons-22x22/state_red.gif">',
'GROUP'=>
$GLOBALS['GROUPS']['LOGGEDIN']
$OCSP_CONF['CLI']['PROFILESTATE'][1]=
array(
'NAME'=>
'in Bearbeitung',
'ICON'=>
'<img src="'.
$OCSP_CONF['SYSIMGURL'].
'icons-22x22/state_red.gif">',
$OCSP_CONF['CLI']['PROFILESTATE'][2]=
array(
'ICON'=>
'<img src="'.
$OCSP_CONF['SYSIMGURL'].
'icons-22x22/state_red.gif">',
$OCSP_CONF['CLI']['PROFILESTATE'][3]=
array(
'NAME'=>
'freigeschalten',
'ICON'=>
'<img src="'.
$OCSP_CONF['SYSIMGURL'].
'icons-22x22/state_green.gif">',
$OCSP_CONF['CLI']['PROFILESTATE'][4]=
array(
'ICON'=>
'<img src="'.
$OCSP_CONF['SYSIMGURL'].
'icons-22x22/state_yellow.gif">',
$OCSP_CONF['CLI']['PROFILESTATE'][5]=
array(
'ICON'=>
'<img src="'.
$OCSP_CONF['SYSIMGURL'].
'icons-22x22/state_yellow.gif">',
$OCSP_CONF['CLI']['PROFILETABLE']['T_CLI_CLIENT'] =
array(
$OCSP_CONF['CLI']['PROFILETABLE']['T_SYS_USER'] =
array(
$OCSP_CONF['CLI']['PROFILETABLE']['T_CLI_STAFF'] =
array(
'NAME' =>
'Kunden Mitarbeiter',
'SHOWFLD' =>
'CST_LASTNAME'
$OCSP_CONF['CLI']['PROFILETABLE']['T_CLI_DEPARTMENT'] =
array(
'NAME' =>
'Kunden Bereiche',
$OCSP_CONF['CLI']['CLI_CLASS']['CLI_CLIENT']=
array(
'NAME' =>
'Default Kunde',
$OCSP_CONF['CLI']['CST_CLASS']['CLI_STAFF']=
array(
'NAME' =>
'Default Kunde',
$OCSP_CONF['CLI']['STATE'][0]=
"Neu";
$OCSP_CONF['CLI']['STATE'][1]=
"Aktiv";
$OCSP_CONF['CLI']['STATE'][2]=
"Versteckt";
$OCSP_CONF['CLI']['STATE'][-
1]=
"Gelöscht";
$OCSP_CONF['CLI']['SHOWSTATE']=
array(
'ICON' =>
$OCSP_CONF['SYSIMGURL'].
"icons-22x22/wizard.gif",
'NAME' =>
'aktiver Kunde',
'ICON' =>
$OCSP_CONF['SYSIMGURL'].
"icons-22x22/online.gif",
'NAME' =>
'aktiver Kunde (versteckt)',
'ICON' =>
$OCSP_CONF['SYSIMGURL'].
"icons-22x22/compfile.gif",
'NAME' =>
'gelöschter Kunde ',
'ICON' =>
$OCSP_CONF['SYSIMGURL'].
"icons-22x22/edittrash.gif",
* @var string $OCSP_CONF['CLI']['CRMFILTER'] query filter for CRM modules (without AND or WHERE)
$OCSP_CONF['CLI']['CRM']['FILTER']=
"T_CLI_CLIENT.CLI_STATE > -1"; // not deleted
$OCSP_CONF['CLI']['CRM']['FORMS']['CLILST']=
"T_CLI_CLIENT";
// <pk-06-07-27> old global array names used:
$GLOBALS['CLIENT'] =
&$OCSP_CONF['CLI'];
$GLOBALS['OCSP']['CLIENT'] =
&$OCSP_CONF['CLI'];
$GLOBALS['OCSP_CLI'] =
&$OCSP_CONF['CLI'];
$GLOBALS['CLI'] =
&$OCSP_CONF['CLI'];
require_once __OCSP_PROJECTPATH__.
"config" .
_OCSP_DIRSEP_ .
"client.phpconf";
* put it into the conf object
foreach($OCSP_CONF['CLI'] as $str_key =>
$mix_Value)
$obj_conf->setValue($str_key,$mix_Value);
if (!defined('_CLIENT_CONFIGURED_')) define('_CLIENT_CONFIGURED_',True);
Documentation generated on Thu, 08 Jan 2009 17:37:39 +0100 by phpDocumentor 1.4.0a2