Completed
Branch master (0881bb)
by Michael
04:14
created
xoops_trust_path/libs/altsys/language/english/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', 'Target module') ;
4
-define('_MYLANGADMIN_CACHEUPDATED', 'The cache file has been updated') ;
5
-define('_MYLANGADMIN_BTN_UPDATE', 'Update') ;
6
-define('_MYLANGADMIN_BTN_RESET', 'Reset') ;
3
+define('_MYLANGADMIN_H3_MODULE', 'Target module');
4
+define('_MYLANGADMIN_CACHEUPDATED', 'The cache file has been updated');
5
+define('_MYLANGADMIN_BTN_UPDATE', 'Update');
6
+define('_MYLANGADMIN_BTN_RESET', 'Reset');
7 7
 
8
-define('_MYLANGADMIN_TH_CONSTANTNAME', 'Constant Name') ;
9
-define('_MYLANGADMIN_TH_DEFAULTVALUE', 'Default Value') ;
10
-define('_MYLANGADMIN_TH_USERVALUE', 'User Value') ;
8
+define('_MYLANGADMIN_TH_CONSTANTNAME', 'Constant Name');
9
+define('_MYLANGADMIN_TH_DEFAULTVALUE', 'Default Value');
10
+define('_MYLANGADMIN_TH_USERVALUE', 'User Value');
11 11
 
12
-define('_MYLANGADMIN_NOTE_ADDEDBYMYLANG', '(a constant added by user)') ;
13
-define('_MYLANGADMIN_DT_MYLANGFILENAME', 'Partially overriding file name') ;
12
+define('_MYLANGADMIN_NOTE_ADDEDBYMYLANG', '(a constant added by user)');
13
+define('_MYLANGADMIN_DT_MYLANGFILENAME', 'Partially overriding file name');
14 14
 
15
-define('_MYLANGADMIN_DT_CACHEFILENAME', 'Cache file name') ;
16
-define('_MYLANGADMIN_DT_CACHESTATUS', 'Caching status') ;
17
-define('_MYLANGADMIN_CREATED', 'Created') ;
18
-define('_MYLANGADMIN_NOTCREATED', 'Has not created yet') ;
15
+define('_MYLANGADMIN_DT_CACHEFILENAME', 'Cache file name');
16
+define('_MYLANGADMIN_DT_CACHESTATUS', 'Caching status');
17
+define('_MYLANGADMIN_CREATED', 'Created');
18
+define('_MYLANGADMIN_NOTCREATED', 'Has not created yet');
19 19
 
20
-define('_MYLANGADMIN_ERR_MODNOLANGUAGE', 'Selected module does not have language folder') ;
21
-define('_MYLANGADMIN_ERR_MODLANGINCOMPATIBLE', 'Selected module has incompatible language structure') ;
22
-define('_MYLANGADMIN_ERR_MODEMPTYLANGDIR', 'Selected module does not have overridable language file') ;
20
+define('_MYLANGADMIN_ERR_MODNOLANGUAGE', 'Selected module does not have language folder');
21
+define('_MYLANGADMIN_ERR_MODLANGINCOMPATIBLE', 'Selected module has incompatible language structure');
22
+define('_MYLANGADMIN_ERR_MODEMPTYLANGDIR', 'Selected module does not have overridable language file');
23 23
 
24
-define('_MYLANGADMIN_MSG_D3LANGMANENABLED', 'The overriding system is enabled now.') ;
25
-define('_MYLANGADMIN_FMT_HOWTOENABLED3LANGMAN4XCL', 'The overriding system is disabled now. To enable it, copy "%s" into "%s"') ;
26
-define('_MYLANGADMIN_MSG_HOWTOENABLED3LANGMAN4X2', 'The overriding system cannot work with this XOOPS core except some D3 modules. If you want to enable it with this core, try to hack like this:') ;
27
-define('_MYLANGADMIN_MSG_NOTICE4ALREADYREAD', 'Since this file has been already read by system, this column means current value') ;
24
+define('_MYLANGADMIN_MSG_D3LANGMANENABLED', 'The overriding system is enabled now.');
25
+define('_MYLANGADMIN_FMT_HOWTOENABLED3LANGMAN4XCL', 'The overriding system is disabled now. To enable it, copy "%s" into "%s"');
26
+define('_MYLANGADMIN_MSG_HOWTOENABLED3LANGMAN4X2', 'The overriding system cannot work with this XOOPS core except some D3 modules. If you want to enable it with this core, try to hack like this:');
27
+define('_MYLANGADMIN_MSG_NOTICE4ALREADYREAD', 'Since this file has been already read by system, this column means current value');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/english/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', 'Create a new set') ;
4
-define('_MYTPLSADMIN_CAPTION_BASE', 'Base') ;
5
-define('_MYTPLSADMIN_CAPTION_SETNAME', 'name') ;
6
-define('_MYTPLSADMIN_OPT_BLANKSET', '(blank)') ;
7
-define('_MYTPLSADMIN_CAPTION_COPYTO', 'to') ;
8
-define('_MYTPLSADMIN_BTN_COPY', 'COPY') ;
9
-define('_MYTPLSADMIN_TITLE_CHECKALL', 'Turn on/off all of checkboxes in this row') ;
10
-define('_MYTPLSADMIN_CNF_DELETE_SELECTED_TEMPLATES', 'All of checked templates in the set(row) will be removed. Are you OK?') ;
11
-define('_MYTPLSADMIN_CNF_COPY_SELECTED_TEMPLATES', 'All of checked templates in the set(row) will be copied/overwritten into the selected set. Are you OK?') ;
12
-define('_MYTPLSADMIN_TH_NAME', 'template name') ;
13
-define('_MYTPLSADMIN_TH_TYPE', 'type') ;
14
-define('_MYTPLSADMIN_TH_FILE', 'base file') ;
15
-define('_MYTPLSADMIN_ERR_NOTPLFILE', "No template is checked.") ;
16
-define('_MYTPLSADMIN_ERR_INVALIDTPLSET', "Destination set is same as source set, or no valid tplset is specified.") ;
17
-define('_MYTPLSADMIN_ERR_CANTREMOVEDEFAULT', "You can't remove 'default' template.") ;
18
-define('_MYTPLSADMIN_ERR_DUPLICATEDSETNAME', "The set name already exists.") ;
19
-define('_MYTPLSADMIN_ERR_INVALIDSETNAME', "a wrong set name is specified.") ;
3
+define('_MYTPLSADMIN_CREATE_NEW_TPLSET', 'Create a new set');
4
+define('_MYTPLSADMIN_CAPTION_BASE', 'Base');
5
+define('_MYTPLSADMIN_CAPTION_SETNAME', 'name');
6
+define('_MYTPLSADMIN_OPT_BLANKSET', '(blank)');
7
+define('_MYTPLSADMIN_CAPTION_COPYTO', 'to');
8
+define('_MYTPLSADMIN_BTN_COPY', 'COPY');
9
+define('_MYTPLSADMIN_TITLE_CHECKALL', 'Turn on/off all of checkboxes in this row');
10
+define('_MYTPLSADMIN_CNF_DELETE_SELECTED_TEMPLATES', 'All of checked templates in the set(row) will be removed. Are you OK?');
11
+define('_MYTPLSADMIN_CNF_COPY_SELECTED_TEMPLATES', 'All of checked templates in the set(row) will be copied/overwritten into the selected set. Are you OK?');
12
+define('_MYTPLSADMIN_TH_NAME', 'template name');
13
+define('_MYTPLSADMIN_TH_TYPE', 'type');
14
+define('_MYTPLSADMIN_TH_FILE', 'base file');
15
+define('_MYTPLSADMIN_ERR_NOTPLFILE', "No template is checked.");
16
+define('_MYTPLSADMIN_ERR_INVALIDTPLSET', "Destination set is same as source set, or no valid tplset is specified.");
17
+define('_MYTPLSADMIN_ERR_CANTREMOVEDEFAULT', "You can't remove 'default' template.");
18
+define('_MYTPLSADMIN_ERR_DUPLICATEDSETNAME', "The set name already exists.");
19
+define('_MYTPLSADMIN_ERR_INVALIDSETNAME', "a wrong set name is specified.");
20 20
 
21
-define('_MYTPLSADMIN_H3_MODULE', 'Module') ;
22
-define('_MYTPLSADMIN_BTN_NEWTPLSET', 'create') ;
21
+define('_MYTPLSADMIN_H3_MODULE', 'Module');
22
+define('_MYTPLSADMIN_BTN_NEWTPLSET', 'create');
23 23
 
24
-define('_MYTPLSADMIN_DBUPDATED', 'Templates updated successfully') ;
24
+define('_MYTPLSADMIN_DBUPDATED', 'Templates updated successfully');
25 25
 
26
-define('_MYTPLSADMIN_CUSTOMTEMPLATE', 'Custom template') ;
27
-define('_MYTPLSADMIN_CREATENEWCUSTOMTEMPLATE', 'Create a new custom template') ;
26
+define('_MYTPLSADMIN_CUSTOMTEMPLATE', 'Custom template');
27
+define('_MYTPLSADMIN_CREATENEWCUSTOMTEMPLATE', 'Create a new custom template');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/english/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', 'Module\'s preferences') ;
4
-define('_MD_A_MYPREFERENCES_UPDATED', 'Preferences are updated successfully') ;
3
+define('_MD_A_MYPREFERENCES_FORMTITLE', 'Module\'s preferences');
4
+define('_MD_A_MYPREFERENCES_UPDATED', 'Preferences are updated successfully');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/english/compilehookadmin.php 1 patch
Spacing   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -1,50 +1,50 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('_TPLSADMIN_FMT_MSG_ENCLOSEBYCOMMENT', '%d template caches have been enclosed by tplsadmin comments') ;
4
-define('_TPLSADMIN_DT_ENCLOSEBYCOMMENT', 'Implant comments') ;
5
-define('_TPLSADMIN_DD_ENCLOSEBYCOMMENT', 'Two HTML comments will be implanted in the begging/ending point of each templates. Since this rarely breaks its design, it is recommended to professionals can read HTML itself') ;
6
-define('_TPLSADMIN_CNF_ENCLOSEBYCOMMENT', 'Compiled template caches will be enclosed by tplsadmin comments. Are you OK?') ;
3
+define('_TPLSADMIN_FMT_MSG_ENCLOSEBYCOMMENT', '%d template caches have been enclosed by tplsadmin comments');
4
+define('_TPLSADMIN_DT_ENCLOSEBYCOMMENT', 'Implant comments');
5
+define('_TPLSADMIN_DD_ENCLOSEBYCOMMENT', 'Two HTML comments will be implanted in the begging/ending point of each templates. Since this rarely breaks its design, it is recommended to professionals can read HTML itself');
6
+define('_TPLSADMIN_CNF_ENCLOSEBYCOMMENT', 'Compiled template caches will be enclosed by tplsadmin comments. Are you OK?');
7 7
 
8 8
 
9
-define('_TPLSADMIN_FMT_MSG_ENCLOSEBYBORDEREDDIV', '%d template caches have been enclosed by div tags') ;
10
-define('_TPLSADMIN_DT_ENCLOSEBYBORDEREDDIV', 'Implant div tags') ;
11
-define('_TPLSADMIN_DD_ENCLOSEBYBORDEREDDIV', 'Each templates will be enclosed by black-bordered div tags. A link for editing controller of tplsadmin will be implanted into each templates. Though this often cause destructions in designing, you can edit each templates the most instictively and easily.') ;
12
-define('_TPLSADMIN_CNF_ENCLOSEBYBORDEREDDIV', 'Compiled template caches will be enclosed by div tags. Are you OK?') ;
9
+define('_TPLSADMIN_FMT_MSG_ENCLOSEBYBORDEREDDIV', '%d template caches have been enclosed by div tags');
10
+define('_TPLSADMIN_DT_ENCLOSEBYBORDEREDDIV', 'Implant div tags');
11
+define('_TPLSADMIN_DD_ENCLOSEBYBORDEREDDIV', 'Each templates will be enclosed by black-bordered div tags. A link for editing controller of tplsadmin will be implanted into each templates. Though this often cause destructions in designing, you can edit each templates the most instictively and easily.');
12
+define('_TPLSADMIN_CNF_ENCLOSEBYBORDEREDDIV', 'Compiled template caches will be enclosed by div tags. Are you OK?');
13 13
 
14
-define('_TPLSADMIN_FMT_MSG_HOOKSAVEVARS', '%d template caches have been implanted hooking logics to collect template varibles') ;
15
-define('_TPLSADMIN_DT_HOOKSAVEVARS', 'Implant logics to collect template variables') ;
16
-define('_TPLSADMIN_DD_HOOKSAVEVARS', 'The first step of getting the informations of template variables in your site. The template vars infos will be collected when public sides of your site is displayed. If all templates you want to edit are displayed, get template vars info by underlying buttons.') ;
17
-define('_TPLSADMIN_CNF_HOOKSAVEVARS', 'Compiled template caches will be implanted the logics to collect template variables. Are you OK?') ;
14
+define('_TPLSADMIN_FMT_MSG_HOOKSAVEVARS', '%d template caches have been implanted hooking logics to collect template varibles');
15
+define('_TPLSADMIN_DT_HOOKSAVEVARS', 'Implant logics to collect template variables');
16
+define('_TPLSADMIN_DD_HOOKSAVEVARS', 'The first step of getting the informations of template variables in your site. The template vars infos will be collected when public sides of your site is displayed. If all templates you want to edit are displayed, get template vars info by underlying buttons.');
17
+define('_TPLSADMIN_CNF_HOOKSAVEVARS', 'Compiled template caches will be implanted the logics to collect template variables. Are you OK?');
18 18
 
19
-define('_TPLSADMIN_FMT_MSG_REMOVEHOOKS', '%d template caches have been normalized') ;
20
-define('_TPLSADMIN_DT_REMOVEHOOKS', 'Normalize compiled template caches') ;
21
-define('_TPLSADMIN_DD_REMOVEHOOKS', 'This removes comments/div tags/logics implanted by upper operations from each compiled template caches.') ;
22
-define('_TPLSADMIN_CNF_REMOVEHOOKS', 'Are you OK for normlizing?') ;
19
+define('_TPLSADMIN_FMT_MSG_REMOVEHOOKS', '%d template caches have been normalized');
20
+define('_TPLSADMIN_DT_REMOVEHOOKS', 'Normalize compiled template caches');
21
+define('_TPLSADMIN_DD_REMOVEHOOKS', 'This removes comments/div tags/logics implanted by upper operations from each compiled template caches.');
22
+define('_TPLSADMIN_CNF_REMOVEHOOKS', 'Are you OK for normlizing?');
23 23
 
24 24
 
25
-define('_TPLSADMIN_MSG_CLEARCACHE', 'Template caches are removed') ;
26
-define('_TPLSADMIN_MSG_CREATECOMPILECACHEFIRST', 'There are no compiled template caches. Create complied template caches by displaying public sides of your site, first') ;
25
+define('_TPLSADMIN_MSG_CLEARCACHE', 'Template caches are removed');
26
+define('_TPLSADMIN_MSG_CREATECOMPILECACHEFIRST', 'There are no compiled template caches. Create complied template caches by displaying public sides of your site, first');
27 27
 
28
-define('_TPLSADMIN_CNF_DELETEOK', 'Delete OK?') ;
28
+define('_TPLSADMIN_CNF_DELETEOK', 'Delete OK?');
29 29
 
30 30
 
31
-define('_TPLSADMIN_DT_GETTPLSVARSINFO_DW', 'Get info of template variables as DreamWeaver Extensions') ;
32
-define('_TPLSADMIN_DD_GETTPLSVARSINFO_DW', 'Open Macromedia Extension Manager, first.<br />Extract the download archive.<br />Execute the files which extensions are .mxi and you will meet installing dialogs.<br />The snippets for template variables of your site will be usable after restarting Dream Weaver.') ;
31
+define('_TPLSADMIN_DT_GETTPLSVARSINFO_DW', 'Get info of template variables as DreamWeaver Extensions');
32
+define('_TPLSADMIN_DD_GETTPLSVARSINFO_DW', 'Open Macromedia Extension Manager, first.<br />Extract the download archive.<br />Execute the files which extensions are .mxi and you will meet installing dialogs.<br />The snippets for template variables of your site will be usable after restarting Dream Weaver.');
33 33
 
34
-define('_TPLSADMIN_DT_GETTEMPLATES', 'Download templates') ;
35
-define('_TPLSADMIN_DD_GETTEMPLATES', 'Select a set before pushing either button') ;
34
+define('_TPLSADMIN_DT_GETTEMPLATES', 'Download templates');
35
+define('_TPLSADMIN_DD_GETTEMPLATES', 'Select a set before pushing either button');
36 36
 
37
-define('_TPLSADMIN_FMT_MSG_PUTTEMPLATES', '%d templates are imported.') ;
38
-define('_TPLSADMIN_DT_PUTTEMPLATES', 'Upload templates') ;
39
-define('_TPLSADMIN_DD_PUTTEMPLATES', 'Select a set you want to upload/overwrite before uploading zip/tgz archive including template files (.html). You need not to check depths of the paths in the archive.') ;
37
+define('_TPLSADMIN_FMT_MSG_PUTTEMPLATES', '%d templates are imported.');
38
+define('_TPLSADMIN_DT_PUTTEMPLATES', 'Upload templates');
39
+define('_TPLSADMIN_DD_PUTTEMPLATES', 'Select a set you want to upload/overwrite before uploading zip/tgz archive including template files (.html). You need not to check depths of the paths in the archive.');
40 40
 
41 41
 
42
-define('_TPLSADMIN_ERR_NOTUPLOADED', 'No files are uploaded.') ;
43
-define('_TPLSADMIN_ERR_EXTENSION', 'This extension cannot be recognized.') ;
44
-define('_TPLSADMIN_ERR_INVALIDARCHIVE', 'The archive is not extractable.') ;
45
-define('_TPLSADMIN_ERR_INVALIDTPLSET', 'Invalid set name has been specified.') ;
42
+define('_TPLSADMIN_ERR_NOTUPLOADED', 'No files are uploaded.');
43
+define('_TPLSADMIN_ERR_EXTENSION', 'This extension cannot be recognized.');
44
+define('_TPLSADMIN_ERR_INVALIDARCHIVE', 'The archive is not extractable.');
45
+define('_TPLSADMIN_ERR_INVALIDTPLSET', 'Invalid set name has been specified.');
46 46
 
47
-define('_TPLSADMIN_ERR_NOTPLSVARSINFO', 'There are no template vars info files.') ;
47
+define('_TPLSADMIN_ERR_NOTPLSVARSINFO', 'There are no template vars info files.');
48 48
 
49
-define('_TPLSADMIN_NUMCAP_COMPILEDCACHES', 'Compiled template caches') ;
50
-define('_TPLSADMIN_NUMCAP_TPLSVARS', 'Template vars info files') ;
49
+define('_TPLSADMIN_NUMCAP_COMPILEDCACHES', 'Compiled template caches');
50
+define('_TPLSADMIN_NUMCAP_TPLSVARS', 'Template vars info files');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/english/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', 'Managing system easily') ;
3
+define('_MI_ALTSYS_MODULENAME', 'ALTSYS');
4
+define('_MI_ALTSYS_MODULEDESC', 'Managing system easily');
5 5
 
6 6
 // menus
7
-define('_MI_ALTSYS_MENU_CUSTOMBLOCKS', 'Custom Blocks') ;
8
-define('_MI_ALTSYS_MENU_NEWCUSTOMBLOCK', '(new)') ;
9
-define('_MI_ALTSYS_MENU_MYBLOCKSADMIN', 'Module Blocks') ;
10
-define('_MI_ALTSYS_MENU_MYTPLSADMIN', 'Templates') ;
11
-define('_MI_ALTSYS_MENU_COMPILEHOOKADMIN', 'Advanced Templates') ;
12
-define('_MI_ALTSYS_MENU_MYLANGADMIN', 'Languages') ;
13
-define('_MI_ALTSYS_MENU_ADVANCEDLANGADMIN', 'Advanced Languages') ;
14
-define('_MI_ALTSYS_MENU_MYAVATAR', 'Avatars') ;
15
-define('_MI_ALTSYS_MENU_MYSMILEY', 'Smileys') ;
7
+define('_MI_ALTSYS_MENU_CUSTOMBLOCKS', 'Custom Blocks');
8
+define('_MI_ALTSYS_MENU_NEWCUSTOMBLOCK', '(new)');
9
+define('_MI_ALTSYS_MENU_MYBLOCKSADMIN', 'Module Blocks');
10
+define('_MI_ALTSYS_MENU_MYTPLSADMIN', 'Templates');
11
+define('_MI_ALTSYS_MENU_COMPILEHOOKADMIN', 'Advanced Templates');
12
+define('_MI_ALTSYS_MENU_MYLANGADMIN', 'Languages');
13
+define('_MI_ALTSYS_MENU_ADVANCEDLANGADMIN', 'Advanced Languages');
14
+define('_MI_ALTSYS_MENU_MYAVATAR', 'Avatars');
15
+define('_MI_ALTSYS_MENU_MYSMILEY', 'Smileys');
16 16
 
17 17
 // blocks
18
-define('_MI_ALTSYS_BNAME_ADMIN_MENU', 'Admin Menu') ;
18
+define('_MI_ALTSYS_BNAME_ADMIN_MENU', 'Admin Menu');
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', 'Force all blocks to be clonable') ;
34
-define('_MI_ALTSYS_ENABLEFORCECLONEDSC', 'You should know there are blocks cause errors if multiple instances is displayed on a page') ;
33
+define('_MI_ALTSYS_ENABLEFORCECLONE', 'Force all blocks to be clonable');
34
+define('_MI_ALTSYS_ENABLEFORCECLONEDSC', 'You should know there are blocks cause errors if multiple instances is displayed on a page');
35 35
 
36 36
 define('_MI_ALTSYS_IMAGES_DIR', 'Directory for image files');
37 37
 define('_MI_ALTSYS_IMAGES_DIRDSC', 'relative path should be set in the module directory. default: images');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/english/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 --- - LEFT') ;
9
-define('_MD_A_MYBLOCKSADMIN_SBRIGHT', '- --- o RIGHT') ;
10
-define('_MD_A_MYBLOCKSADMIN_CBLEFT', '- o-- - CENTERLEFT') ;
11
-define('_MD_A_MYBLOCKSADMIN_CBRIGHT', '- --o - CENTERRIGHT') ;
12
-define('_MD_A_MYBLOCKSADMIN_CBCENTER', '- -o- - CENTER') ;
13
-define('_MD_A_MYBLOCKSADMIN_VISIBLE', 'Visible') ;
14
-define('_MD_A_MYBLOCKSADMIN_WEIGHT', 'Weight') ;
15
-define('_MD_A_MYBLOCKSADMIN_VISIBLEIN', 'Visible in') ;
16
-define('_MD_A_MYBLOCKSADMIN_CONTENT', 'Content') ;
17
-define('_MD_A_MYBLOCKSADMIN_CAPT_USABLETAGS', 'Usable tags') ;
18
-define('_MD_A_MYBLOCKSADMIN_FMT_TAGRULE', '%s will be replaced into %s in the view') ;
19
-define('_MD_A_MYBLOCKSADMIN_CTYPE', 'Cutom Type') ;
20
-define('_MD_A_MYBLOCKSADMIN_EDITTPL', 'Edit the template') ;
21
-define('_MD_A_MYBLOCKSADMIN_OPTIONS', 'Block\'s option') ;
22
-define('_MD_A_MYBLOCKSADMIN_BCACHETIME', 'Cache Time') ;
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', 'All Pages') ;
27
-define('_MD_A_MYBLOCKSADMIN_PERMFORM', 'Permissions') ;
28
-define('_MD_A_MYBLOCKSADMIN_PERM_MADMIN', 'module admin') ;
29
-define('_MD_A_MYBLOCKSADMIN_PERM_MREAD', 'module read') ;
30
-define('_MD_A_MYBLOCKSADMIN_DBUPDATED', 'Database updated successfully') ;
31
-define('_MD_A_MYBLOCKSADMIN_FMT_REMOVEBLOCK', '%s will be removed. really OK?') ;
32
-
33
-
34
-define('_MD_A_MYBLOCKSADMIN_CLONEFORM', 'Clone the block') ;
35
-define('_MD_A_MYBLOCKSADMIN_NEWFORM', 'Create a block') ;
36
-define('_MD_A_MYBLOCKSADMIN_EDITFORM', 'Edit the block') ;
37
-
38
-define('_MD_A_MYBLOCKSADMIN_LINK_FORCECLONE', 'Force clone') ;
39
-
40
-define('_MD_A_MYBLOCKSADMIN_BTN_CLONE', 'Clone') ;
41
-define('_MD_A_MYBLOCKSADMIN_BTN_NEW', 'Create') ;
42
-define('_MD_A_MYBLOCKSADMIN_BTN_EDIT', 'Update') ;
43
-
44
-define('_MD_A_MYBLOCKSADMIN_CTYPE_HTML', 'Custom (plain HTML)') ;
45
-define('_MD_A_MYBLOCKSADMIN_CTYPE_NOSMILE', 'Custom (HTML+BBCODE+AutoLink)') ;
46
-define('_MD_A_MYBLOCKSADMIN_CTYPE_SMILE', 'Custom (HTML+BBCODE+AutoLink+Smiley)') ;
47
-define('_MD_A_MYBLOCKSADMIN_CTYPE_PHP', 'Custom (PHP eval())') ;
48
-
49
-define('_MD_A_MYBLOCKSADMIN_NOTICE4COMMONFCK', 'If you want to use WYSIWYG editor, install 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 --- - LEFT');
9
+define('_MD_A_MYBLOCKSADMIN_SBRIGHT', '- --- o RIGHT');
10
+define('_MD_A_MYBLOCKSADMIN_CBLEFT', '- o-- - CENTERLEFT');
11
+define('_MD_A_MYBLOCKSADMIN_CBRIGHT', '- --o - CENTERRIGHT');
12
+define('_MD_A_MYBLOCKSADMIN_CBCENTER', '- -o- - CENTER');
13
+define('_MD_A_MYBLOCKSADMIN_VISIBLE', 'Visible');
14
+define('_MD_A_MYBLOCKSADMIN_WEIGHT', 'Weight');
15
+define('_MD_A_MYBLOCKSADMIN_VISIBLEIN', 'Visible in');
16
+define('_MD_A_MYBLOCKSADMIN_CONTENT', 'Content');
17
+define('_MD_A_MYBLOCKSADMIN_CAPT_USABLETAGS', 'Usable tags');
18
+define('_MD_A_MYBLOCKSADMIN_FMT_TAGRULE', '%s will be replaced into %s in the view');
19
+define('_MD_A_MYBLOCKSADMIN_CTYPE', 'Cutom Type');
20
+define('_MD_A_MYBLOCKSADMIN_EDITTPL', 'Edit the template');
21
+define('_MD_A_MYBLOCKSADMIN_OPTIONS', 'Block\'s option');
22
+define('_MD_A_MYBLOCKSADMIN_BCACHETIME', 'Cache Time');
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', 'All Pages');
27
+define('_MD_A_MYBLOCKSADMIN_PERMFORM', 'Permissions');
28
+define('_MD_A_MYBLOCKSADMIN_PERM_MADMIN', 'module admin');
29
+define('_MD_A_MYBLOCKSADMIN_PERM_MREAD', 'module read');
30
+define('_MD_A_MYBLOCKSADMIN_DBUPDATED', 'Database updated successfully');
31
+define('_MD_A_MYBLOCKSADMIN_FMT_REMOVEBLOCK', '%s will be removed. really OK?');
32
+
33
+
34
+define('_MD_A_MYBLOCKSADMIN_CLONEFORM', 'Clone the block');
35
+define('_MD_A_MYBLOCKSADMIN_NEWFORM', 'Create a block');
36
+define('_MD_A_MYBLOCKSADMIN_EDITFORM', 'Edit the block');
37
+
38
+define('_MD_A_MYBLOCKSADMIN_LINK_FORCECLONE', 'Force clone');
39
+
40
+define('_MD_A_MYBLOCKSADMIN_BTN_CLONE', 'Clone');
41
+define('_MD_A_MYBLOCKSADMIN_BTN_NEW', 'Create');
42
+define('_MD_A_MYBLOCKSADMIN_BTN_EDIT', 'Update');
43
+
44
+define('_MD_A_MYBLOCKSADMIN_CTYPE_HTML', 'Custom (plain HTML)');
45
+define('_MD_A_MYBLOCKSADMIN_CTYPE_NOSMILE', 'Custom (HTML+BBCODE+AutoLink)');
46
+define('_MD_A_MYBLOCKSADMIN_CTYPE_SMILE', 'Custom (HTML+BBCODE+AutoLink+Smiley)');
47
+define('_MD_A_MYBLOCKSADMIN_CTYPE_PHP', 'Custom (PHP eval())');
48
+
49
+define('_MD_A_MYBLOCKSADMIN_NOTICE4COMMONFCK', 'If you want to use WYSIWYG editor, install 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/english/admin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('_MD_A_DBUPDATED', 'Database updated successfully') ;
3
+define('_MD_A_DBUPDATED', 'Database updated successfully');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/japanese/blocks_each.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (defined('FOR_XOOPS_LANG_CHECKER')) {
4
-    $mydirname = 'd3forum' ;
4
+    $mydirname = 'd3forum';
5 5
 }
6
-$constpref = '_MB_' . strtoupper($mydirname) ;
6
+$constpref = '_MB_'.strtoupper($mydirname);
7 7
 
8
-if (defined('FOR_XOOPS_LANG_CHECKER') || ! defined($constpref.'_LOADED')) {
9
-    define($constpref.'_LOADED', 1) ;
8
+if (defined('FOR_XOOPS_LANG_CHECKER') || !defined($constpref.'_LOADED')) {
9
+    define($constpref.'_LOADED', 1);
10 10
 
11 11
 // definitions for displaying blocks 
12 12
 // Since altsys is a singleton moudle, this file has non-sense.
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/oninstall.php 1 patch
Spacing   +53 added lines, -53 removed lines patch added patch discarded remove patch
@@ -1,63 +1,63 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-eval(' function xoops_module_install_'.$mydirname.'( $module ) { return altsys_oninstall_base( $module , "'.$mydirname.'" ) ; } ') ;
3
+eval(' function xoops_module_install_'.$mydirname.'( $module ) { return altsys_oninstall_base( $module , "'.$mydirname.'" ) ; } ');
4 4
 
5 5
 
6
-if (! function_exists('altsys_oninstall_base')) {
6
+if (!function_exists('altsys_oninstall_base')) {
7 7
     function altsys_oninstall_base($module, $mydirname)
8 8
     {
9 9
         // transations on module install
10 10
 
11
-    global $ret ; // TODO :-D
11
+    global $ret; // TODO :-D
12 12
 
13 13
     // for Cube 2.1
14 14
     if (defined('XOOPS_CUBE_LEGACY')) {
15
-        $root =& XCube_Root::getSingleton();
16
-        $root->mDelegateManager->add('Legacy.Admin.Event.ModuleInstall.' . ucfirst($mydirname) . '.Success', 'altsys_message_append_oninstall') ;
17
-        $ret = array() ;
15
+        $root = & XCube_Root::getSingleton();
16
+        $root->mDelegateManager->add('Legacy.Admin.Event.ModuleInstall.'.ucfirst($mydirname).'.Success', 'altsys_message_append_oninstall');
17
+        $ret = array();
18 18
     } else {
19
-        if (! is_array($ret)) {
20
-            $ret = array() ;
19
+        if (!is_array($ret)) {
20
+            $ret = array();
21 21
         }
22 22
     }
23 23
 
24
-        $db =& XoopsDatabaseFactory::getDatabaseConnection() ;
25
-        $mid = $module->getVar('mid') ;
24
+        $db = & XoopsDatabaseFactory::getDatabaseConnection();
25
+        $mid = $module->getVar('mid');
26 26
 
27 27
     /*************** BEGIN ALTSYS SPECIFIC PART ******************/
28 28
     // set weight=0
29
-    $db->queryF("UPDATE ".$db->prefix("modules")." SET weight=0 WHERE mid=$mid") ;
29
+    $db->queryF("UPDATE ".$db->prefix("modules")." SET weight=0 WHERE mid=$mid");
30 30
     /*************** END ALTSYS SPECIFIC PART ******************/
31 31
 
32 32
     // TABLES (loading mysql.sql)
33
-    $sql_file_path = dirname(__FILE__).'/sql/mysql.sql' ;
34
-        $prefix_mod = $db->prefix() . '_' . $mydirname ;
33
+    $sql_file_path = dirname(__FILE__).'/sql/mysql.sql';
34
+        $prefix_mod = $db->prefix().'_'.$mydirname;
35 35
         if (file_exists($sql_file_path)) {
36 36
             $ret[] = "SQL file found at <b>".htmlspecialchars($sql_file_path)."</b>.<br /> Creating tables...";
37 37
 
38 38
             if (file_exists(XOOPS_ROOT_PATH.'/class/database/oldsqlutility.php')) {
39
-                include_once XOOPS_ROOT_PATH.'/class/database/oldsqlutility.php' ;
40
-                $sqlutil = new OldSqlUtility ;
39
+                include_once XOOPS_ROOT_PATH.'/class/database/oldsqlutility.php';
40
+                $sqlutil = new OldSqlUtility;
41 41
             } else {
42
-                include_once XOOPS_ROOT_PATH.'/class/database/sqlutility.php' ;
43
-                $sqlutil = new SqlUtility ;
42
+                include_once XOOPS_ROOT_PATH.'/class/database/sqlutility.php';
43
+                $sqlutil = new SqlUtility;
44 44
             }
45 45
 
46
-            $sql_query = trim(file_get_contents($sql_file_path)) ;
47
-            $sqlutil->splitMySqlFile($pieces, $sql_query) ;
48
-            $created_tables = array() ;
46
+            $sql_query = trim(file_get_contents($sql_file_path));
47
+            $sqlutil->splitMySqlFile($pieces, $sql_query);
48
+            $created_tables = array();
49 49
             foreach ($pieces as $piece) {
50
-                $prefixed_query = $sqlutil->prefixQuery($piece, $prefix_mod) ;
51
-                if (! $prefixed_query) {
50
+                $prefixed_query = $sqlutil->prefixQuery($piece, $prefix_mod);
51
+                if (!$prefixed_query) {
52 52
                     $ret[] = "Invalid SQL <b>".htmlspecialchars($piece)."</b><br />";
53
-                    return false ;
53
+                    return false;
54 54
                 }
55
-                if (! $db->query($prefixed_query[0])) {
56
-                    $ret[] = '<b>'.htmlspecialchars($db->error()).'</b><br />' ;
55
+                if (!$db->query($prefixed_query[0])) {
56
+                    $ret[] = '<b>'.htmlspecialchars($db->error()).'</b><br />';
57 57
                 //var_dump( $db->error() ) ;
58
-                return false ;
58
+                return false;
59 59
                 } else {
60
-                    if (! in_array($prefixed_query[4], $created_tables)) {
60
+                    if (!in_array($prefixed_query[4], $created_tables)) {
61 61
                         $ret[] = 'Table <b>'.htmlspecialchars($prefix_mod.'_'.$prefixed_query[4]).'</b> created.<br />';
62 62
                         $created_tables[] = $prefixed_query[4];
63 63
                     } else {
@@ -68,33 +68,33 @@  discard block
 block discarded – undo
68 68
         }
69 69
 
70 70
     // TEMPLATES
71
-    $tplfile_handler =& xoops_gethandler('tplfile') ;
72
-        $tpl_path = dirname(__FILE__).'/templates' ;
73
-        if ($handler = @opendir($tpl_path . '/')) {
71
+    $tplfile_handler = & xoops_gethandler('tplfile');
72
+        $tpl_path = dirname(__FILE__).'/templates';
73
+        if ($handler = @opendir($tpl_path.'/')) {
74 74
             while (($file = readdir($handler)) !== false) {
75 75
                 if (substr($file, 0, 1) == '.') {
76
-                    continue ;
76
+                    continue;
77 77
                 }
78
-                $file_path = $tpl_path . '/' . $file ;
78
+                $file_path = $tpl_path.'/'.$file;
79 79
                 if (is_file($file_path)) {
80
-                    $mtime = intval(@filemtime($file_path)) ;
81
-                    $tplfile =& $tplfile_handler->create() ;
82
-                    $tplfile->setVar('tpl_source', file_get_contents($file_path), true) ;
83
-                    $tplfile->setVar('tpl_refid', $mid) ;
84
-                    $tplfile->setVar('tpl_tplset', 'default') ;
85
-                    $tplfile->setVar('tpl_file', $mydirname . '_' . $file) ;
86
-                    $tplfile->setVar('tpl_desc', '', true) ;
87
-                    $tplfile->setVar('tpl_module', $mydirname) ;
88
-                    $tplfile->setVar('tpl_lastmodified', $mtime) ;
89
-                    $tplfile->setVar('tpl_lastimported', 0) ;
90
-                    $tplfile->setVar('tpl_type', 'module') ;
91
-                    if (! $tplfile_handler->insert($tplfile)) {
80
+                    $mtime = intval(@filemtime($file_path));
81
+                    $tplfile = & $tplfile_handler->create();
82
+                    $tplfile->setVar('tpl_source', file_get_contents($file_path), true);
83
+                    $tplfile->setVar('tpl_refid', $mid);
84
+                    $tplfile->setVar('tpl_tplset', 'default');
85
+                    $tplfile->setVar('tpl_file', $mydirname.'_'.$file);
86
+                    $tplfile->setVar('tpl_desc', '', true);
87
+                    $tplfile->setVar('tpl_module', $mydirname);
88
+                    $tplfile->setVar('tpl_lastmodified', $mtime);
89
+                    $tplfile->setVar('tpl_lastimported', 0);
90
+                    $tplfile->setVar('tpl_type', 'module');
91
+                    if (!$tplfile_handler->insert($tplfile)) {
92 92
                         $ret[] = '<span style="color:#ff0000;">ERROR: Could not insert template <b>'.htmlspecialchars($mydirname.'_'.$file).'</b> to the database.</span><br />';
93 93
                     } else {
94
-                        $tplid = $tplfile->getVar('tpl_id') ;
94
+                        $tplid = $tplfile->getVar('tpl_id');
95 95
                         $ret[] = 'Template <b>'.htmlspecialchars($mydirname.'_'.$file).'</b> added to the database. (ID: <b>'.$tplid.'</b>)<br />';
96
-                        require_once XOOPS_TRUST_PATH.'/libs/altsys/include/altsys_functions.php' ;
97
-                        altsys_clear_templates_c() ;
96
+                        require_once XOOPS_TRUST_PATH.'/libs/altsys/include/altsys_functions.php';
97
+                        altsys_clear_templates_c();
98 98
                     // generate compiled file
99 99
                     /*include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php' ;
100 100
                     include_once XOOPS_ROOT_PATH.'/class/template.php' ;
@@ -106,20 +106,20 @@  discard block
 block discarded – undo
106 106
                     }
107 107
                 }
108 108
             }
109
-            closedir($handler) ;
109
+            closedir($handler);
110 110
         }
111
-        include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php' ;
112
-        include_once XOOPS_ROOT_PATH.'/class/template.php' ;
113
-        xoops_template_clear_module_cache($mid) ;
111
+        include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php';
112
+        include_once XOOPS_ROOT_PATH.'/class/template.php';
113
+        xoops_template_clear_module_cache($mid);
114 114
 
115
-        return true ;
115
+        return true;
116 116
     }
117 117
 
118 118
     function altsys_message_append_oninstall(&$module_obj, &$log)
119 119
     {
120 120
         if (is_array(@$GLOBALS['ret'])) {
121 121
             foreach ($GLOBALS['ret'] as $message) {
122
-                $log->add(strip_tags($message)) ;
122
+                $log->add(strip_tags($message));
123 123
             }
124 124
         }
125 125
 
Please login to merge, or discard this patch.