Initial xentral_oss_20.3.c9ffacf

This commit is contained in:
Alex
2021-05-21 08:49:41 +02:00
parent 5406e4a551
commit 34e5ac43d9
18884 changed files with 2109867 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
phpwfgen:
config:
- absoluter anwendungspfad
- widgetvorlagen ordner
liste mit seiten die primaer aus einem widget bestehen
#widget generieren
hole alle .htm oder .html dateien aus den widgetvorlagen ordner und mache
showband.html
- widget/template/_gen/showband.tpl
- wiget/_gen/widget.gen.showband.tpl
wenn es das nicht gibt:
wiget/_gen/widget.showband.tpl
dann anlegen
#seiten generieren
liste mit seiten die hauptsaechlich aus einem widget bestehen.
diese dateien werden nur generier wenn sie nicht existieren:
showband
veranstalter ....
in pages/ datei anlegen wenn sie nicht existiert
im pages/content templates anlegen wenn sie nicht existieren:
showband_create.tpl
showband_summary.tpl
showband_edit.tpl
+40
View File
@@ -0,0 +1,40 @@
<?php
/**
* @property string WFdbhost
* @property int WFdbport
* @property string WFdbname
* @property string WFdbuser
* @property string WFdbpass
* @property string WFuserdata Absolute path to userdata directory
* @property array WFconf
*/
class Config
{
/** @var string */
public $updateHost;
public function __construct()
{
$this->updateHost = getenv('XENTRAL_UPDATE_HOST') ?: 'update.xentral.biz';
include("user.inc.php");
if (!isset($this->WFdbport) || empty($this->WFdbport)) {
$this->WFdbport = 3306;
}
// define defaults
$this->WFconf['defaultpage'] = 'adresse';
$this->WFconf['defaultpageaction'] = 'list';
$this->WFconf['defaulttheme'] = 'new';
//$this->WFconf['defaulttheme'] = 'default_redesign';
$this->WFconf['defaultgroup'] = 'web';
// allow that cols where dynamically added so structure
$this->WFconf['autoDBupgrade'] = true;
// time how long a user can be connected in seconds genau 8 stunden
$this->WFconf['logintimeout'] = 3600 * 4;
}
}
+38
View File
@@ -0,0 +1,38 @@
<?php
/**
* @property string WFdbhost
* @property int WFdbport
* @property string WFdbname
* @property string WFdbuser
* @property string WFdbpass
* @property string WFuserdata Absolute path to userdata directory
* @property array WFconf
*/
class Config
{
/** @var string */
public $updateHost = 'update.xentral.biz';
public function __construct()
{
include("user.inc.php");
if (!isset($this->WFdbport) || empty($this->WFdbport)) {
$this->WFdbport = 3306;
}
// define defaults
$this->WFconf['defaultpage'] = 'adresse';
$this->WFconf['defaultpageaction'] = 'list';
$this->WFconf['defaulttheme'] = 'new';
//$this->WFconf['defaulttheme'] = 'default_redesign';
$this->WFconf['defaultgroup'] = 'web';
// allow that cols where dynamically added so structure
$this->WFconf['autoDBupgrade'] = true;
// time how long a user can be connected in seconds genau 8 stunden
$this->WFconf['logintimeout'] = 3600 * 4;
}
}
+13
View File
@@ -0,0 +1,13 @@
<?php
return [
[
'description'=>'Xentral Test',
'dbname'=>'xentral_test',
'dbhost'=>'localhost',
'dbport'=>3306,
'dbuser'=>'Datenbankuser',
'dbpass'=>'Datenbankpasswort',
'cronjob'=>0
],
['description'=>'Xentral Production','dbname'=>'xentral_live']
];
+5
View File
@@ -0,0 +1,5 @@
<?php
if(!defined('USEFPDF3'))
{
define('USEFPDF3',true);
}