Completed
Push — 14.2 ( e07840...cec2da )
by Ralf
83:18 queued 52:04
created
phpgwapi/inc/adodb/lang/adodb-es.inc.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -2,32 +2,32 @@
 block discarded – undo
2 2
 // contributed by "Horacio Degiorgi" <[email protected]>
3 3
 $ADODB_LANG_ARRAY = array (
4 4
 			'LANG'                      => 'es',
5
-            DB_ERROR                    => 'error desconocido',
6
-            DB_ERROR_ALREADY_EXISTS     => 'ya existe',
7
-            DB_ERROR_CANNOT_CREATE      => 'imposible crear',
8
-            DB_ERROR_CANNOT_DELETE      => 'imposible borrar',
9
-            DB_ERROR_CANNOT_DROP        => 'imposible hacer drop',
10
-            DB_ERROR_CONSTRAINT         => 'violacion de constraint',
11
-            DB_ERROR_DIVZERO            => 'division por cero',
12
-            DB_ERROR_INVALID            => 'invalido',
13
-            DB_ERROR_INVALID_DATE       => 'fecha u hora invalida',
14
-            DB_ERROR_INVALID_NUMBER     => 'numero invalido',
15
-            DB_ERROR_MISMATCH           => 'error',
16
-            DB_ERROR_NODBSELECTED       => 'no hay base de datos seleccionada',
17
-            DB_ERROR_NOSUCHFIELD        => 'campo invalido',
18
-            DB_ERROR_NOSUCHTABLE        => 'tabla no existe',
19
-            DB_ERROR_NOT_CAPABLE        => 'capacidad invalida para esta DB',
20
-            DB_ERROR_NOT_FOUND          => 'no encontrado',
21
-            DB_ERROR_NOT_LOCKED         => 'no bloqueado',
22
-            DB_ERROR_SYNTAX             => 'error de sintaxis',
23
-            DB_ERROR_UNSUPPORTED        => 'no soportado',
24
-            DB_ERROR_VALUE_COUNT_ON_ROW => 'la cantidad de columnas no corresponden a la cantidad de valores',
25
-            DB_ERROR_INVALID_DSN        => 'DSN invalido',
26
-            DB_ERROR_CONNECT_FAILED     => 'fallo la conexion',
27
-            0	                       => 'sin error', // DB_OK
28
-            DB_ERROR_NEED_MORE_DATA     => 'insuficientes datos',
29
-            DB_ERROR_EXTENSION_NOT_FOUND=> 'extension no encontrada',
30
-            DB_ERROR_NOSUCHDB           => 'base de datos no encontrada',
31
-            DB_ERROR_ACCESS_VIOLATION   => 'permisos insuficientes'
5
+			DB_ERROR                    => 'error desconocido',
6
+			DB_ERROR_ALREADY_EXISTS     => 'ya existe',
7
+			DB_ERROR_CANNOT_CREATE      => 'imposible crear',
8
+			DB_ERROR_CANNOT_DELETE      => 'imposible borrar',
9
+			DB_ERROR_CANNOT_DROP        => 'imposible hacer drop',
10
+			DB_ERROR_CONSTRAINT         => 'violacion de constraint',
11
+			DB_ERROR_DIVZERO            => 'division por cero',
12
+			DB_ERROR_INVALID            => 'invalido',
13
+			DB_ERROR_INVALID_DATE       => 'fecha u hora invalida',
14
+			DB_ERROR_INVALID_NUMBER     => 'numero invalido',
15
+			DB_ERROR_MISMATCH           => 'error',
16
+			DB_ERROR_NODBSELECTED       => 'no hay base de datos seleccionada',
17
+			DB_ERROR_NOSUCHFIELD        => 'campo invalido',
18
+			DB_ERROR_NOSUCHTABLE        => 'tabla no existe',
19
+			DB_ERROR_NOT_CAPABLE        => 'capacidad invalida para esta DB',
20
+			DB_ERROR_NOT_FOUND          => 'no encontrado',
21
+			DB_ERROR_NOT_LOCKED         => 'no bloqueado',
22
+			DB_ERROR_SYNTAX             => 'error de sintaxis',
23
+			DB_ERROR_UNSUPPORTED        => 'no soportado',
24
+			DB_ERROR_VALUE_COUNT_ON_ROW => 'la cantidad de columnas no corresponden a la cantidad de valores',
25
+			DB_ERROR_INVALID_DSN        => 'DSN invalido',
26
+			DB_ERROR_CONNECT_FAILED     => 'fallo la conexion',
27
+			0	                       => 'sin error', // DB_OK
28
+			DB_ERROR_NEED_MORE_DATA     => 'insuficientes datos',
29
+			DB_ERROR_EXTENSION_NOT_FOUND=> 'extension no encontrada',
30
+			DB_ERROR_NOSUCHDB           => 'base de datos no encontrada',
31
+			DB_ERROR_ACCESS_VIOLATION   => 'permisos insuficientes'
32 32
 );
33 33
 ?>
34 34
\ No newline at end of file
Please login to merge, or discard this patch.
phpgwapi/inc/adodb/lang/adodb-de.inc.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -3,31 +3,31 @@
 block discarded – undo
3 3
 $ADODB_LANG_ARRAY = array (
4 4
 			'LANG'                      => 'de',
5 5
 			DB_ERROR                    => 'Unbekannter Fehler',
6
-            DB_ERROR_ALREADY_EXISTS     => 'existiert bereits',
7
-            DB_ERROR_CANNOT_CREATE      => 'kann nicht erstellen',
8
-            DB_ERROR_CANNOT_DELETE      => 'kann nicht l&ouml;schen',
9
-            DB_ERROR_CANNOT_DROP        => 'Tabelle oder Index konnte nicht gel&ouml;scht werden',
10
-            DB_ERROR_CONSTRAINT         => 'Constraint Verletzung',
11
-            DB_ERROR_DIVZERO            => 'Division durch Null',
12
-            DB_ERROR_INVALID            => 'ung&uml;ltig',
13
-            DB_ERROR_INVALID_DATE       => 'ung&uml;ltiges Datum oder Zeit',
14
-            DB_ERROR_INVALID_NUMBER     => 'ung&uml;ltige Zahl',
15
-            DB_ERROR_MISMATCH           => 'Unvertr&auml;glichkeit',
16
-            DB_ERROR_NODBSELECTED       => 'keine Dantebank ausgew&auml;hlt',
17
-            DB_ERROR_NOSUCHFIELD        => 'Feld nicht vorhanden',
18
-            DB_ERROR_NOSUCHTABLE        => 'Tabelle nicht vorhanden',
19
-            DB_ERROR_NOT_CAPABLE        => 'Funktion nicht installiert',
20
-            DB_ERROR_NOT_FOUND          => 'nicht gefunden',
21
-            DB_ERROR_NOT_LOCKED         => 'nicht gesperrt',
22
-            DB_ERROR_SYNTAX             => 'Syntaxfehler',
23
-            DB_ERROR_UNSUPPORTED        => 'nicht Unterst&uml;tzt',
24
-            DB_ERROR_VALUE_COUNT_ON_ROW => 'Anzahl der zur&uml;ckgelieferten Felder entspricht nicht der Anzahl der Felder in der Abfrage',
25
-            DB_ERROR_INVALID_DSN        => 'ung&uml;ltiger DSN',
26
-            DB_ERROR_CONNECT_FAILED     => 'Verbindung konnte nicht hergestellt werden',
27
-            0	                       => 'kein Fehler', // DB_OK
28
-            DB_ERROR_NEED_MORE_DATA     => 'Nicht gen&uml;gend Daten geliefert',
29
-            DB_ERROR_EXTENSION_NOT_FOUND=> 'erweiterung nicht gefunden',
30
-            DB_ERROR_NOSUCHDB           => 'keine Datenbank',
31
-            DB_ERROR_ACCESS_VIOLATION   => 'ungen&uml;gende Rechte'
6
+			DB_ERROR_ALREADY_EXISTS     => 'existiert bereits',
7
+			DB_ERROR_CANNOT_CREATE      => 'kann nicht erstellen',
8
+			DB_ERROR_CANNOT_DELETE      => 'kann nicht l&ouml;schen',
9
+			DB_ERROR_CANNOT_DROP        => 'Tabelle oder Index konnte nicht gel&ouml;scht werden',
10
+			DB_ERROR_CONSTRAINT         => 'Constraint Verletzung',
11
+			DB_ERROR_DIVZERO            => 'Division durch Null',
12
+			DB_ERROR_INVALID            => 'ung&uml;ltig',
13
+			DB_ERROR_INVALID_DATE       => 'ung&uml;ltiges Datum oder Zeit',
14
+			DB_ERROR_INVALID_NUMBER     => 'ung&uml;ltige Zahl',
15
+			DB_ERROR_MISMATCH           => 'Unvertr&auml;glichkeit',
16
+			DB_ERROR_NODBSELECTED       => 'keine Dantebank ausgew&auml;hlt',
17
+			DB_ERROR_NOSUCHFIELD        => 'Feld nicht vorhanden',
18
+			DB_ERROR_NOSUCHTABLE        => 'Tabelle nicht vorhanden',
19
+			DB_ERROR_NOT_CAPABLE        => 'Funktion nicht installiert',
20
+			DB_ERROR_NOT_FOUND          => 'nicht gefunden',
21
+			DB_ERROR_NOT_LOCKED         => 'nicht gesperrt',
22
+			DB_ERROR_SYNTAX             => 'Syntaxfehler',
23
+			DB_ERROR_UNSUPPORTED        => 'nicht Unterst&uml;tzt',
24
+			DB_ERROR_VALUE_COUNT_ON_ROW => 'Anzahl der zur&uml;ckgelieferten Felder entspricht nicht der Anzahl der Felder in der Abfrage',
25
+			DB_ERROR_INVALID_DSN        => 'ung&uml;ltiger DSN',
26
+			DB_ERROR_CONNECT_FAILED     => 'Verbindung konnte nicht hergestellt werden',
27
+			0	                       => 'kein Fehler', // DB_OK
28
+			DB_ERROR_NEED_MORE_DATA     => 'Nicht gen&uml;gend Daten geliefert',
29
+			DB_ERROR_EXTENSION_NOT_FOUND=> 'erweiterung nicht gefunden',
30
+			DB_ERROR_NOSUCHDB           => 'keine Datenbank',
31
+			DB_ERROR_ACCESS_VIOLATION   => 'ungen&uml;gende Rechte'
32 32
 );
33 33
 ?>
34 34
\ No newline at end of file
Please login to merge, or discard this patch.
phpgwapi/inc/adodb/lang/adodb-nl.inc.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -2,32 +2,32 @@
 block discarded – undo
2 2
 // Translated by Pim Koeman (pim#wittenborg-university.com)
3 3
 $ADODB_LANG_ARRAY = array (
4 4
 			'LANG'                      => 'nl',
5
-            DB_ERROR                    => 'onbekende fout',
6
-            DB_ERROR_ALREADY_EXISTS     => 'bestaat al',
7
-            DB_ERROR_CANNOT_CREATE      => 'kan niet aanmaken',
8
-            DB_ERROR_CANNOT_DELETE      => 'kan niet wissen',
9
-            DB_ERROR_CANNOT_DROP        => 'kan niet verwijderen',
10
-            DB_ERROR_CONSTRAINT         => 'constraint overtreding',
11
-            DB_ERROR_DIVZERO            => 'poging tot delen door nul',
12
-            DB_ERROR_INVALID            => 'ongeldig',
13
-            DB_ERROR_INVALID_DATE       => 'ongeldige datum of tijd',
14
-            DB_ERROR_INVALID_NUMBER     => 'ongeldig nummer',
15
-            DB_ERROR_MISMATCH           => 'is incorrect',
16
-            DB_ERROR_NODBSELECTED       => 'geen database geselecteerd',
17
-            DB_ERROR_NOSUCHFIELD        => 'onbekend veld',
18
-            DB_ERROR_NOSUCHTABLE        => 'onbekende tabel',
19
-            DB_ERROR_NOT_CAPABLE        => 'database systeem is niet tot uitvoer in staat',
20
-            DB_ERROR_NOT_FOUND          => 'niet gevonden',
21
-            DB_ERROR_NOT_LOCKED         => 'niet vergrendeld',
22
-            DB_ERROR_SYNTAX             => 'syntaxis fout',
23
-            DB_ERROR_UNSUPPORTED        => 'niet ondersteund',
24
-            DB_ERROR_VALUE_COUNT_ON_ROW => 'waarde telling op rij',
25
-            DB_ERROR_INVALID_DSN        => 'ongeldige DSN',
26
-            DB_ERROR_CONNECT_FAILED     => 'connectie mislukt',
27
-            0	                       => 'geen fout', // DB_OK
28
-            DB_ERROR_NEED_MORE_DATA     => 'onvoldoende data gegeven',
29
-            DB_ERROR_EXTENSION_NOT_FOUND=> 'extensie niet gevonden',
30
-            DB_ERROR_NOSUCHDB           => 'onbekende database',
31
-            DB_ERROR_ACCESS_VIOLATION   => 'onvoldoende rechten'
5
+			DB_ERROR                    => 'onbekende fout',
6
+			DB_ERROR_ALREADY_EXISTS     => 'bestaat al',
7
+			DB_ERROR_CANNOT_CREATE      => 'kan niet aanmaken',
8
+			DB_ERROR_CANNOT_DELETE      => 'kan niet wissen',
9
+			DB_ERROR_CANNOT_DROP        => 'kan niet verwijderen',
10
+			DB_ERROR_CONSTRAINT         => 'constraint overtreding',
11
+			DB_ERROR_DIVZERO            => 'poging tot delen door nul',
12
+			DB_ERROR_INVALID            => 'ongeldig',
13
+			DB_ERROR_INVALID_DATE       => 'ongeldige datum of tijd',
14
+			DB_ERROR_INVALID_NUMBER     => 'ongeldig nummer',
15
+			DB_ERROR_MISMATCH           => 'is incorrect',
16
+			DB_ERROR_NODBSELECTED       => 'geen database geselecteerd',
17
+			DB_ERROR_NOSUCHFIELD        => 'onbekend veld',
18
+			DB_ERROR_NOSUCHTABLE        => 'onbekende tabel',
19
+			DB_ERROR_NOT_CAPABLE        => 'database systeem is niet tot uitvoer in staat',
20
+			DB_ERROR_NOT_FOUND          => 'niet gevonden',
21
+			DB_ERROR_NOT_LOCKED         => 'niet vergrendeld',
22
+			DB_ERROR_SYNTAX             => 'syntaxis fout',
23
+			DB_ERROR_UNSUPPORTED        => 'niet ondersteund',
24
+			DB_ERROR_VALUE_COUNT_ON_ROW => 'waarde telling op rij',
25
+			DB_ERROR_INVALID_DSN        => 'ongeldige DSN',
26
+			DB_ERROR_CONNECT_FAILED     => 'connectie mislukt',
27
+			0	                       => 'geen fout', // DB_OK
28
+			DB_ERROR_NEED_MORE_DATA     => 'onvoldoende data gegeven',
29
+			DB_ERROR_EXTENSION_NOT_FOUND=> 'extensie niet gevonden',
30
+			DB_ERROR_NOSUCHDB           => 'onbekende database',
31
+			DB_ERROR_ACCESS_VIOLATION   => 'onvoldoende rechten'
32 32
 );
33 33
 ?>
34 34
\ No newline at end of file
Please login to merge, or discard this patch.
phpgwapi/inc/adodb/lang/adodb-it.inc.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -2,33 +2,33 @@
 block discarded – undo
2 2
 // Italian language file contributed by Tiraboschi Massimiliano aka TiMax  
3 3
 // www.maxdev.com  [email protected]
4 4
 $ADODB_LANG_ARRAY = array (
5
-            'LANG'                      => 'it',
6
-            DB_ERROR                    => 'errore sconosciuto',
7
-            DB_ERROR_ALREADY_EXISTS     => 'esiste gi&agrave;',
8
-            DB_ERROR_CANNOT_CREATE      => 'non posso creare',
9
-            DB_ERROR_CANNOT_DELETE      => 'non posso cancellare',
10
-            DB_ERROR_CANNOT_DROP        => 'non posso eliminare',
11
-            DB_ERROR_CONSTRAINT         => 'violazione constraint',
12
-            DB_ERROR_DIVZERO            => 'divisione per zero',
13
-            DB_ERROR_INVALID            => 'non valido',
14
-            DB_ERROR_INVALID_DATE       => 'data od ora non valida',
15
-            DB_ERROR_INVALID_NUMBER     => 'numero non valido',
16
-            DB_ERROR_MISMATCH           => 'diversi',
17
-            DB_ERROR_NODBSELECTED       => 'nessun database selezionato',
18
-            DB_ERROR_NOSUCHFIELD        => 'nessun campo trovato',
19
-            DB_ERROR_NOSUCHTABLE        => 'nessuna tabella trovata',
20
-            DB_ERROR_NOT_CAPABLE        => 'DB backend non abilitato',
21
-            DB_ERROR_NOT_FOUND          => 'non trovato',
22
-            DB_ERROR_NOT_LOCKED         => 'non bloccato',
23
-            DB_ERROR_SYNTAX             => 'errore di sintassi',
24
-            DB_ERROR_UNSUPPORTED        => 'non supportato',
25
-            DB_ERROR_VALUE_COUNT_ON_ROW => 'valore inserito troppo grande per una colonna',
26
-            DB_ERROR_INVALID_DSN        => 'DSN non valido',
27
-            DB_ERROR_CONNECT_FAILED     => 'connessione fallita',
28
-            0                           => 'nessun errore', // DB_OK
29
-            DB_ERROR_NEED_MORE_DATA     => 'dati inseriti insufficienti',
30
-            DB_ERROR_EXTENSION_NOT_FOUND=> 'estensione non trovata',
31
-            DB_ERROR_NOSUCHDB           => 'database non trovato',
32
-            DB_ERROR_ACCESS_VIOLATION   => 'permessi insufficienti'
5
+			'LANG'                      => 'it',
6
+			DB_ERROR                    => 'errore sconosciuto',
7
+			DB_ERROR_ALREADY_EXISTS     => 'esiste gi&agrave;',
8
+			DB_ERROR_CANNOT_CREATE      => 'non posso creare',
9
+			DB_ERROR_CANNOT_DELETE      => 'non posso cancellare',
10
+			DB_ERROR_CANNOT_DROP        => 'non posso eliminare',
11
+			DB_ERROR_CONSTRAINT         => 'violazione constraint',
12
+			DB_ERROR_DIVZERO            => 'divisione per zero',
13
+			DB_ERROR_INVALID            => 'non valido',
14
+			DB_ERROR_INVALID_DATE       => 'data od ora non valida',
15
+			DB_ERROR_INVALID_NUMBER     => 'numero non valido',
16
+			DB_ERROR_MISMATCH           => 'diversi',
17
+			DB_ERROR_NODBSELECTED       => 'nessun database selezionato',
18
+			DB_ERROR_NOSUCHFIELD        => 'nessun campo trovato',
19
+			DB_ERROR_NOSUCHTABLE        => 'nessuna tabella trovata',
20
+			DB_ERROR_NOT_CAPABLE        => 'DB backend non abilitato',
21
+			DB_ERROR_NOT_FOUND          => 'non trovato',
22
+			DB_ERROR_NOT_LOCKED         => 'non bloccato',
23
+			DB_ERROR_SYNTAX             => 'errore di sintassi',
24
+			DB_ERROR_UNSUPPORTED        => 'non supportato',
25
+			DB_ERROR_VALUE_COUNT_ON_ROW => 'valore inserito troppo grande per una colonna',
26
+			DB_ERROR_INVALID_DSN        => 'DSN non valido',
27
+			DB_ERROR_CONNECT_FAILED     => 'connessione fallita',
28
+			0                           => 'nessun errore', // DB_OK
29
+			DB_ERROR_NEED_MORE_DATA     => 'dati inseriti insufficienti',
30
+			DB_ERROR_EXTENSION_NOT_FOUND=> 'estensione non trovata',
31
+			DB_ERROR_NOSUCHDB           => 'database non trovato',
32
+			DB_ERROR_ACCESS_VIOLATION   => 'permessi insufficienti'
33 33
 );
34 34
 ?>
35 35
\ No newline at end of file
Please login to merge, or discard this patch.
phpgwapi/inc/adodb/lang/adodb-bgutf8.inc.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -5,34 +5,34 @@
 block discarded – undo
5 5
 */
6 6
 
7 7
 $ADODB_LANG_ARRAY = array (
8
-            'LANG'                      => 'bgutf8',
9
-            DB_ERROR                    => 'неизвестна грешка',
10
-            DB_ERROR_ALREADY_EXISTS     => 'вече съществува',
11
-            DB_ERROR_CANNOT_CREATE      => 'не може да бъде създадена',
12
-            DB_ERROR_CANNOT_DELETE      => 'не може да бъде изтрита',
13
-            DB_ERROR_CANNOT_DROP        => 'не може да бъде унищожена',
14
-            DB_ERROR_CONSTRAINT         => 'нарушено условие',
15
-            DB_ERROR_DIVZERO            => 'деление на нула',
16
-            DB_ERROR_INVALID            => 'неправилно',
17
-            DB_ERROR_INVALID_DATE       => 'некоректна дата или час',
18
-            DB_ERROR_INVALID_NUMBER     => 'невалиден номер',
19
-            DB_ERROR_MISMATCH           => 'погрешна употреба',
20
-            DB_ERROR_NODBSELECTED       => 'не е избрана база данни',
21
-            DB_ERROR_NOSUCHFIELD        => 'несъществуващо поле',
22
-            DB_ERROR_NOSUCHTABLE        => 'несъществуваща таблица',
23
-            DB_ERROR_NOT_CAPABLE        => 'DB backend not capable',
24
-            DB_ERROR_NOT_FOUND          => 'не е намерена',
25
-            DB_ERROR_NOT_LOCKED         => 'не е заключена',
26
-            DB_ERROR_SYNTAX             => 'грешен синтаксис',
27
-            DB_ERROR_UNSUPPORTED        => 'не се поддържа',
28
-            DB_ERROR_VALUE_COUNT_ON_ROW => 'некоректен брой колони в реда',
29
-            DB_ERROR_INVALID_DSN        => 'невалиден DSN',
30
-            DB_ERROR_CONNECT_FAILED     => 'връзката не може да бъде осъществена',
31
-            0	                        => 'няма грешки', // DB_OK
32
-            DB_ERROR_NEED_MORE_DATA     => 'предоставените данни са недостатъчни',
33
-            DB_ERROR_EXTENSION_NOT_FOUND=> 'разширението не е намерено',
34
-            DB_ERROR_NOSUCHDB           => 'несъществуваща база данни',
35
-            DB_ERROR_ACCESS_VIOLATION   => 'нямате достатъчно права'
8
+			'LANG'                      => 'bgutf8',
9
+			DB_ERROR                    => 'неизвестна грешка',
10
+			DB_ERROR_ALREADY_EXISTS     => 'вече съществува',
11
+			DB_ERROR_CANNOT_CREATE      => 'не може да бъде създадена',
12
+			DB_ERROR_CANNOT_DELETE      => 'не може да бъде изтрита',
13
+			DB_ERROR_CANNOT_DROP        => 'не може да бъде унищожена',
14
+			DB_ERROR_CONSTRAINT         => 'нарушено условие',
15
+			DB_ERROR_DIVZERO            => 'деление на нула',
16
+			DB_ERROR_INVALID            => 'неправилно',
17
+			DB_ERROR_INVALID_DATE       => 'некоректна дата или час',
18
+			DB_ERROR_INVALID_NUMBER     => 'невалиден номер',
19
+			DB_ERROR_MISMATCH           => 'погрешна употреба',
20
+			DB_ERROR_NODBSELECTED       => 'не е избрана база данни',
21
+			DB_ERROR_NOSUCHFIELD        => 'несъществуващо поле',
22
+			DB_ERROR_NOSUCHTABLE        => 'несъществуваща таблица',
23
+			DB_ERROR_NOT_CAPABLE        => 'DB backend not capable',
24
+			DB_ERROR_NOT_FOUND          => 'не е намерена',
25
+			DB_ERROR_NOT_LOCKED         => 'не е заключена',
26
+			DB_ERROR_SYNTAX             => 'грешен синтаксис',
27
+			DB_ERROR_UNSUPPORTED        => 'не се поддържа',
28
+			DB_ERROR_VALUE_COUNT_ON_ROW => 'некоректен брой колони в реда',
29
+			DB_ERROR_INVALID_DSN        => 'невалиден DSN',
30
+			DB_ERROR_CONNECT_FAILED     => 'връзката не може да бъде осъществена',
31
+			0	                        => 'няма грешки', // DB_OK
32
+			DB_ERROR_NEED_MORE_DATA     => 'предоставените данни са недостатъчни',
33
+			DB_ERROR_EXTENSION_NOT_FOUND=> 'разширението не е намерено',
34
+			DB_ERROR_NOSUCHDB           => 'несъществуваща база данни',
35
+			DB_ERROR_ACCESS_VIOLATION   => 'нямате достатъчно права'
36 36
 );
37 37
 ?>
38 38
 		
39 39
\ No newline at end of file
Please login to merge, or discard this patch.
phpgwapi/inc/adodb/lang/adodb-esperanto.inc.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -3,33 +3,33 @@
 block discarded – undo
3 3
 // Traduko fare de Antono Vasiljev (anders[#]brainactive.org)
4 4
 
5 5
 $ADODB_LANG_ARRAY = array (
6
-             'LANG'                      => 'eo',
7
-            DB_ERROR                    => 'nekonata eraro',
8
-            DB_ERROR_ALREADY_EXISTS     => 'jam ekzistas',
9
-            DB_ERROR_CANNOT_CREATE      => 'maleblas krei',
10
-            DB_ERROR_CANNOT_DELETE      => 'maleblas elimini',
11
-            DB_ERROR_CANNOT_DROP        => 'maleblas elimini (drop)',
12
-            DB_ERROR_CONSTRAINT         => 'rompo de kondicxoj de provo',
13
-            DB_ERROR_DIVZERO            => 'divido per 0 (nul)',
14
-            DB_ERROR_INVALID            => 'malregule',
15
-            DB_ERROR_INVALID_DATE       => 'malregula dato kaj tempo',
16
-            DB_ERROR_INVALID_NUMBER     => 'malregula nombro',
17
-            DB_ERROR_MISMATCH           => 'eraro',
18
-            DB_ERROR_NODBSELECTED       => 'datumbazo ne elektita',
19
-            DB_ERROR_NOSUCHFIELD        => 'ne ekzistas kampo',
20
-            DB_ERROR_NOSUCHTABLE        => 'ne ekzistas tabelo',
21
-            DB_ERROR_NOT_CAPABLE        => 'DBMS ne povas',
22
-            DB_ERROR_NOT_FOUND          => 'ne trovita',
23
-            DB_ERROR_NOT_LOCKED         => 'ne blokita',
24
-            DB_ERROR_SYNTAX             => 'sintaksa eraro',
25
-            DB_ERROR_UNSUPPORTED        => 'ne apogata',
26
-            DB_ERROR_VALUE_COUNT_ON_ROW => 'nombrilo de valoroj en linio',
27
-            DB_ERROR_INVALID_DSN        => 'malregula DSN-o',
28
-            DB_ERROR_CONNECT_FAILED     => 'konekto malsukcesa',
29
-            0                               => 'cxio bone', // DB_OK
30
-            DB_ERROR_NEED_MORE_DATA     => 'ne suficxe da datumo',
31
-            DB_ERROR_EXTENSION_NOT_FOUND=> 'etendo ne trovita',
32
-            DB_ERROR_NOSUCHDB           => 'datumbazo ne ekzistas',
33
-            DB_ERROR_ACCESS_VIOLATION   => 'ne suficxe da rajto por atingo'
6
+			 'LANG'                      => 'eo',
7
+			DB_ERROR                    => 'nekonata eraro',
8
+			DB_ERROR_ALREADY_EXISTS     => 'jam ekzistas',
9
+			DB_ERROR_CANNOT_CREATE      => 'maleblas krei',
10
+			DB_ERROR_CANNOT_DELETE      => 'maleblas elimini',
11
+			DB_ERROR_CANNOT_DROP        => 'maleblas elimini (drop)',
12
+			DB_ERROR_CONSTRAINT         => 'rompo de kondicxoj de provo',
13
+			DB_ERROR_DIVZERO            => 'divido per 0 (nul)',
14
+			DB_ERROR_INVALID            => 'malregule',
15
+			DB_ERROR_INVALID_DATE       => 'malregula dato kaj tempo',
16
+			DB_ERROR_INVALID_NUMBER     => 'malregula nombro',
17
+			DB_ERROR_MISMATCH           => 'eraro',
18
+			DB_ERROR_NODBSELECTED       => 'datumbazo ne elektita',
19
+			DB_ERROR_NOSUCHFIELD        => 'ne ekzistas kampo',
20
+			DB_ERROR_NOSUCHTABLE        => 'ne ekzistas tabelo',
21
+			DB_ERROR_NOT_CAPABLE        => 'DBMS ne povas',
22
+			DB_ERROR_NOT_FOUND          => 'ne trovita',
23
+			DB_ERROR_NOT_LOCKED         => 'ne blokita',
24
+			DB_ERROR_SYNTAX             => 'sintaksa eraro',
25
+			DB_ERROR_UNSUPPORTED        => 'ne apogata',
26
+			DB_ERROR_VALUE_COUNT_ON_ROW => 'nombrilo de valoroj en linio',
27
+			DB_ERROR_INVALID_DSN        => 'malregula DSN-o',
28
+			DB_ERROR_CONNECT_FAILED     => 'konekto malsukcesa',
29
+			0                               => 'cxio bone', // DB_OK
30
+			DB_ERROR_NEED_MORE_DATA     => 'ne suficxe da datumo',
31
+			DB_ERROR_EXTENSION_NOT_FOUND=> 'etendo ne trovita',
32
+			DB_ERROR_NOSUCHDB           => 'datumbazo ne ekzistas',
33
+			DB_ERROR_ACCESS_VIOLATION   => 'ne suficxe da rajto por atingo'
34 34
 );
35 35
 ?>
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
phpgwapi/inc/adodb/lang/adodb-ro.inc.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -4,33 +4,33 @@
 block discarded – undo
4 4
 
5 5
 $ADODB_LANG_ARRAY = array (
6 6
 			'LANG'                      => 'ro',
7
-            DB_ERROR                    => 'eroare necunoscuta',
8
-            DB_ERROR_ALREADY_EXISTS     => 'deja exista',
9
-            DB_ERROR_CANNOT_CREATE      => 'nu se poate creea',
10
-            DB_ERROR_CANNOT_DELETE      => 'nu se poate sterge',
11
-            DB_ERROR_CANNOT_DROP        => 'nu se poate executa drop',
12
-            DB_ERROR_CONSTRAINT         => 'violare de constrain',
13
-            DB_ERROR_DIVZERO            => 'se divide la zero',
14
-            DB_ERROR_INVALID            => 'invalid',
15
-            DB_ERROR_INVALID_DATE       => 'data sau timp invalide',
16
-            DB_ERROR_INVALID_NUMBER     => 'numar invalid',
17
-            DB_ERROR_MISMATCH           => 'nepotrivire-mismatch',
18
-            DB_ERROR_NODBSELECTED       => 'nu exista baza de date selectata',
19
-            DB_ERROR_NOSUCHFIELD        => 'camp inexistent',
20
-            DB_ERROR_NOSUCHTABLE        => 'tabela inexistenta',
21
-            DB_ERROR_NOT_CAPABLE        => 'functie optionala neinstalata',
22
-            DB_ERROR_NOT_FOUND          => 'negasit',
23
-            DB_ERROR_NOT_LOCKED         => 'neblocat',
24
-            DB_ERROR_SYNTAX             => 'eroare de sintaxa',
25
-            DB_ERROR_UNSUPPORTED        => 'nu e suportat',
26
-            DB_ERROR_VALUE_COUNT_ON_ROW => 'valoare prea mare pentru coloana',
27
-            DB_ERROR_INVALID_DSN        => 'DSN invalid',
28
-            DB_ERROR_CONNECT_FAILED     => 'conectare esuata',
29
-            0	                       => 'fara eroare', // DB_OK
30
-            DB_ERROR_NEED_MORE_DATA     => 'data introduse insuficiente',
31
-            DB_ERROR_EXTENSION_NOT_FOUND=> 'extensie negasita',
32
-            DB_ERROR_NOSUCHDB           => 'nu exista baza de date',
33
-            DB_ERROR_ACCESS_VIOLATION   => 'permisiuni insuficiente'
7
+			DB_ERROR                    => 'eroare necunoscuta',
8
+			DB_ERROR_ALREADY_EXISTS     => 'deja exista',
9
+			DB_ERROR_CANNOT_CREATE      => 'nu se poate creea',
10
+			DB_ERROR_CANNOT_DELETE      => 'nu se poate sterge',
11
+			DB_ERROR_CANNOT_DROP        => 'nu se poate executa drop',
12
+			DB_ERROR_CONSTRAINT         => 'violare de constrain',
13
+			DB_ERROR_DIVZERO            => 'se divide la zero',
14
+			DB_ERROR_INVALID            => 'invalid',
15
+			DB_ERROR_INVALID_DATE       => 'data sau timp invalide',
16
+			DB_ERROR_INVALID_NUMBER     => 'numar invalid',
17
+			DB_ERROR_MISMATCH           => 'nepotrivire-mismatch',
18
+			DB_ERROR_NODBSELECTED       => 'nu exista baza de date selectata',
19
+			DB_ERROR_NOSUCHFIELD        => 'camp inexistent',
20
+			DB_ERROR_NOSUCHTABLE        => 'tabela inexistenta',
21
+			DB_ERROR_NOT_CAPABLE        => 'functie optionala neinstalata',
22
+			DB_ERROR_NOT_FOUND          => 'negasit',
23
+			DB_ERROR_NOT_LOCKED         => 'neblocat',
24
+			DB_ERROR_SYNTAX             => 'eroare de sintaxa',
25
+			DB_ERROR_UNSUPPORTED        => 'nu e suportat',
26
+			DB_ERROR_VALUE_COUNT_ON_ROW => 'valoare prea mare pentru coloana',
27
+			DB_ERROR_INVALID_DSN        => 'DSN invalid',
28
+			DB_ERROR_CONNECT_FAILED     => 'conectare esuata',
29
+			0	                       => 'fara eroare', // DB_OK
30
+			DB_ERROR_NEED_MORE_DATA     => 'data introduse insuficiente',
31
+			DB_ERROR_EXTENSION_NOT_FOUND=> 'extensie negasita',
32
+			DB_ERROR_NOSUCHDB           => 'nu exista baza de date',
33
+			DB_ERROR_ACCESS_VIOLATION   => 'permisiuni insuficiente'
34 34
 );
35 35
 ?>
36 36
 
Please login to merge, or discard this patch.
phpgwapi/inc/class.vfs_webdav_server.inc.php 1 patch
Indentation   +200 added lines, -200 removed lines patch added patch discarded remove patch
@@ -51,13 +51,13 @@  discard block
 block discarded – undo
51 51
 	var $debug = 0;
52 52
 
53 53
 	/**
54
-	* Serve a webdav request
55
-	*
56
-	* Reimplemented to not check our vfs base path with realpath and connect to mysql DB
57
-	*
58
-	* @access public
59
-    * @param  $prefix =null prefix filesystem path with given path, eg. "/webdav" for owncloud 4.5 remote.php
60
-	*/
54
+	 * Serve a webdav request
55
+	 *
56
+	 * Reimplemented to not check our vfs base path with realpath and connect to mysql DB
57
+	 *
58
+	 * @access public
59
+	 * @param  $prefix =null prefix filesystem path with given path, eg. "/webdav" for owncloud 4.5 remote.php
60
+	 */
61 61
 	function ServeRequest($prefix=null)
62 62
 	{
63 63
 		// special treatment for litmus compliance test
@@ -72,11 +72,11 @@  discard block
 block discarded – undo
72 72
 	}
73 73
 
74 74
 	/**
75
-	* DELETE method handler
76
-	*
77
-	* @param  array  general parameter passing array
78
-	* @return bool   true on success
79
-	*/
75
+	 * DELETE method handler
76
+	 *
77
+	 * @param  array  general parameter passing array
78
+	 * @return bool   true on success
79
+	 */
80 80
 	function DELETE($options)
81 81
 	{
82 82
 		$path = $this->base . $options['path'];
@@ -109,166 +109,166 @@  discard block
 block discarded – undo
109 109
 		return '204 No Content';
110 110
 	}
111 111
 
112
-    /**
113
-     * MKCOL method handler
114
-     *
115
-     * Reimplemented to NOT use dirname/basename, which has problems with utf-8 chars
116
-     *
117
-     * @param  array  general parameter passing array
118
-     * @return bool   true on success
119
-     */
120
-    function MKCOL($options)
121
-    {
122
-        $path   = $this->_unslashify($this->base .$options["path"]);
123
-        $parent = egw_vfs::dirname($path);
124
-        $name   = egw_vfs::basename($path);
125
-
126
-        if (!file_exists($parent)) {
127
-            return "409 Conflict";
128
-        }
129
-
130
-        if (!is_dir($parent)) {
131
-            return "403 Forbidden";
132
-        }
133
-
134
-        if ( file_exists($path) ) {
135
-            return "405 Method not allowed";
136
-        }
137
-
138
-        if (!empty($this->_SERVER["CONTENT_LENGTH"])) { // no body parsing yet
139
-            return "415 Unsupported media type";
140
-        }
141
-
142
-        $stat = mkdir($path, 0777);
143
-        if (!$stat) {
144
-            return "403 Forbidden";
145
-        }
146
-
147
-        return ("201 Created");
148
-    }
112
+	/**
113
+	 * MKCOL method handler
114
+	 *
115
+	 * Reimplemented to NOT use dirname/basename, which has problems with utf-8 chars
116
+	 *
117
+	 * @param  array  general parameter passing array
118
+	 * @return bool   true on success
119
+	 */
120
+	function MKCOL($options)
121
+	{
122
+		$path   = $this->_unslashify($this->base .$options["path"]);
123
+		$parent = egw_vfs::dirname($path);
124
+		$name   = egw_vfs::basename($path);
125
+
126
+		if (!file_exists($parent)) {
127
+			return "409 Conflict";
128
+		}
129
+
130
+		if (!is_dir($parent)) {
131
+			return "403 Forbidden";
132
+		}
133
+
134
+		if ( file_exists($path) ) {
135
+			return "405 Method not allowed";
136
+		}
137
+
138
+		if (!empty($this->_SERVER["CONTENT_LENGTH"])) { // no body parsing yet
139
+			return "415 Unsupported media type";
140
+		}
141
+
142
+		$stat = mkdir($path, 0777);
143
+		if (!$stat) {
144
+			return "403 Forbidden";
145
+		}
146
+
147
+		return ("201 Created");
148
+	}
149 149
 
150 150
 	/**
151
-     * COPY method handler
152
-     *
153
-     * @param  array  general parameter passing array
154
-     * @return bool   true on success
155
-     */
156
-    function COPY($options, $del=false)
157
-    {
158
-        // TODO Property updates still broken (Litmus should detect this?)
159
-
160
-        if (!empty($this->_SERVER["CONTENT_LENGTH"])) { // no body parsing yet
161
-            return "415 Unsupported media type";
162
-        }
163
-
164
-        // no copying to different WebDAV Servers yet
165
-        if (isset($options["dest_url"])) {
166
-            return "502 bad gateway";
167
-        }
168
-
169
-        $source = $this->base .$options["path"];
170
-        if (!file_exists($source)) return "404 Not found";
171
-
172
-        if (is_dir($source)) { // resource is a collection
173
-            switch ($options["depth"]) {
174
-            case "infinity": // valid
175
-                break;
176
-            case "0": // valid for COPY only
177
-                if ($del) { // MOVE?
178
-                    return "400 Bad request";
179
-                }
180
-                break;
181
-            case "1": // invalid for both COPY and MOVE
182
-            default:
183
-                return "400 Bad request";
184
-            }
185
-        }
186
-
187
-        $dest         = $this->base . $options["dest"];
188
-        $destdir      = dirname($dest);
189
-
190
-        if (!file_exists($destdir) || !is_dir($destdir)) {
191
-            return "409 Conflict";
192
-        }
193
-
194
-        $new          = !file_exists($dest);
195
-        $existing_col = false;
196
-
197
-        if (!$new) {
198
-            if ($del && is_dir($dest)) {
199
-                if (!$options["overwrite"]) {
200
-                    return "412 precondition failed";
201
-                }
202
-                $dest .= basename($source);
203
-                if (file_exists($dest)) {
204
-                    $options["dest"] .= basename($source);
205
-                } else {
206
-                    $new          = true;
207
-                    $existing_col = true;
208
-                }
209
-            }
210
-        }
211
-
212
-        if (!$new) {
213
-            if ($options["overwrite"]) {
214
-                $stat = $this->DELETE(array("path" => $options["dest"]));
215
-                if (($stat{0} != "2") && (substr($stat, 0, 3) != "404")) {
216
-                    return $stat;
217
-                }
218
-            } else {
219
-                return "412 precondition failed";
220
-            }
221
-        }
222
-
223
-        if ($del) {
224
-            if (!rename($source, $dest)) {
225
-                return "500 Internal server error";
226
-            }
227
-        } else {
228
-            if (is_dir($source) && $options['depth'] == 'infinity') {
229
-            	$files = egw_vfs::find($source,array('depth' => true,'url' => true));	// depth=true: return dirs first, url=true: allow urls!
230
-            } else {
231
-                $files = array($source);
232
-            }
233
-
234
-            if (!is_array($files) || empty($files)) {
235
-                return "500 Internal server error";
236
-            }
237
-
238
-
239
-            foreach ($files as $file) {
240
-                if (is_dir($file)) {
241
-                    $file = $this->_slashify($file);
242
-                }
243
-
244
-                $destfile = str_replace($source, $dest, $file);
245
-
246
-                if (is_dir($file)) {
247
-                    if (!is_dir($destfile)) {
248
-                        // TODO "mkdir -p" here? (only natively supported by PHP 5)
249
-                        if (!@mkdir($destfile)) {
250
-                            return "409 Conflict";
251
-                        }
252
-                    }
253
-                } else {
254
-                    if (!@copy($file, $destfile)) {
255
-                        return "409 Conflict";
256
-                    }
257
-                }
258
-            }
259
-        }
260
-        // adding Location header as shown in example in rfc2518 section 8.9.5
151
+	 * COPY method handler
152
+	 *
153
+	 * @param  array  general parameter passing array
154
+	 * @return bool   true on success
155
+	 */
156
+	function COPY($options, $del=false)
157
+	{
158
+		// TODO Property updates still broken (Litmus should detect this?)
159
+
160
+		if (!empty($this->_SERVER["CONTENT_LENGTH"])) { // no body parsing yet
161
+			return "415 Unsupported media type";
162
+		}
163
+
164
+		// no copying to different WebDAV Servers yet
165
+		if (isset($options["dest_url"])) {
166
+			return "502 bad gateway";
167
+		}
168
+
169
+		$source = $this->base .$options["path"];
170
+		if (!file_exists($source)) return "404 Not found";
171
+
172
+		if (is_dir($source)) { // resource is a collection
173
+			switch ($options["depth"]) {
174
+			case "infinity": // valid
175
+				break;
176
+			case "0": // valid for COPY only
177
+				if ($del) { // MOVE?
178
+					return "400 Bad request";
179
+				}
180
+				break;
181
+			case "1": // invalid for both COPY and MOVE
182
+			default:
183
+				return "400 Bad request";
184
+			}
185
+		}
186
+
187
+		$dest         = $this->base . $options["dest"];
188
+		$destdir      = dirname($dest);
189
+
190
+		if (!file_exists($destdir) || !is_dir($destdir)) {
191
+			return "409 Conflict";
192
+		}
193
+
194
+		$new          = !file_exists($dest);
195
+		$existing_col = false;
196
+
197
+		if (!$new) {
198
+			if ($del && is_dir($dest)) {
199
+				if (!$options["overwrite"]) {
200
+					return "412 precondition failed";
201
+				}
202
+				$dest .= basename($source);
203
+				if (file_exists($dest)) {
204
+					$options["dest"] .= basename($source);
205
+				} else {
206
+					$new          = true;
207
+					$existing_col = true;
208
+				}
209
+			}
210
+		}
211
+
212
+		if (!$new) {
213
+			if ($options["overwrite"]) {
214
+				$stat = $this->DELETE(array("path" => $options["dest"]));
215
+				if (($stat{0} != "2") && (substr($stat, 0, 3) != "404")) {
216
+					return $stat;
217
+				}
218
+			} else {
219
+				return "412 precondition failed";
220
+			}
221
+		}
222
+
223
+		if ($del) {
224
+			if (!rename($source, $dest)) {
225
+				return "500 Internal server error";
226
+			}
227
+		} else {
228
+			if (is_dir($source) && $options['depth'] == 'infinity') {
229
+				$files = egw_vfs::find($source,array('depth' => true,'url' => true));	// depth=true: return dirs first, url=true: allow urls!
230
+			} else {
231
+				$files = array($source);
232
+			}
233
+
234
+			if (!is_array($files) || empty($files)) {
235
+				return "500 Internal server error";
236
+			}
237
+
238
+
239
+			foreach ($files as $file) {
240
+				if (is_dir($file)) {
241
+					$file = $this->_slashify($file);
242
+				}
243
+
244
+				$destfile = str_replace($source, $dest, $file);
245
+
246
+				if (is_dir($file)) {
247
+					if (!is_dir($destfile)) {
248
+						// TODO "mkdir -p" here? (only natively supported by PHP 5)
249
+						if (!@mkdir($destfile)) {
250
+							return "409 Conflict";
251
+						}
252
+					}
253
+				} else {
254
+					if (!@copy($file, $destfile)) {
255
+						return "409 Conflict";
256
+					}
257
+				}
258
+			}
259
+		}
260
+		// adding Location header as shown in example in rfc2518 section 8.9.5
261 261
 		header('Location: '.$this->base_uri.$options['dest']);
262 262
 
263
-        return ($new && !$existing_col) ? "201 Created" : "204 No Content";
264
-    }
263
+		return ($new && !$existing_col) ? "201 Created" : "204 No Content";
264
+	}
265 265
 
266
-    /**
267
-	* Get properties for a single file/resource
268
-	*
269
-	* @param  string  $_path resource path
270
-	* @return array   resource properties
271
-	*/
266
+	/**
267
+	 * Get properties for a single file/resource
268
+	 *
269
+	 * @param  string  $_path resource path
270
+	 * @return array   resource properties
271
+	 */
272 272
 	function fileinfo($_path)
273 273
 	{
274 274
 		// internally we require some url-encoding, as vfs_stream_wrapper uses URL's internally
@@ -296,9 +296,9 @@  discard block
 block discarded – undo
296 296
 		$info['props'][] = HTTP_WebDAV_Server::mkprop	('creationdate',    filectime($fspath));
297 297
 		$info['props'][] = HTTP_WebDAV_Server::mkprop	('getlastmodified', filemtime($fspath));
298 298
 
299
-        // Microsoft extensions: last access time and 'hidden' status
300
-        $info["props"][] = HTTP_WebDAV_Server::mkprop("lastaccessed",    fileatime($fspath));
301
-        $info["props"][] = HTTP_WebDAV_Server::mkprop("ishidden",        egw_vfs::is_hidden($fspath));
299
+		// Microsoft extensions: last access time and 'hidden' status
300
+		$info["props"][] = HTTP_WebDAV_Server::mkprop("lastaccessed",    fileatime($fspath));
301
+		$info["props"][] = HTTP_WebDAV_Server::mkprop("ishidden",        egw_vfs::is_hidden($fspath));
302 302
 
303 303
 		// type and size (caller already made sure that path exists)
304 304
 		if (is_dir($fspath)) {
@@ -436,38 +436,38 @@  discard block
 block discarded – undo
436 436
 	}
437 437
 
438 438
  	/**
439
-	 * Used eg. by get
440
-	 *
441
-	 * @todo replace all calls to _mimetype with egw_vfs::mime_content_type()
442
-	 * @param string $path
443
-	 * @return string
444
-	 */
439
+ 	 * Used eg. by get
440
+ 	 *
441
+ 	 * @todo replace all calls to _mimetype with egw_vfs::mime_content_type()
442
+ 	 * @param string $path
443
+ 	 * @return string
444
+ 	 */
445 445
 	function _mimetype($path)
446 446
 	{
447 447
 		return egw_vfs::mime_content_type($path);
448 448
 	}
449 449
 
450
-    /**
451
-     * Check if path is readable by current user
452
-     *
453
-     * @param string $fspath
454
-     * @return boolean
455
-     */
456
-    function _is_readable($fspath)
457
-    {
458
-    	return egw_vfs::is_readable($fspath);
459
-    }
460
-
461
-    /**
462
-     * Check if path is writable by current user
463
-     *
464
-     * @param string $fspath
465
-     * @return boolean
466
-     */
467
-    function _is_writable($fspath)
468
-    {
469
-    	return egw_vfs::is_writable($fspath);
470
-    }
450
+	/**
451
+	 * Check if path is readable by current user
452
+	 *
453
+	 * @param string $fspath
454
+	 * @return boolean
455
+	 */
456
+	function _is_readable($fspath)
457
+	{
458
+		return egw_vfs::is_readable($fspath);
459
+	}
460
+
461
+	/**
462
+	 * Check if path is writable by current user
463
+	 *
464
+	 * @param string $fspath
465
+	 * @return boolean
466
+	 */
467
+	function _is_writable($fspath)
468
+	{
469
+		return egw_vfs::is_writable($fspath);
470
+	}
471 471
 
472 472
 	/**
473 473
 	 * PROPPATCH method handler
@@ -610,13 +610,13 @@  discard block
 block discarded – undo
610 610
 	 * @param  string  directory path
611 611
 	 * @return void    function has to handle HTTP response itself
612 612
 	 */
613
-    function GetDir($fspath, &$options)
614
-    {
613
+	function GetDir($fspath, &$options)
614
+	{
615 615
 		// add a content-type header to overwrite an existing default charset in apache (AddDefaultCharset directiv)
616 616
 		header('Content-type: text/html; charset='.translation::charset());
617 617
 
618 618
 		parent::GetDir($fspath, $options);
619
-    }
619
+	}
620 620
 
621 621
 	private $force_download = false;
622 622
 
Please login to merge, or discard this patch.
phpgwapi/inc/class.common.inc.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -138,12 +138,12 @@  discard block
 block discarded – undo
138 138
 	}
139 139
 
140 140
 	/**
141
-	* generate a unique id, which can be used for syncronisation
142
-	*
143
-	* @param string $_appName the appname
144
-	* @param string $_eventID the id of the content
145
-	* @return string the unique id
146
-	*/
141
+	 * generate a unique id, which can be used for syncronisation
142
+	 *
143
+	 * @param string $_appName the appname
144
+	 * @param string $_eventID the id of the content
145
+	 * @return string the unique id
146
+	 */
147 147
 	static function generate_uid($_appName, $_eventID)
148 148
 	{
149 149
 		if(empty($_appName) || empty($_eventID)) return false;
@@ -155,11 +155,11 @@  discard block
 block discarded – undo
155 155
 	}
156 156
 
157 157
 	/**
158
-	* get the local content id from a global UID
159
-	*
160
-	* @param sting $_globalUid the global UID
161
-	* @return int local egw content id
162
-	*/
158
+	 * get the local content id from a global UID
159
+	 *
160
+	 * @param sting $_globalUid the global UID
161
+	 * @return int local egw content id
162
+	 */
163 163
 	static function get_egwId($_globalUid)
164 164
 	{
165 165
 		if(empty($_globalUid)) return false;
@@ -969,7 +969,7 @@  discard block
 block discarded – undo
969 969
 	}
970 970
 
971 971
 	/**
972
- 	 * prepare an array with variables used to render the navbar
972
+	 * prepare an array with variables used to render the navbar
973 973
 	 *
974 974
 	 * @deprecated inherit from egw_framework class in your template and use egw_framework::_navbar_vars()
975 975
 	 */
@@ -1020,33 +1020,33 @@  discard block
 block discarded – undo
1020 1020
 	}
1021 1021
 
1022 1022
 	/**
1023
-	* Used by template headers for including CSS in the header
1024
-	*
1025
-	* @deprecated use $GLOBALS['egw']->framework->_get_css()
1026
-	* @return string
1027
-	*/
1023
+	 * Used by template headers for including CSS in the header
1024
+	 *
1025
+	 * @deprecated use $GLOBALS['egw']->framework->_get_css()
1026
+	 * @return string
1027
+	 */
1028 1028
 	static function get_css()
1029 1029
 	{
1030 1030
 		return $GLOBALS['egw']->framework->_get_css();
1031 1031
 	}
1032 1032
 
1033 1033
 	/**
1034
-	* Used by the template headers for including javascript in the header
1035
-	*
1036
-	* @deprecated use egw_framework::_get_js()
1037
-	* @return string the javascript to be included
1038
-	*/
1034
+	 * Used by the template headers for including javascript in the header
1035
+	 *
1036
+	 * @deprecated use egw_framework::_get_js()
1037
+	 * @return string the javascript to be included
1038
+	 */
1039 1039
 	static function get_java_script()
1040 1040
 	{
1041 1041
 		return egw_framework::_get_js();
1042 1042
 	}
1043 1043
 
1044 1044
 	/**
1045
-	* Returns on(Un)Load attributes from js class
1046
-	*
1047
-	* @deprecated use egw_framework::_get_js()
1048
-	* @returns string body attributes
1049
-	*/
1045
+	 * Returns on(Un)Load attributes from js class
1046
+	 *
1047
+	 * @deprecated use egw_framework::_get_js()
1048
+	 * @returns string body attributes
1049
+	 */
1050 1050
 	static function get_body_attribs()
1051 1051
 	{
1052 1052
 		return egw_framework::_get_body_attribs();
Please login to merge, or discard this patch.