dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
config.dd.php
Go to the documentation of this file.
1<?php
2// Felddefinitionen fuer dbx/modules/dbx/cfg/config.php (System-Config).
3
4$field = array();
5$field['name'] = 'version';
6$field['type'] = 'int';
7$field['length'] = '4';
8$field['default'] = '1';
9$field['label'] = 'Versionsnummer';
10$field['rules'] = 'int';
11$field['tooltip'] = 'Interne Config-Versionsnummer des dbx-Moduls.';
12$field['errormsg'] = 'Version muss eine Zahl sein.';
13$field['placeholder'] = '1';
14$field['options'] = '';
15$field['tpl'] = 'text-label';
17
18$field = array();
19$field['name'] = 'activ';
20$field['type'] = 'int';
21$field['length'] = '1';
22$field['default'] = '1';
23$field['label'] = 'Modul aktiv';
24$field['rules'] = '*';
25$field['tooltip'] = 'Schaltet das Kernmodul dbx ein oder aus.';
26$field['options'] = '0=Nein&1=Ja';
27$field['tpl'] = 'select-single-label';
28$fields[] = $field;
29
30$field = array();
31$field['name'] = 'groups';
32$field['type'] = 'varchar';
33$field['length'] = '256';
34$field['default'] = '*';
35$field['label'] = 'Zugriff';
36$field['rules'] = '*';
37$field['tooltip'] = 'Benutzergruppen mit Zugriff auf das Systemmodul.';
38$field['options'] = 'sql:dbxUser_groups|name|description|active = 1|name ASC|88';
39$field['tpl'] = 'select-multible-label';
40$fields[] = $field;
41
42$field = array();
43$field['name'] = 'default_lng';
44$field['type'] = 'varchar';
45$field['length'] = '3';
46$field['default'] = 'de';
47$field['label'] = 'Standard-Sprache';
48$field['rules'] = '*';
49$field['tooltip'] = 'Fallback-Sprache des Systems.';
50$field['placeholder'] = 'de';
51$field['options'] = 'de=Deutsch&en=English&es=Espanol';
52$field['tpl'] = 'select-single-label';
53$fields[] = $field;
54
55$field = array();
56$field['name'] = 'accessible_lng';
57$field['type'] = 'varchar';
58$field['length'] = '64';
59$field['default'] = 'de';
60$field['label'] = 'Verfuegbare Sprachen';
61$field['rules'] = '*';
62$field['tooltip'] = 'Sprachen, die Benutzer waehlen duerfen.';
63$field['options'] = 'de=Deutsch&en=English&es=Espanol';
64$field['tpl'] = 'select-multible-label';
65$fields[] = $field;
66
67$field = array();
68$field['name'] = 'default_color';
69$field['type'] = 'varchar';
70$field['length'] = '16';
71$field['default'] = 'blau';
72$field['label'] = 'Standard-Skin';
73$field['rules'] = '*';
74$field['tooltip'] = 'Farbschema (Skin) fuer neue Besucher.';
75$field['options'] = 'hell=Hell&gelb=Gelb&rot=Rot&gruen=Gruen&blau=Blau&dunkel=Dunkel';
76$field['tpl'] = 'select-single-label';
77$fields[] = $field;
78
79$field = array();
80$field['name'] = 'default_design_user';
81$field['type'] = 'varchar';
82$field['length'] = '16';
83$field['default'] = 'dbxapp';
84$field['label'] = 'Design (Benutzer)';
85$field['rules'] = '*';
86$field['tooltip'] = 'Layout-Paket fuer oeffentliche Seiten.';
87$field['options'] = 'dbxapp=dbXapp&fleurop=Fleurop';
88$field['tpl'] = 'select-single-label';
89$fields[] = $field;
90
91$field = array();
92$field['name'] = 'default_design_admin';
93$field['type'] = 'varchar';
94$field['length'] = '16';
95$field['default'] = 'dbxapp';
96$field['label'] = 'Design (Admin)';
97$field['rules'] = '*';
98$field['tooltip'] = 'Layout-Paket fuer den Admin-Bereich.';
99$field['options'] = 'lda=LabOrgemeinschaft&dbxapp=dbXapp&_admin=Admin&_construct=Construct&_install=Install';
100$field['tpl'] = 'select-single-label';
101$fields[] = $field;
102
103$field = array();
104$field['name'] = 'session_db';
105$field['type'] = 'int';
106$field['length'] = '1';
107$field['default'] = '1';
108$field['label'] = 'Session-DB speichern';
109$field['rules'] = '*';
110$field['tooltip'] = 'Normale HTTP-Requests und HTML-AJAX-Requests am Request-Ende in der Session-Datenbank speichern.';
111$field['options'] = '0=Nein&1=Ja';
112$field['tpl'] = 'select-single-label';
113$fields[] = $field;
114
115$field = array();
116$field['name'] = 'permalink';
117$field['type'] = 'int';
118$field['length'] = '1';
119$field['default'] = '1';
120$field['label'] = 'Permalinks';
121$field['rules'] = '*';
122$field['tooltip'] = 'Schoene URLs / Permalink-Aufloesung aktivieren.';
123$field['options'] = '0=Nein&1=Ja';
124$field['tpl'] = 'select-single-label';
125$fields[] = $field;
126
127$field = array();
128$field['name'] = 'cache';
129$field['type'] = 'int';
130$field['length'] = '1';
131$field['default'] = '0';
132$field['label'] = 'System-Cache';
133$field['rules'] = '*';
134$field['tooltip'] = 'Templates und Modul-Configs in der Session cachen.';
135$field['options'] = '0=Nein&1=Ja';
136$field['tpl'] = 'select-single-label';
137$fields[] = $field;
138
139$field = array();
140$field['name'] = 'cache_content';
141$field['type'] = 'int';
142$field['length'] = '1';
143$field['default'] = '1';
144$field['label'] = 'Content-Cache';
145$field['rules'] = '*';
146$field['tooltip'] = 'Gerenderte Content-Seiten und Permalink-Index als HTML cachen.';
147$field['options'] = '0=Nein&1=Ja';
148$field['tpl'] = 'select-single-label';
149$fields[] = $field;
150
151$field = array();
152$field['name'] = 'sys_msg_level';
153$field['type'] = 'varchar';
154$field['length'] = '16';
155$field['default'] = 'all';
156$field['label'] = 'SysMsg-Level';
157$field['rules'] = 'parameter';
158$field['tooltip'] = 'Steuert, welche Systemmeldungen in dbxSysMsg gespeichert werden.';
159$field['options'] = 'error=Nur Error&warning=Error und Warning&all=Alles';
160$field['tpl'] = 'select-single-label';
161$fields[] = $field;
162
163$field = array();
164$field['name'] = 'performance_timer_level';
165$field['type'] = 'varchar';
166$field['length'] = '16';
167$field['default'] = 'off';
168$field['label'] = 'Performance-Level';
169$field['rules'] = 'parameter';
170$field['tooltip'] = 'Steuert, ob keine Performance-Daten, nur Hauptkennzahlen oder alle Detail-Timer gespeichert werden.';
171$field['options'] = 'off=Aus&main=Nur Hauptkennzahlen&detail=Hauptkennzahlen und Details';
172$field['tpl'] = 'select-single-label';
173$fields[] = $field;
174
175$field = array();
176$field['name'] = 'performance_timer_sample_rate';
177$field['type'] = 'int';
178$field['length'] = '8';
179$field['default'] = '1';
180$field['label'] = 'Performance: Sample-Rate';
181$field['rules'] = 'int|min=1';
182$field['tooltip'] = 'Nur jeden N-ten Request messen (1 = jeder Request).';
183$field['placeholder'] = '1';
184$field['tpl'] = 'text-label';
185$fields[] = $field;
186
187$field = array();
188$field['name'] = 'performance_timer_keep_days';
189$field['type'] = 'int';
190$field['length'] = '4';
191$field['default'] = '14';
192$field['label'] = 'Performance: Aufbewahrung (Tage)';
193$field['rules'] = 'int|min=1';
194$field['tooltip'] = 'Alte Performance-Daten nach X Tagen loeschen.';
195$field['placeholder'] = '14';
196$field['tpl'] = 'text-label';
197$fields[] = $field;
198
199$field = array();
200$field['name'] = 'performance_timer_slow_ms';
201$field['type'] = 'int';
202$field['length'] = '8';
203$field['default'] = '3000';
204$field['label'] = 'Performance: Langsam ab (ms)';
205$field['rules'] = 'int|min=0';
206$field['tooltip'] = 'Schwellwert fuer langsame Requests im Dashboard.';
207$field['placeholder'] = '3000';
208$field['tpl'] = 'text-label';
209$fields[] = $field;
210
211$field = array();
212$field['name'] = 'intro';
213$field['type'] = 'int';
214$field['length'] = '1';
215$field['default'] = '0';
216$field['label'] = 'Intro-Seite';
217$field['rules'] = '*';
218$field['tooltip'] = 'Intro beim ersten Besuch anzeigen.';
219$field['options'] = '0=Nein&1=Ja';
220$field['tpl'] = 'select-single-label';
221$fields[] = $field;
222
223$field = array();
224$field['name'] = 'construct';
225$field['type'] = 'int';
226$field['length'] = '1';
227$field['default'] = '0';
228$field['label'] = 'Wartungsmodus';
229$field['rules'] = '*';
230$field['tooltip'] = 'Anwendung als in Ueberarbeitung markieren.';
231$field['options'] = '0=Nein&1=Ja';
232$field['tpl'] = 'select-single-label';
233$fields[] = $field;
234
235$field = array();
236$field['name'] = 'install';
237$field['type'] = 'int';
238$field['length'] = '1';
239$field['default'] = '0';
240$field['label'] = 'Installationsmodus';
241$field['rules'] = '*';
242$field['tooltip'] = 'Setup-/Installationsmodus aktivieren.';
243$field['options'] = '0=Nein&1=Ja';
244$field['tpl'] = 'select-single-label';
245$fields[] = $field;
246
247$field = array();
248$field['name'] = 'crypt_cfg';
249$field['type'] = 'int';
250$field['length'] = '1';
251$field['default'] = '0';
252$field['label'] = 'Config verschluesseln';
253$field['rules'] = '*';
254$field['tooltip'] = 'Modul-Config-Dateien verschluesselt speichern.';
255$field['options'] = '0=Nein&1=Ja';
256$field['tpl'] = 'select-single-label';
257$fields[] = $field;
258
259$field = array();
260$field['name'] = 'secure';
261$field['type'] = 'varchar';
262$field['length'] = '128';
263$field['default'] = '';
264$field['label'] = 'Schluessel (secure)';
265$field['rules'] = '*';
266$field['tooltip'] = 'Schluessel fuer verschluesselte Config-Dateien.';
267$field['placeholder'] = '';
268$field['tpl'] = 'password-label';
269$fields[] = $field;
270
271$field = array();
272$field['name'] = 'default_server';
273$field['type'] = 'varchar';
274$field['length'] = '64';
275$field['default'] = '';
276$field['label'] = 'Standard-DB-Server';
277$field['rules'] = '*';
278$field['tooltip'] = 'Standard-SQL-Server aus config.php. Modul-SQLite (*.db3) wird von dbxDB automatisch aus dbx/modules/*/db/ aufgeloest.';
279$field['options'] = '';
280$field['tpl'] = 'select-single-label';
281$fields[] = $field;
282
283$field = array();
284$field['name'] = 'default_mail';
285$field['type'] = 'varchar';
286$field['length'] = '64';
287$field['default'] = '';
288$field['label'] = 'Standard-Mail-Profil';
289$field['rules'] = '*';
290$field['tooltip'] = 'Name des Mail-Eintrags aus dem Tab Mail.';
291$field['placeholder'] = 'dbxApp';
292$field['tpl'] = 'text-label';
293$fields[] = $field;
294
295$field = array();
296$field = array();
297$field['name'] = 'module_images';
298$field['type'] = 'varchar';
299$field['length'] = '512';
300$field['default'] = '';
301$field['label'] = 'Modul-Bilder (Dashboard)';
302$field['rules'] = '*';
303$field['tooltip'] = 'Kommagetrennte Dateinamen unter files/mod/ fuer das Admin-Dashboard.';
304$field['placeholder'] = 'dbx_beispiel.png';
305$field['tpl'] = 'text-label';
306$fields[] = $field;
$fields[]
Definition config.dd.php:16
$field
Definition config.dd.php:4