Completed
Push — master ( 4d9699...f6489b )
by Michael
03:33
created
xoops_trust_path/libs/altsys/language/french/myblocksadmin.php 1 patch
Spacing   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -1,52 +1,52 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('_MD_A_MYBLOCKSADMIN_PERMUPDATED', 'Permissions updated successfully') ;
4
-define('_MD_A_MYBLOCKSADMIN_BLOCKADMIN', 'Blocks administration') ;
5
-define('_MD_A_MYBLOCKSADMIN_NAME', 'Name') ;
6
-define('_MD_A_MYBLOCKSADMIN_TITLE', 'Title') ;
7
-define('_MD_A_MYBLOCKSADMIN_SIDE', 'Side') ;
8
-define('_MD_A_MYBLOCKSADMIN_SBLEFT', 'o --- - Gauche') ;
9
-define('_MD_A_MYBLOCKSADMIN_SBRIGHT', '- --- o Droite') ;
10
-define('_MD_A_MYBLOCKSADMIN_CBLEFT', '- o-- - CENTRE-GAUCHE') ;
11
-define('_MD_A_MYBLOCKSADMIN_CBRIGHT', '- --o - CENTRE-DROIT') ;
12
-define('_MD_A_MYBLOCKSADMIN_CBCENTER', '- -o- - CENTRE') ;
13
-define('_MD_A_MYBLOCKSADMIN_VISIBLE', 'Visible') ;
14
-define('_MD_A_MYBLOCKSADMIN_WEIGHT', 'Ordre') ;
15
-define('_MD_A_MYBLOCKSADMIN_VISIBLEIN', 'Visible sur') ;
16
-define('_MD_A_MYBLOCKSADMIN_CONTENT', 'Contenu') ;
17
-define('_MD_A_MYBLOCKSADMIN_CAPT_USABLETAGS', 'Tags Utilisables') ;
18
-define('_MD_A_MYBLOCKSADMIN_FMT_TAGRULE', '%s sera remplaé par %s dans l\'affichage') ;
19
-define('_MD_A_MYBLOCKSADMIN_CTYPE', 'Type personnalisé') ;
20
-define('_MD_A_MYBLOCKSADMIN_EDITTPL', 'Editer le template') ;
21
-define('_MD_A_MYBLOCKSADMIN_OPTIONS', 'Option du Bloc') ;
22
-define('_MD_A_MYBLOCKSADMIN_BCACHETIME', 'Temps du Cache') ;
23
-define('_MD_A_MYBLOCKSADMIN_ACTION', 'Action') ;
24
-define('_MD_A_MYBLOCKSADMIN_DESCRIPTION', 'Description') ;
25
-define('_MD_A_MYBLOCKSADMIN_TOPPAGE', 'Top Page') ;
26
-define('_MD_A_MYBLOCKSADMIN_ALLPAGES', 'Toutes les Pages') ;
27
-define('_MD_A_MYBLOCKSADMIN_PERMFORM', 'Permissions') ;
28
-define('_MD_A_MYBLOCKSADMIN_PERM_MADMIN', 'Admin module') ;
29
-define('_MD_A_MYBLOCKSADMIN_PERM_MREAD', 'Accès module') ;
30
-define('_MD_A_MYBLOCKSADMIN_DBUPDATED', 'Mise à jour avec succès de la Base de données') ;
31
-define('_MD_A_MYBLOCKSADMIN_FMT_REMOVEBLOCK', '%s sera supprimé. Voulez-vous confirmer?') ;
32
-
33
-
34
-define('_MD_A_MYBLOCKSADMIN_CLONEFORM', 'Cloner le bloc') ;
35
-define('_MD_A_MYBLOCKSADMIN_NEWFORM', 'Créer un bloc') ;
36
-define('_MD_A_MYBLOCKSADMIN_EDITFORM', 'Editer un bloc') ;
37
-
38
-define('_MD_A_MYBLOCKSADMIN_LINK_FORCECLONE', 'Forcer clonage') ;
39
-
40
-define('_MD_A_MYBLOCKSADMIN_BTN_CLONE', 'Cloner') ;
41
-define('_MD_A_MYBLOCKSADMIN_BTN_NEW', 'Créer') ;
42
-define('_MD_A_MYBLOCKSADMIN_BTN_EDIT', 'Mise à jour') ;
43
-
44
-define('_MD_A_MYBLOCKSADMIN_CTYPE_HTML', 'Personnalisé (pleinn HTML)') ;
45
-define('_MD_A_MYBLOCKSADMIN_CTYPE_NOSMILE', 'Personnalisé (HTML+BBCODE+AutoLink)') ;
46
-define('_MD_A_MYBLOCKSADMIN_CTYPE_SMILE', 'Personnalisé (HTML+BBCODE+AutoLink+Smiley)') ;
47
-define('_MD_A_MYBLOCKSADMIN_CTYPE_PHP', 'Personnalisé (PHP eval())') ;
48
-
49
-define('_MD_A_MYBLOCKSADMIN_NOTICE4COMMONFCK', 'Si vous voulez utiliser l\'éditeur WYSIWYG, installez common / FCKeditor') ;
3
+define('_MD_A_MYBLOCKSADMIN_PERMUPDATED', 'Permissions updated successfully');
4
+define('_MD_A_MYBLOCKSADMIN_BLOCKADMIN', 'Blocks administration');
5
+define('_MD_A_MYBLOCKSADMIN_NAME', 'Name');
6
+define('_MD_A_MYBLOCKSADMIN_TITLE', 'Title');
7
+define('_MD_A_MYBLOCKSADMIN_SIDE', 'Side');
8
+define('_MD_A_MYBLOCKSADMIN_SBLEFT', 'o --- - Gauche');
9
+define('_MD_A_MYBLOCKSADMIN_SBRIGHT', '- --- o Droite');
10
+define('_MD_A_MYBLOCKSADMIN_CBLEFT', '- o-- - CENTRE-GAUCHE');
11
+define('_MD_A_MYBLOCKSADMIN_CBRIGHT', '- --o - CENTRE-DROIT');
12
+define('_MD_A_MYBLOCKSADMIN_CBCENTER', '- -o- - CENTRE');
13
+define('_MD_A_MYBLOCKSADMIN_VISIBLE', 'Visible');
14
+define('_MD_A_MYBLOCKSADMIN_WEIGHT', 'Ordre');
15
+define('_MD_A_MYBLOCKSADMIN_VISIBLEIN', 'Visible sur');
16
+define('_MD_A_MYBLOCKSADMIN_CONTENT', 'Contenu');
17
+define('_MD_A_MYBLOCKSADMIN_CAPT_USABLETAGS', 'Tags Utilisables');
18
+define('_MD_A_MYBLOCKSADMIN_FMT_TAGRULE', '%s sera remplaé par %s dans l\'affichage');
19
+define('_MD_A_MYBLOCKSADMIN_CTYPE', 'Type personnalisé');
20
+define('_MD_A_MYBLOCKSADMIN_EDITTPL', 'Editer le template');
21
+define('_MD_A_MYBLOCKSADMIN_OPTIONS', 'Option du Bloc');
22
+define('_MD_A_MYBLOCKSADMIN_BCACHETIME', 'Temps du Cache');
23
+define('_MD_A_MYBLOCKSADMIN_ACTION', 'Action');
24
+define('_MD_A_MYBLOCKSADMIN_DESCRIPTION', 'Description');
25
+define('_MD_A_MYBLOCKSADMIN_TOPPAGE', 'Top Page');
26
+define('_MD_A_MYBLOCKSADMIN_ALLPAGES', 'Toutes les Pages');
27
+define('_MD_A_MYBLOCKSADMIN_PERMFORM', 'Permissions');
28
+define('_MD_A_MYBLOCKSADMIN_PERM_MADMIN', 'Admin module');
29
+define('_MD_A_MYBLOCKSADMIN_PERM_MREAD', 'Accès module');
30
+define('_MD_A_MYBLOCKSADMIN_DBUPDATED', 'Mise à jour avec succès de la Base de données');
31
+define('_MD_A_MYBLOCKSADMIN_FMT_REMOVEBLOCK', '%s sera supprimé. Voulez-vous confirmer?');
32
+
33
+
34
+define('_MD_A_MYBLOCKSADMIN_CLONEFORM', 'Cloner le bloc');
35
+define('_MD_A_MYBLOCKSADMIN_NEWFORM', 'Créer un bloc');
36
+define('_MD_A_MYBLOCKSADMIN_EDITFORM', 'Editer un bloc');
37
+
38
+define('_MD_A_MYBLOCKSADMIN_LINK_FORCECLONE', 'Forcer clonage');
39
+
40
+define('_MD_A_MYBLOCKSADMIN_BTN_CLONE', 'Cloner');
41
+define('_MD_A_MYBLOCKSADMIN_BTN_NEW', 'Créer');
42
+define('_MD_A_MYBLOCKSADMIN_BTN_EDIT', 'Mise à jour');
43
+
44
+define('_MD_A_MYBLOCKSADMIN_CTYPE_HTML', 'Personnalisé (pleinn HTML)');
45
+define('_MD_A_MYBLOCKSADMIN_CTYPE_NOSMILE', 'Personnalisé (HTML+BBCODE+AutoLink)');
46
+define('_MD_A_MYBLOCKSADMIN_CTYPE_SMILE', 'Personnalisé (HTML+BBCODE+AutoLink+Smiley)');
47
+define('_MD_A_MYBLOCKSADMIN_CTYPE_PHP', 'Personnalisé (PHP eval())');
48
+
49
+define('_MD_A_MYBLOCKSADMIN_NOTICE4COMMONFCK', 'Si vous voulez utiliser l\'éditeur WYSIWYG, installez common / FCKeditor');
50 50
 
51 51
 
52 52
 // Group permission phrases
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/french/mytplsform.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('_MD_A_MYTPLSFORM_TPLSADMIN', 'Templates') ;
4
-define('_MD_A_MYTPLSFORM_EDIT', 'Edition du template') ;
5
-define('_MD_A_MYTPLSFORM_UPDATED', 'Mise à jour avec succès du template') ;
6
-define('_MD_A_MYTPLSFORM_CREATED', 'Template créé avec succès') ;
7
-define('_MD_A_MYTPLSFORM_LABEL_TPLFILE', 'Nom du Template') ;
8
-define('_MD_A_MYTPLSFORM_BTN_MODIFYCONT', 'Renvoyer') ;
9
-define('_MD_A_MYTPLSFORM_BTN_MODIFYEND', 'Sauvegarder et Terminer') ;
10
-define('_MD_A_MYTPLSFORM_BTN_CREATE', 'Créer') ;
11
-define('_MD_A_MYTPLSFORM_BTN_RESET', 'Annuler') ;
3
+define('_MD_A_MYTPLSFORM_TPLSADMIN', 'Templates');
4
+define('_MD_A_MYTPLSFORM_EDIT', 'Edition du template');
5
+define('_MD_A_MYTPLSFORM_UPDATED', 'Mise à jour avec succès du template');
6
+define('_MD_A_MYTPLSFORM_CREATED', 'Template créé avec succès');
7
+define('_MD_A_MYTPLSFORM_LABEL_TPLFILE', 'Nom du Template');
8
+define('_MD_A_MYTPLSFORM_BTN_MODIFYCONT', 'Renvoyer');
9
+define('_MD_A_MYTPLSFORM_BTN_MODIFYEND', 'Sauvegarder et Terminer');
10
+define('_MD_A_MYTPLSFORM_BTN_CREATE', 'Créer');
11
+define('_MD_A_MYTPLSFORM_BTN_RESET', 'Annuler');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/french/modinfo.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -1,37 +1,37 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('_MI_ALTSYS_MODULENAME', 'ALTSYS') ;
4
-define('_MI_ALTSYS_MODULEDESC', 'Gestion simplifiée du système') ;
3
+define('_MI_ALTSYS_MODULENAME', 'ALTSYS');
4
+define('_MI_ALTSYS_MODULEDESC', 'Gestion simplifiée du système');
5 5
 
6 6
 // menus
7
-define('_MI_ALTSYS_MENU_CUSTOMBLOCKS', 'Blocs personnalisés') ;
8
-define('_MI_ALTSYS_MENU_NEWCUSTOMBLOCK', 'Créer un Nouveau Bloc') ;
9
-define('_MI_ALTSYS_MENU_MYBLOCKSADMIN', 'Blocs des Modules') ;
10
-define('_MI_ALTSYS_MENU_MYTPLSADMIN', 'Templates') ;
11
-define('_MI_ALTSYS_MENU_COMPILEHOOKADMIN', 'Templates Advancés') ;
12
-define('_MI_ALTSYS_MENU_MYLANGADMIN', 'Langages') ;
13
-define('_MI_ALTSYS_MENU_ADVANCEDLANGADMIN', 'Langages Advancés') ;
14
-define('_MI_ALTSYS_MENU_MYAVATAR', 'Avatars') ;
15
-define('_MI_ALTSYS_MENU_MYSMILEY', 'Emoticones') ;
7
+define('_MI_ALTSYS_MENU_CUSTOMBLOCKS', 'Blocs personnalisés');
8
+define('_MI_ALTSYS_MENU_NEWCUSTOMBLOCK', 'Créer un Nouveau Bloc');
9
+define('_MI_ALTSYS_MENU_MYBLOCKSADMIN', 'Blocs des Modules');
10
+define('_MI_ALTSYS_MENU_MYTPLSADMIN', 'Templates');
11
+define('_MI_ALTSYS_MENU_COMPILEHOOKADMIN', 'Templates Advancés');
12
+define('_MI_ALTSYS_MENU_MYLANGADMIN', 'Langages');
13
+define('_MI_ALTSYS_MENU_ADVANCEDLANGADMIN', 'Langages Advancés');
14
+define('_MI_ALTSYS_MENU_MYAVATAR', 'Avatars');
15
+define('_MI_ALTSYS_MENU_MYSMILEY', 'Emoticones');
16 16
 
17 17
 // blocks
18
-define('_MI_ALTSYS_BNAME_ADMIN_MENU', 'Menu Admin') ;
18
+define('_MI_ALTSYS_BNAME_ADMIN_MENU', 'Menu Admin');
19 19
 
20 20
 // configs
21
-define('_MI_ALTSYS_ADMINMENU_HFT', 'Rewrite admin menu') ;
22
-define('_MI_ALTSYS_ADMINMENU_HFTDSC', 'If your admin menu is broken, remove cache/adminmenu.php. This feature works only with XOOPS 2.0.x') ;
23
-define('_MI_ALTSYS_AMHFT_OPT_2COL', 'Two columns of module icons') ;
24
-define('_MI_ALTSYS_AMHFT_OPT_NOIMG', 'IMG to TEXT') ;
25
-define('_MI_ALTSYS_AMHFT_OPT_XCSTY', 'Like XoopsCube Legacy 2.1') ;
21
+define('_MI_ALTSYS_ADMINMENU_HFT', 'Rewrite admin menu');
22
+define('_MI_ALTSYS_ADMINMENU_HFTDSC', 'If your admin menu is broken, remove cache/adminmenu.php. This feature works only with XOOPS 2.0.x');
23
+define('_MI_ALTSYS_AMHFT_OPT_2COL', 'Two columns of module icons');
24
+define('_MI_ALTSYS_AMHFT_OPT_NOIMG', 'IMG to TEXT');
25
+define('_MI_ALTSYS_AMHFT_OPT_XCSTY', 'Like XoopsCube Legacy 2.1');
26 26
 
27
-define('_MI_ALTSYS_ADMINMENU_IM', 'Copy mymenu links into admin menu') ;
28
-define('_MI_ALTSYS_ADMINMENU_IMDSC', 'If your admin menu is broken, remove cache/adminmenu.php. This feature works only with XOOPS 2.0.x') ;
27
+define('_MI_ALTSYS_ADMINMENU_IM', 'Copy mymenu links into admin menu');
28
+define('_MI_ALTSYS_ADMINMENU_IMDSC', 'If your admin menu is broken, remove cache/adminmenu.php. This feature works only with XOOPS 2.0.x');
29 29
 
30
-define('_MI_ALTSYS_ADMIN_IN_THEME', 'Theme set for admin') ;
31
-define('_MI_ALTSYS_ADMIN_IN_THEMEDSC', 'Set the name of the theme displaying admin area. Insert a line just after including common.php in mainfile.php<br />include XOOPS_TRUST_PATH.\'/libs/altsys/include/admin_in_theme.inc.php\';<br /> to enable this. This feature works only with XOOPS 2.0.x') ;
30
+define('_MI_ALTSYS_ADMIN_IN_THEME', 'Theme set for admin');
31
+define('_MI_ALTSYS_ADMIN_IN_THEMEDSC', 'Set the name of the theme displaying admin area. Insert a line just after including common.php in mainfile.php<br />include XOOPS_TRUST_PATH.\'/libs/altsys/include/admin_in_theme.inc.php\';<br /> to enable this. This feature works only with XOOPS 2.0.x');
32 32
 
33
-define('_MI_ALTSYS_ENABLEFORCECLONE', 'Forcer tous les blocs à CLONABLE') ;
34
-define('_MI_ALTSYS_ENABLEFORCECLONEDSC', 'Vous devriez savoir que l\'utilisation de multiples instances d\'un bloc sur une même page peut provoquer des erreurs d\'affichage') ;
33
+define('_MI_ALTSYS_ENABLEFORCECLONE', 'Forcer tous les blocs à CLONABLE');
34
+define('_MI_ALTSYS_ENABLEFORCECLONEDSC', 'Vous devriez savoir que l\'utilisation de multiples instances d\'un bloc sur une même page peut provoquer des erreurs d\'affichage');
35 35
 
36 36
 define('_MI_ALTSYS_IMAGES_DIR', 'Répertoire pour les fichiers image');
37 37
 define('_MI_ALTSYS_IMAGES_DIRDSC', 'chemin relatif dans le répertoire du module. par défaut: images');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/french/mypreferences.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('_MD_A_MYPREFERENCES_FORMTITLE', 'Préférences Modules') ;
4
-define('_MD_A_MYPREFERENCES_UPDATED', 'Mise à jour avec succès des préférences') ;
3
+define('_MD_A_MYPREFERENCES_FORMTITLE', 'Préférences Modules');
4
+define('_MD_A_MYPREFERENCES_UPDATED', 'Mise à jour avec succès des préférences');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/french/mylangadmin.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -1,27 +1,27 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('_MYLANGADMIN_H3_MODULE', 'Module cible') ;
4
-define('_MYLANGADMIN_CACHEUPDATED', 'Le fichier de cache a été mis à jour') ;
5
-define('_MYLANGADMIN_BTN_UPDATE', 'Mise à jour') ;
6
-define('_MYLANGADMIN_BTN_RESET', 'réinitialiser') ;
3
+define('_MYLANGADMIN_H3_MODULE', 'Module cible');
4
+define('_MYLANGADMIN_CACHEUPDATED', 'Le fichier de cache a été mis à jour');
5
+define('_MYLANGADMIN_BTN_UPDATE', 'Mise à jour');
6
+define('_MYLANGADMIN_BTN_RESET', 'réinitialiser');
7 7
 
8
-define('_MYLANGADMIN_TH_CONSTANTNAME', 'Nom de la Constante') ;
9
-define('_MYLANGADMIN_TH_DEFAULTVALUE', 'Valeur par défaut') ;
10
-define('_MYLANGADMIN_TH_USERVALUE', 'Valeur de Utilisateur') ;
8
+define('_MYLANGADMIN_TH_CONSTANTNAME', 'Nom de la Constante');
9
+define('_MYLANGADMIN_TH_DEFAULTVALUE', 'Valeur par défaut');
10
+define('_MYLANGADMIN_TH_USERVALUE', 'Valeur de Utilisateur');
11 11
 
12
-define('_MYLANGADMIN_NOTE_ADDEDBYMYLANG', '(constante ajoutée par utilisateur)') ;
13
-define('_MYLANGADMIN_DT_MYLANGFILENAME', 'Reécriture partielle du nom de fichier') ;
12
+define('_MYLANGADMIN_NOTE_ADDEDBYMYLANG', '(constante ajoutée par utilisateur)');
13
+define('_MYLANGADMIN_DT_MYLANGFILENAME', 'Reécriture partielle du nom de fichier');
14 14
 
15
-define('_MYLANGADMIN_DT_CACHEFILENAME', 'Nom du fichier en Cache') ;
16
-define('_MYLANGADMIN_DT_CACHESTATUS', 'Mise en Cache du statut') ;
17
-define('_MYLANGADMIN_CREATED', 'Créé') ;
18
-define('_MYLANGADMIN_NOTCREATED', 'N\'a pas été créé pour l\'instant') ;
15
+define('_MYLANGADMIN_DT_CACHEFILENAME', 'Nom du fichier en Cache');
16
+define('_MYLANGADMIN_DT_CACHESTATUS', 'Mise en Cache du statut');
17
+define('_MYLANGADMIN_CREATED', 'Créé');
18
+define('_MYLANGADMIN_NOTCREATED', 'N\'a pas été créé pour l\'instant');
19 19
 
20
-define('_MYLANGADMIN_ERR_MODNOLANGUAGE', 'Le module sélectionné n\'a pas de dossier de la langue') ;
21
-define('_MYLANGADMIN_ERR_MODLANGINCOMPATIBLE', 'Le module sélectionné a une structure incompatible') ;
22
-define('_MYLANGADMIN_ERR_MODEMPTYLANGDIR', 'Le module sélectionné n\'a pas de fichier langue de reécriture') ;
20
+define('_MYLANGADMIN_ERR_MODNOLANGUAGE', 'Le module sélectionné n\'a pas de dossier de la langue');
21
+define('_MYLANGADMIN_ERR_MODLANGINCOMPATIBLE', 'Le module sélectionné a une structure incompatible');
22
+define('_MYLANGADMIN_ERR_MODEMPTYLANGDIR', 'Le module sélectionné n\'a pas de fichier langue de reécriture');
23 23
 
24
-define('_MYLANGADMIN_MSG_D3LANGMANENABLED', 'Le système de reécriture est activé dès maintenant.') ;
25
-define('_MYLANGADMIN_FMT_HOWTOENABLED3LANGMAN4XCL', 'Le système de reécriture est désormais désactivé. Pour l\'activer, copiez "%s" dans "%s"') ;
26
-define('_MYLANGADMIN_MSG_HOWTOENABLED3LANGMAN4X2', 'Le système de reécriture ne peut pas fonctionner avec ce noyau de XOOPS, sauf quelques modules D3. Si vous souhaitez l\'activer avec ce noyau, essayez de modifier comme ceci:') ;
27
-define('_MYLANGADMIN_MSG_NOTICE4ALREADYREAD', 'Puisque ce fichier a déjà été lu par le système, cette colonne représente la valeur actuelle') ;
24
+define('_MYLANGADMIN_MSG_D3LANGMANENABLED', 'Le système de reécriture est activé dès maintenant.');
25
+define('_MYLANGADMIN_FMT_HOWTOENABLED3LANGMAN4XCL', 'Le système de reécriture est désormais désactivé. Pour l\'activer, copiez "%s" dans "%s"');
26
+define('_MYLANGADMIN_MSG_HOWTOENABLED3LANGMAN4X2', 'Le système de reécriture ne peut pas fonctionner avec ce noyau de XOOPS, sauf quelques modules D3. Si vous souhaitez l\'activer avec ce noyau, essayez de modifier comme ceci:');
27
+define('_MYLANGADMIN_MSG_NOTICE4ALREADYREAD', 'Puisque ce fichier a déjà été lu par le système, cette colonne représente la valeur actuelle');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/french/mytplsadmin.php 1 patch
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -1,27 +1,27 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('_MYTPLSADMIN_CREATE_NEW_TPLSET', 'Créer une nouvelle série') ;
4
-define('_MYTPLSADMIN_CAPTION_BASE', 'Base') ;
5
-define('_MYTPLSADMIN_CAPTION_SETNAME', 'nom') ;
6
-define('_MYTPLSADMIN_OPT_BLANKSET', '(vide)') ;
7
-define('_MYTPLSADMIN_CAPTION_COPYTO', 'à') ;
8
-define('_MYTPLSADMIN_BTN_COPY', 'COPIER') ;
9
-define('_MYTPLSADMIN_TITLE_CHECKALL', 'Activer / désactiver toutes les cases de cette ligne') ;
10
-define('_MYTPLSADMIN_CNF_DELETE_SELECTED_TEMPLATES', 'Tous les templates sélectionnés dans l\'ensemble (ligne) seront supprimés. Voulez-vous confirmer?') ;
11
-define('_MYTPLSADMIN_CNF_COPY_SELECTED_TEMPLATES', 'Tous les templates sélectionnés dans l\'ensemble (ligne) seront copiés/écrasé dans l\'ensemble sélectionné. Voulez-vous confirmer?') ;
12
-define('_MYTPLSADMIN_TH_NAME', 'Nom template name') ;
13
-define('_MYTPLSADMIN_TH_TYPE', 'type') ;
14
-define('_MYTPLSADMIN_TH_FILE', 'fichier source') ;
15
-define('_MYTPLSADMIN_ERR_NOTPLFILE', 'Aucun template sélectionné.') ;
16
-define('_MYTPLSADMIN_ERR_INVALIDTPLSET', "L\'ensemble de destination est le même que la source, ou aucun ensemble de templates n\'a été spécifié.") ;
17
-define('_MYTPLSADMIN_ERR_CANTREMOVEDEFAULT', "Vous ne pouvez pas supprimer l'ensemble 'default'.") ;
18
-define('_MYTPLSADMIN_ERR_DUPLICATEDSETNAME', "Ce nom d'ensemble de templates existe déjà.") ;
19
-define('_MYTPLSADMIN_ERR_INVALIDSETNAME', "un mauvais nom d'ensemble de templates a été spécifié.") ;
3
+define('_MYTPLSADMIN_CREATE_NEW_TPLSET', 'Créer une nouvelle série');
4
+define('_MYTPLSADMIN_CAPTION_BASE', 'Base');
5
+define('_MYTPLSADMIN_CAPTION_SETNAME', 'nom');
6
+define('_MYTPLSADMIN_OPT_BLANKSET', '(vide)');
7
+define('_MYTPLSADMIN_CAPTION_COPYTO', 'à');
8
+define('_MYTPLSADMIN_BTN_COPY', 'COPIER');
9
+define('_MYTPLSADMIN_TITLE_CHECKALL', 'Activer / désactiver toutes les cases de cette ligne');
10
+define('_MYTPLSADMIN_CNF_DELETE_SELECTED_TEMPLATES', 'Tous les templates sélectionnés dans l\'ensemble (ligne) seront supprimés. Voulez-vous confirmer?');
11
+define('_MYTPLSADMIN_CNF_COPY_SELECTED_TEMPLATES', 'Tous les templates sélectionnés dans l\'ensemble (ligne) seront copiés/écrasé dans l\'ensemble sélectionné. Voulez-vous confirmer?');
12
+define('_MYTPLSADMIN_TH_NAME', 'Nom template name');
13
+define('_MYTPLSADMIN_TH_TYPE', 'type');
14
+define('_MYTPLSADMIN_TH_FILE', 'fichier source');
15
+define('_MYTPLSADMIN_ERR_NOTPLFILE', 'Aucun template sélectionné.');
16
+define('_MYTPLSADMIN_ERR_INVALIDTPLSET', "L\'ensemble de destination est le même que la source, ou aucun ensemble de templates n\'a été spécifié.");
17
+define('_MYTPLSADMIN_ERR_CANTREMOVEDEFAULT', "Vous ne pouvez pas supprimer l'ensemble 'default'.");
18
+define('_MYTPLSADMIN_ERR_DUPLICATEDSETNAME', "Ce nom d'ensemble de templates existe déjà.");
19
+define('_MYTPLSADMIN_ERR_INVALIDSETNAME', "un mauvais nom d'ensemble de templates a été spécifié.");
20 20
 
21
-define('_MYTPLSADMIN_H3_MODULE', 'Module') ;
22
-define('_MYTPLSADMIN_BTN_NEWTPLSET', 'créer') ;
21
+define('_MYTPLSADMIN_H3_MODULE', 'Module');
22
+define('_MYTPLSADMIN_BTN_NEWTPLSET', 'créer');
23 23
 
24
-define('_MYTPLSADMIN_DBUPDATED', 'Mise à jour avec succès des Templates') ;
24
+define('_MYTPLSADMIN_DBUPDATED', 'Mise à jour avec succès des Templates');
25 25
 
26
-define('_MYTPLSADMIN_CUSTOMTEMPLATE', 'Template personnalisé') ;
27
-define('_MYTPLSADMIN_CREATENEWCUSTOMTEMPLATE', 'Créer un nouveau template personnalisé') ;
26
+define('_MYTPLSADMIN_CUSTOMTEMPLATE', 'Template personnalisé');
27
+define('_MYTPLSADMIN_CREATENEWCUSTOMTEMPLATE', 'Créer un nouveau template personnalisé');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/put_templates.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -5,25 +5,25 @@  discard block
 block discarded – undo
5 5
 //                        GIJOE <http://www.peak.ne.jp/>                     //
6 6
 // ------------------------------------------------------------------------- //
7 7
 
8
-include_once __DIR__.'/include/gtickets.php' ;
9
-include_once __DIR__.'/include/altsys_functions.php' ;
10
-include_once __DIR__.'/include/tpls_functions.php' ;
8
+include_once __DIR__.'/include/gtickets.php';
9
+include_once __DIR__.'/include/altsys_functions.php';
10
+include_once __DIR__.'/include/tpls_functions.php';
11 11
 
12 12
 
13 13
 // this page can be called only from altsys
14 14
 if ($xoopsModule->getVar('dirname') != 'altsys') {
15
-    die('this page can be called only from altsys') ;
15
+    die('this page can be called only from altsys');
16 16
 }
17 17
 
18 18
 
19 19
 // language file
20
-altsys_include_language_file('compilehookadmin') ;
20
+altsys_include_language_file('compilehookadmin');
21 21
 
22 22
 
23
-$db = XoopsDatabaseFactory::getDatabaseConnection() ;
23
+$db = XoopsDatabaseFactory::getDatabaseConnection();
24 24
 
25
-if (empty($_FILES['tplset_archive']['tmp_name']) || ! is_uploaded_file($_FILES['tplset_archive']['tmp_name'])) {
26
-    die(_TPLSADMIN_ERR_NOTUPLOADED) ;
25
+if (empty($_FILES['tplset_archive']['tmp_name']) || !is_uploaded_file($_FILES['tplset_archive']['tmp_name'])) {
26
+    die(_TPLSADMIN_ERR_NOTUPLOADED);
27 27
 }
28 28
 //fix for mb_http_output setting and for add any browsers
29 29
     if (function_exists('mb_http_output')) {
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 //ob_buffer over flow
33 33
 //HACK by suin & nao-pon 2012/01/06
34 34
     while (ob_get_level() > 0) {
35
-        if (! ob_end_clean()) {
35
+        if (!ob_end_clean()) {
36 36
             break;
37 37
         }
38 38
     }
@@ -41,62 +41,62 @@  discard block
 block discarded – undo
41 41
 // EXTRACT STAGE
42 42
 //
43 43
 
44
-$orig_filename4check = strtolower($_FILES['tplset_archive']['name']) ;
44
+$orig_filename4check = strtolower($_FILES['tplset_archive']['name']);
45 45
 if (strtolower(substr($orig_filename4check, -4)) == '.zip') {
46 46
 
47 47
     // zip
48
-    require_once __DIR__.'/include/Archive_Zip.php' ;
49
-    $reader = new Archive_Zip($_FILES['tplset_archive']['tmp_name']) ;
50
-    $files = $reader->extract(array( 'extract_as_string' => true )) ;
51
-    if (! is_array(@$files)) {
52
-        die($reader->errorName()) ;
48
+    require_once __DIR__.'/include/Archive_Zip.php';
49
+    $reader = new Archive_Zip($_FILES['tplset_archive']['tmp_name']);
50
+    $files = $reader->extract(array('extract_as_string' => true));
51
+    if (!is_array(@$files)) {
52
+        die($reader->errorName());
53 53
     }
54
-    $do_upload = true ;
54
+    $do_upload = true;
55 55
 } elseif (substr($orig_filename4check, -4) == '.tgz' || substr($orig_filename4check, -7) == '.tar.gz') {
56 56
 
57 57
     // tar.gz
58
-    require_once XOOPS_ROOT_PATH.'/class/class.tar.php' ;
59
-    $tar = new tar() ;
60
-    $tar->openTAR($_FILES['tplset_archive']['tmp_name']) ;
61
-    $files = array() ;
58
+    require_once XOOPS_ROOT_PATH.'/class/class.tar.php';
59
+    $tar = new tar();
60
+    $tar->openTAR($_FILES['tplset_archive']['tmp_name']);
61
+    $files = array();
62 62
     foreach ($tar->files as $id => $info) {
63 63
         $files[] = array(
64
-            'filename' => $info['name'] ,
65
-            'mtime' => $info['time'] ,
64
+            'filename' => $info['name'],
65
+            'mtime' => $info['time'],
66 66
             'content' => $info['file']
67
-        ) ;
67
+        );
68 68
     }
69 69
     if (empty($files)) {
70
-        die(_TPLSADMIN_ERR_INVALIDARCHIVE) ;
70
+        die(_TPLSADMIN_ERR_INVALIDARCHIVE);
71 71
     }
72
-    $do_upload = true ;
72
+    $do_upload = true;
73 73
 }
74 74
 
75 75
 if (empty($do_upload)) {
76
-    die(_TPLSADMIN_ERR_EXTENSION) ;
76
+    die(_TPLSADMIN_ERR_EXTENSION);
77 77
 }
78 78
 
79 79
 //
80 80
 // IMPORT STAGE
81 81
 //
82 82
 
83
-$tplset = @$_POST['tplset'] ;
84
-if (! preg_match('/^[0-9A-Za-z_-]{1,16}$/', $tplset)) {
85
-    die(_TPLSADMIN_ERR_INVALIDTPLSET) ;
83
+$tplset = @$_POST['tplset'];
84
+if (!preg_match('/^[0-9A-Za-z_-]{1,16}$/', $tplset)) {
85
+    die(_TPLSADMIN_ERR_INVALIDTPLSET);
86 86
 }
87 87
 
88
-$imported = 0 ;
88
+$imported = 0;
89 89
 foreach ($files as $file) {
90
-    if (! empty($file['folder'])) {
91
-        continue ;
90
+    if (!empty($file['folder'])) {
91
+        continue;
92 92
     }
93
-    $pos = strrpos($file['filename'], '/') ;
94
-    $tpl_file = $pos === false ? $file['filename'] : substr($file['filename'], $pos + 1) ;
93
+    $pos = strrpos($file['filename'], '/');
94
+    $tpl_file = $pos === false ? $file['filename'] : substr($file['filename'], $pos + 1);
95 95
 
96 96
     if (tplsadmin_import_data($tplset, $tpl_file, rtrim($file['content']), $file['mtime'])) {
97
-        $imported ++ ;
97
+        $imported++;
98 98
     }
99 99
 }
100 100
 
101
-redirect_header('?mode=admin&lib=altsys&page=compilehookadmin', 3, sprintf(_TPLSADMIN_FMT_MSG_PUTTEMPLATES, $imported)) ;
102
-exit ;
101
+redirect_header('?mode=admin&lib=altsys&page=compilehookadmin', 3, sprintf(_TPLSADMIN_FMT_MSG_PUTTEMPLATES, $imported));
102
+exit;
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/autoupdate_from_module.inc.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,45 +1,45 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! $xoopsConfig['theme_fromfile']) {
4
-    return ;
3
+if (!$xoopsConfig['theme_fromfile']) {
4
+    return;
5 5
 }
6 6
 
7 7
 // templates/ under modules
8 8
 // $tplsadmin_autoupdate_path = XOOPS_THEME_PATH . '/' . $xoopsConfig['theme_set'] . '/templates' ;
9 9
 
10
-if (! is_array(@$tplsadmin_autoupdate_dirnames)) {
11
-    return ;
10
+if (!is_array(@$tplsadmin_autoupdate_dirnames)) {
11
+    return;
12 12
 }
13 13
 
14 14
 foreach ($tplsadmin_autoupdate_dirnames as $dirname) {
15
-    $dirname = preg_replace('/[^a-zA-Z0-9_-]/', '', $dirname) ;
16
-    $tplsadmin_autoupdate_path = XOOPS_ROOT_PATH . '/modules/' . $dirname . '/templates' ;
15
+    $dirname = preg_replace('/[^a-zA-Z0-9_-]/', '', $dirname);
16
+    $tplsadmin_autoupdate_path = XOOPS_ROOT_PATH.'/modules/'.$dirname.'/templates';
17 17
 
18 18
     // modules
19
-    if ($handler = @opendir($tplsadmin_autoupdate_path . '/')) {
19
+    if ($handler = @opendir($tplsadmin_autoupdate_path.'/')) {
20 20
         while (($file = readdir($handler)) !== false) {
21
-            $file_path = $tplsadmin_autoupdate_path . '/' . $file ;
21
+            $file_path = $tplsadmin_autoupdate_path.'/'.$file;
22 22
             if (is_file($file_path) && substr($file, -5) == '.html') {
23 23
                 $mtime = (int)(@filemtime($file_path));
24
-                list($count) = $xoopsDB->fetchRow($xoopsDB->query('SELECT COUNT(*) FROM ' . $xoopsDB->prefix('tplfile') . " WHERE tpl_tplset='" . addslashes($xoopsConfig['template_set']) . "' AND tpl_file='" . addslashes($file) . "' AND tpl_lastmodified >= $mtime")) ;
24
+                list($count) = $xoopsDB->fetchRow($xoopsDB->query('SELECT COUNT(*) FROM '.$xoopsDB->prefix('tplfile')." WHERE tpl_tplset='".addslashes($xoopsConfig['template_set'])."' AND tpl_file='".addslashes($file)."' AND tpl_lastmodified >= $mtime"));
25 25
                 if ($count <= 0) {
26
-                    include_once XOOPS_TRUST_PATH.'/libs/altsys/include/tpls_functions.php' ;
27
-                    tplsadmin_import_data($xoopsConfig['template_set'], $file, implode('', file($file_path)), $mtime) ;
26
+                    include_once XOOPS_TRUST_PATH.'/libs/altsys/include/tpls_functions.php';
27
+                    tplsadmin_import_data($xoopsConfig['template_set'], $file, implode('', file($file_path)), $mtime);
28 28
                 }
29 29
             }
30 30
         }
31 31
     }
32 32
 
33 33
     // blocks
34
-    if ($handler = @opendir($tplsadmin_autoupdate_path . '/blocks/')) {
34
+    if ($handler = @opendir($tplsadmin_autoupdate_path.'/blocks/')) {
35 35
         while (($file = readdir($handler)) !== false) {
36
-            $file_path = $tplsadmin_autoupdate_path . '/blocks/' . $file ;
36
+            $file_path = $tplsadmin_autoupdate_path.'/blocks/'.$file;
37 37
             if (is_file($file_path) && substr($file, -5) == '.html') {
38 38
                 $mtime = (int)(@filemtime($file_path));
39
-                list($count) = $xoopsDB->fetchRow($xoopsDB->query('SELECT COUNT(*) FROM ' . $xoopsDB->prefix('tplfile') . " WHERE tpl_tplset='" . addslashes($xoopsConfig['template_set']) . "' AND tpl_file='" . addslashes($file) . "' AND tpl_lastmodified >= $mtime")) ;
39
+                list($count) = $xoopsDB->fetchRow($xoopsDB->query('SELECT COUNT(*) FROM '.$xoopsDB->prefix('tplfile')." WHERE tpl_tplset='".addslashes($xoopsConfig['template_set'])."' AND tpl_file='".addslashes($file)."' AND tpl_lastmodified >= $mtime"));
40 40
                 if ($count <= 0) {
41
-                    include_once XOOPS_TRUST_PATH.'/libs/altsys/include/tpls_functions.php' ;
42
-                    tplsadmin_import_data($xoopsConfig['template_set'], $file, implode('', file($file_path)), $mtime) ;
41
+                    include_once XOOPS_TRUST_PATH.'/libs/altsys/include/tpls_functions.php';
42
+                    tplsadmin_import_data($xoopsConfig['template_set'], $file, implode('', file($file_path)), $mtime);
43 43
                 }
44 44
             }
45 45
         }
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/include/autoupdate_from_theme.inc.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! $xoopsConfig['theme_fromfile']) {
4
-    return ;
3
+if (!$xoopsConfig['theme_fromfile']) {
4
+    return;
5 5
 }
6 6
 
7 7
 // templates/ under the theme
8
-$tplsadmin_autoupdate_path = XOOPS_THEME_PATH . '/' . $xoopsConfig['theme_set'] . '/templates' ;
8
+$tplsadmin_autoupdate_path = XOOPS_THEME_PATH.'/'.$xoopsConfig['theme_set'].'/templates';
9 9
 
10
-if ($handler = @opendir($tplsadmin_autoupdate_path . '/')) {
10
+if ($handler = @opendir($tplsadmin_autoupdate_path.'/')) {
11 11
     while (($file = readdir($handler)) !== false) {
12
-        $file_path = $tplsadmin_autoupdate_path . '/' . $file ;
12
+        $file_path = $tplsadmin_autoupdate_path.'/'.$file;
13 13
         if (is_file($file_path) && substr($file, -5) == '.html') {
14 14
             $mtime = (int)(@filemtime($file_path));
15
-            list($count) = $xoopsDB->fetchRow($xoopsDB->query('SELECT COUNT(*) FROM ' . $xoopsDB->prefix('tplfile') . " WHERE tpl_tplset='" . addslashes($xoopsConfig['template_set']) . "' AND tpl_file='" . addslashes($file) . "' AND tpl_lastmodified >= $mtime")) ;
15
+            list($count) = $xoopsDB->fetchRow($xoopsDB->query('SELECT COUNT(*) FROM '.$xoopsDB->prefix('tplfile')." WHERE tpl_tplset='".addslashes($xoopsConfig['template_set'])."' AND tpl_file='".addslashes($file)."' AND tpl_lastmodified >= $mtime"));
16 16
             if ($count <= 0) {
17
-                include_once XOOPS_TRUST_PATH.'/libs/altsys/include/tpls_functions.php' ;
18
-                tplsadmin_import_data($xoopsConfig['template_set'], $file, implode('', file($file_path)), $mtime) ;
17
+                include_once XOOPS_TRUST_PATH.'/libs/altsys/include/tpls_functions.php';
18
+                tplsadmin_import_data($xoopsConfig['template_set'], $file, implode('', file($file_path)), $mtime);
19 19
             }
20 20
         }
21 21
     }
Please login to merge, or discard this patch.