Passed
Push — master ( 757841...94ec22 )
by Goffy
06:13 queued 02:50
created
admin/about.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
 
12 12
 use Xmf\Module\Admin;
13 13
 
14
-require_once __DIR__ . '/admin_header.php';
14
+require_once __DIR__.'/admin_header.php';
15 15
 xoops_cp_header();
16 16
 $adminObject = Admin::getInstance();
17 17
 $adminObject->displayNavigation(basename(__FILE__));
18 18
 Admin::setPaypal('[email protected]');
19 19
 $adminObject->displayAbout(false);
20 20
 
21
-require_once __DIR__ . '/admin_footer.php';
21
+require_once __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.
admin/blocksadmin.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 /** @var Admin $adminObject */
24 24
 /** @var Helper $helper */
25 25
 
26
-require __DIR__ . '/admin_header.php';
26
+require __DIR__.'/admin_header.php';
27 27
 xoops_cp_header();
28 28
 
29 29
 $moduleDirName      = $helper->getDirname();
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
 
38 38
 if (!is_object($GLOBALS['xoopsUser']) || !is_object($xoopsModule)
39 39
     || !$GLOBALS['xoopsUser']->isAdmin($xoopsModule->mid())) {
40
-    exit(constant('CO_' . $moduleDirNameUpper . '_' . 'ERROR403'));
40
+    exit(constant('CO_'.$moduleDirNameUpper.'_'.'ERROR403'));
41 41
 }
42 42
 if ($GLOBALS['xoopsUser']->isAdmin($xoopsModule->mid())) {
43
-    require_once XOOPS_ROOT_PATH . '/class/xoopsblock.php';
43
+    require_once XOOPS_ROOT_PATH.'/class/xoopsblock.php';
44 44
 
45 45
     $op = Request::getCmd('op', 'list');
46 46
     if (!empty($_POST)) {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     if ('list' === $op) {
67 67
         //        xoops_cp_header();
68 68
         $blocksadmin->listBlocks();
69
-        require_once __DIR__ . '/admin_footer.php';
69
+        require_once __DIR__.'/admin_footer.php';
70 70
         exit();
71 71
     }
72 72
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                 $blocksadmin->deleteBlock($bid);
87 87
             } else {
88 88
                 //            xoops_cp_header();
89
-                xoops_confirm(['ok' => 1, 'op' => 'delete', 'bid' => $bid], 'blocksadmin.php', constant('CO_' . $moduleDirNameUpper . '_' . 'DELETE_BLOCK_CONFIRM'), constant('CO_' . $moduleDirNameUpper . '_' . 'CONFIRM'), true);
89
+                xoops_confirm(['ok' => 1, 'op' => 'delete', 'bid' => $bid], 'blocksadmin.php', constant('CO_'.$moduleDirNameUpper.'_'.'DELETE_BLOCK_CONFIRM'), constant('CO_'.$moduleDirNameUpper.'_'.'CONFIRM'), true);
90 90
                 xoops_cp_footer();
91 91
             }
92 92
         }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $weight     = Request::getArray('weight', [], 'POST');
113 113
         $visible    = Request::getArray('visible', [], 'POST');
114 114
         $bcachetime = Request::getArray('bcachetime', [], 'POST');
115
-        $bmodule    = Request::getArray('bmodule', [], 'POST');//mb
115
+        $bmodule    = Request::getArray('bmodule', [], 'POST'); //mb
116 116
 
117 117
         $oldtitle      = Request::getArray('oldtitle', [], 'POST');
118 118
         $oldside       = Request::getArray('oldside', [], 'POST');
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         $oldvisible    = Request::getArray('oldvisible', [], 'POST');
121 121
         $oldgroups     = Request::getArray('oldgroups', [], 'POST');
122 122
         $oldbcachetime = Request::getArray('oldcachetime', [], 'POST');
123
-        $oldbmodule    = Request::getArray('oldbmodule', [], 'POST');//mb
123
+        $oldbmodule    = Request::getArray('oldbmodule', [], 'POST'); //mb
124 124
 
125 125
         $blocksadmin->orderBlock(
126 126
             $bid,
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         );
142 142
     }
143 143
 } else {
144
-    echo constant('CO_' . $moduleDirNameUpper . '_' . 'ERROR403');
144
+    echo constant('CO_'.$moduleDirNameUpper.'_'.'ERROR403');
145 145
 }
146 146
 
147
-require __DIR__ . '/admin_footer.php';
147
+require __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.
admin/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     Utility
25 25
 };
26 26
 
27
-require_once __DIR__ . '/admin_header.php';
27
+require_once __DIR__.'/admin_header.php';
28 28
 // Display Admin header
29 29
 xoops_cp_header();
30 30
 
@@ -50,4 +50,4 @@  discard block
 block discarded – undo
50 50
 echo $utility::getServerStats();
51 51
 
52 52
 //codeDump(__FILE__);
53
-require __DIR__ . '/admin_footer.php';
53
+require __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.
admin/admin_footer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      . "  <div style='text-align: center;'>\n"
22 22
      . "    <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"
23 23
      . "  </div>\n"
24
-     . '  ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n"
24
+     . '  '._AM_MODULEADMIN_ADMIN_FOOTER."\n"
25 25
      . '</div>';
26 26
 
27 27
 xoops_cp_footer();
Please login to merge, or discard this patch.
admin/menu.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 $helper->loadLanguage('feedback');
20 20
 
21 21
 $pathIcon32    = Admin::menuIconPath('');
22
-$pathModIcon32 = XOOPS_URL . '/modules/' . $moduleDirName . '/assets/images/icons/32/';
22
+$pathModIcon32 = XOOPS_URL.'/modules/'.$moduleDirName.'/assets/images/icons/32/';
23 23
 if (is_object($helper->getModule())
24 24
     && false !== $helper->getModule()
25 25
                         ->getInfo('modicons32')) {
@@ -32,27 +32,27 @@  discard block
 block discarded – undo
32 32
 $adminmenu[] = [
33 33
     'title' => _MI_MYIFRAME_NAME,
34 34
     'link'  => 'admin/index.php',
35
-    'icon'  => $pathIcon32 . '/home.png',
35
+    'icon'  => $pathIcon32.'/home.png',
36 36
 ];
37 37
 
38 38
 $adminmenu[] = [
39 39
     'title' => _MI_MYIFRAME_ADMENU1,
40 40
     'link'  => 'admin/manage.php',
41
-    'icon'  => $pathIcon32 . '/manage.png',
41
+    'icon'  => $pathIcon32.'/manage.png',
42 42
 ];
43 43
 
44 44
 // Blocks Admin
45 45
 $adminmenu[] = [
46
-    'title' => constant('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS'),
46
+    'title' => constant('CO_'.$moduleDirNameUpper.'_'.'BLOCKS'),
47 47
     'link'  => 'admin/blocksadmin.php',
48
-    'icon'  => $pathIcon32 . '/block.png',
48
+    'icon'  => $pathIcon32.'/block.png',
49 49
 ];
50 50
 
51 51
 if (is_object($helper->getModule()) && $helper->getConfig('displayDeveloperTools')) {
52 52
     $adminmenu[] = [
53
-        'title' => constant('CO_' . $moduleDirNameUpper . '_' . 'ADMENU_MIGRATE'),
53
+        'title' => constant('CO_'.$moduleDirNameUpper.'_'.'ADMENU_MIGRATE'),
54 54
         'link'  => 'admin/migrate.php',
55
-        'icon'  => $pathIcon32 . '/database_go.png',
55
+        'icon'  => $pathIcon32.'/database_go.png',
56 56
     ];
57 57
 }
58 58
 
@@ -60,6 +60,6 @@  discard block
 block discarded – undo
60 60
 $adminmenu[] = [
61 61
     'title' => _MI_MYIFRAME_ADMENU2,
62 62
     'link'  => 'admin/about.php',
63
-    'icon'  => $pathIcon32 . '/about.png',
63
+    'icon'  => $pathIcon32.'/about.png',
64 64
 
65 65
 ];
Please login to merge, or discard this patch.
language/english/common.php 1 patch
Spacing   +132 added lines, -132 removed lines patch added patch discarded remove patch
@@ -16,138 +16,138 @@  discard block
 block discarded – undo
16 16
 $moduleDirName      = \basename(\dirname(__DIR__, 2));
17 17
 $moduleDirNameUpper = \mb_strtoupper($moduleDirName);
18 18
 
19
-\define('CO_' . $moduleDirNameUpper . '_GDLIBSTATUS', 'GD library support: ');
20
-\define('CO_' . $moduleDirNameUpper . '_GDLIBVERSION', 'GD Library version: ');
21
-\define('CO_' . $moduleDirNameUpper . '_GDOFF', "<span style='font-weight: bold;'>Disabled</span> (No thumbnails available)");
22
-\define('CO_' . $moduleDirNameUpper . '_GDON', "<span style='font-weight: bold;'>Enabled</span> (Thumbsnails available)");
23
-\define('CO_' . $moduleDirNameUpper . '_IMAGEINFO', 'Server status');
24
-\define('CO_' . $moduleDirNameUpper . '_MAXPOSTSIZE', 'Max post size permitted (post_max_size directive in php.ini): ');
25
-\define('CO_' . $moduleDirNameUpper . '_MAXUPLOADSIZE', 'Max upload size permitted (upload_max_filesize directive in php.ini): ');
26
-\define('CO_' . $moduleDirNameUpper . '_MEMORYLIMIT', 'Memory limit (memory_limit directive in php.ini): ');
27
-\define('CO_' . $moduleDirNameUpper . '_METAVERSION', "<span style='font-weight: bold;'>Downloads meta version:</span> ");
28
-\define('CO_' . $moduleDirNameUpper . '_OFF', "<span style='font-weight: bold;'>OFF</span>");
29
-\define('CO_' . $moduleDirNameUpper . '_ON', "<span style='font-weight: bold;'>ON</span>");
30
-\define('CO_' . $moduleDirNameUpper . '_SERVERPATH', 'Server path to XOOPS root: ');
31
-\define('CO_' . $moduleDirNameUpper . '_SERVERUPLOADSTATUS', 'Server uploads status: ');
32
-\define('CO_' . $moduleDirNameUpper . '_SPHPINI', "<span style='font-weight: bold;'>Information taken from PHP ini file:</span>");
33
-\define('CO_' . $moduleDirNameUpper . '_UPLOADPATHDSC', 'Note. Upload path *MUST* contain the full server path of your upload folder.');
34
-
35
-\define('CO_' . $moduleDirNameUpper . '_PRINT', "<span style='font-weight: bold;'>Print</span>");
36
-\define('CO_' . $moduleDirNameUpper . '_PDF', "<span style='font-weight: bold;'>Create PDF</span>");
37
-
38
-\define('CO_' . $moduleDirNameUpper . '_UPGRADEFAILED0', "Update failed - couldn't rename field '%s'");
39
-\define('CO_' . $moduleDirNameUpper . '_UPGRADEFAILED1', "Update failed - couldn't add new fields");
40
-\define('CO_' . $moduleDirNameUpper . '_UPGRADEFAILED2', "Update failed - couldn't rename table '%s'");
41
-\define('CO_' . $moduleDirNameUpper . '_ERROR_COLUMN', 'Could not create column in database : %s');
42
-\define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_XOOPS', 'This module requires XOOPS %s+ (%s installed)');
43
-\define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_PHP', 'This module requires PHP version %s+ (%s installed)');
44
-\define('CO_' . $moduleDirNameUpper . '_ERROR_TAG_REMOVAL', 'Could not remove tags from Tag Module');
45
-
46
-\define('CO_' . $moduleDirNameUpper . '_FOLDERS_DELETED_OK', 'Upload Folders have been deleted');
19
+\define('CO_'.$moduleDirNameUpper.'_GDLIBSTATUS', 'GD library support: ');
20
+\define('CO_'.$moduleDirNameUpper.'_GDLIBVERSION', 'GD Library version: ');
21
+\define('CO_'.$moduleDirNameUpper.'_GDOFF', "<span style='font-weight: bold;'>Disabled</span> (No thumbnails available)");
22
+\define('CO_'.$moduleDirNameUpper.'_GDON', "<span style='font-weight: bold;'>Enabled</span> (Thumbsnails available)");
23
+\define('CO_'.$moduleDirNameUpper.'_IMAGEINFO', 'Server status');
24
+\define('CO_'.$moduleDirNameUpper.'_MAXPOSTSIZE', 'Max post size permitted (post_max_size directive in php.ini): ');
25
+\define('CO_'.$moduleDirNameUpper.'_MAXUPLOADSIZE', 'Max upload size permitted (upload_max_filesize directive in php.ini): ');
26
+\define('CO_'.$moduleDirNameUpper.'_MEMORYLIMIT', 'Memory limit (memory_limit directive in php.ini): ');
27
+\define('CO_'.$moduleDirNameUpper.'_METAVERSION', "<span style='font-weight: bold;'>Downloads meta version:</span> ");
28
+\define('CO_'.$moduleDirNameUpper.'_OFF', "<span style='font-weight: bold;'>OFF</span>");
29
+\define('CO_'.$moduleDirNameUpper.'_ON', "<span style='font-weight: bold;'>ON</span>");
30
+\define('CO_'.$moduleDirNameUpper.'_SERVERPATH', 'Server path to XOOPS root: ');
31
+\define('CO_'.$moduleDirNameUpper.'_SERVERUPLOADSTATUS', 'Server uploads status: ');
32
+\define('CO_'.$moduleDirNameUpper.'_SPHPINI', "<span style='font-weight: bold;'>Information taken from PHP ini file:</span>");
33
+\define('CO_'.$moduleDirNameUpper.'_UPLOADPATHDSC', 'Note. Upload path *MUST* contain the full server path of your upload folder.');
34
+
35
+\define('CO_'.$moduleDirNameUpper.'_PRINT', "<span style='font-weight: bold;'>Print</span>");
36
+\define('CO_'.$moduleDirNameUpper.'_PDF', "<span style='font-weight: bold;'>Create PDF</span>");
37
+
38
+\define('CO_'.$moduleDirNameUpper.'_UPGRADEFAILED0', "Update failed - couldn't rename field '%s'");
39
+\define('CO_'.$moduleDirNameUpper.'_UPGRADEFAILED1', "Update failed - couldn't add new fields");
40
+\define('CO_'.$moduleDirNameUpper.'_UPGRADEFAILED2', "Update failed - couldn't rename table '%s'");
41
+\define('CO_'.$moduleDirNameUpper.'_ERROR_COLUMN', 'Could not create column in database : %s');
42
+\define('CO_'.$moduleDirNameUpper.'_ERROR_BAD_XOOPS', 'This module requires XOOPS %s+ (%s installed)');
43
+\define('CO_'.$moduleDirNameUpper.'_ERROR_BAD_PHP', 'This module requires PHP version %s+ (%s installed)');
44
+\define('CO_'.$moduleDirNameUpper.'_ERROR_TAG_REMOVAL', 'Could not remove tags from Tag Module');
45
+
46
+\define('CO_'.$moduleDirNameUpper.'_FOLDERS_DELETED_OK', 'Upload Folders have been deleted');
47 47
 
48 48
 // Error Msgs
49
-\define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_DEL_PATH', 'Could not delete %s directory');
50
-\define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_REMOVE', 'Could not delete %s');
51
-\define('CO_' . $moduleDirNameUpper . '_ERROR_NO_PLUGIN', 'Could not load plugin');
49
+\define('CO_'.$moduleDirNameUpper.'_ERROR_BAD_DEL_PATH', 'Could not delete %s directory');
50
+\define('CO_'.$moduleDirNameUpper.'_ERROR_BAD_REMOVE', 'Could not delete %s');
51
+\define('CO_'.$moduleDirNameUpper.'_ERROR_NO_PLUGIN', 'Could not load plugin');
52 52
 
53 53
 //Help
54
-\define('CO_' . $moduleDirNameUpper . '_DIRNAME', basename(dirname(__DIR__, 2)));
55
-\define('CO_' . $moduleDirNameUpper . '_HELP_HEADER', __DIR__ . '/help/helpheader.tpl');
56
-\define('CO_' . $moduleDirNameUpper . '_BACK_2_ADMIN', 'Back to Administration of ');
57
-\define('CO_' . $moduleDirNameUpper . '_OVERVIEW', 'Overview');
54
+\define('CO_'.$moduleDirNameUpper.'_DIRNAME', basename(dirname(__DIR__, 2)));
55
+\define('CO_'.$moduleDirNameUpper.'_HELP_HEADER', __DIR__.'/help/helpheader.tpl');
56
+\define('CO_'.$moduleDirNameUpper.'_BACK_2_ADMIN', 'Back to Administration of ');
57
+\define('CO_'.$moduleDirNameUpper.'_OVERVIEW', 'Overview');
58 58
 
59 59
 //\define('CO_' . $moduleDirNameUpper . '_HELP_DIR', __DIR__);
60 60
 
61 61
 //help multi-page
62
-\define('CO_' . $moduleDirNameUpper . '_DISCLAIMER', 'Disclaimer');
63
-\define('CO_' . $moduleDirNameUpper . '_LICENSE', 'License');
64
-\define('CO_' . $moduleDirNameUpper . '_SUPPORT', 'Support');
62
+\define('CO_'.$moduleDirNameUpper.'_DISCLAIMER', 'Disclaimer');
63
+\define('CO_'.$moduleDirNameUpper.'_LICENSE', 'License');
64
+\define('CO_'.$moduleDirNameUpper.'_SUPPORT', 'Support');
65 65
 
66 66
 //Sample Data
67
-\define('CO_' . $moduleDirNameUpper . '_' . 'LOAD_SAMPLEDATA', 'Import Sample Data (will delete ALL current data)');
68
-\define('CO_' . $moduleDirNameUpper . '_' . 'LOAD_SAMPLEDATA_CONFIRM', 'Are you sure to Import Sample Data? (It will delete ALL current data)');
69
-\define('CO_' . $moduleDirNameUpper . '_' . 'LOAD_SAMPLEDATA_SUCCESS', 'Sample Date imported  successfully');
70
-\define('CO_' . $moduleDirNameUpper . '_' . 'SAVE_SAMPLEDATA', 'Export Tables to YAML');
71
-\define('CO_' . $moduleDirNameUpper . '_' . 'SAVE_SAMPLEDATA_SUCCESS', 'Export Tables to YAML successfully');
72
-\define('CO_' . $moduleDirNameUpper . '_' . 'CLEAR_SAMPLEDATA', 'Clear Sample Data');
73
-\define('CO_' . $moduleDirNameUpper . '_' . 'CLEAR_SAMPLEDATA_OK', 'The Sample Data has been cleared');
74
-\define('CO_' . $moduleDirNameUpper . '_' . 'CLEAR_SAMPLEDATA_CONFIRM', 'Are you sure to Clear Sample Data? (It will delete ALL current data)');
75
-\define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA', 'Export DB Schema to YAML');
76
-\define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_SUCCESS', 'Export DB Schema to YAML was a success');
77
-\define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_ERROR', 'ERROR: Export of DB Schema to YAML failed');
78
-\define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON', 'Show Sample Button?');
79
-\define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON_DESC', 'If yes, the "Add Sample Data" button will be visible to the Admin. It is Yes as a default for first installation.');
80
-\define('CO_' . $moduleDirNameUpper . '_' . 'HIDE_SAMPLEDATA_BUTTONS', 'Hide the Import buttons)');
81
-\define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLEDATA_BUTTONS', 'Show the Import buttons)');
82
-
83
-\define('CO_' . $moduleDirNameUpper . '_' . 'CONFIRM', 'Confirm');
67
+\define('CO_'.$moduleDirNameUpper.'_'.'LOAD_SAMPLEDATA', 'Import Sample Data (will delete ALL current data)');
68
+\define('CO_'.$moduleDirNameUpper.'_'.'LOAD_SAMPLEDATA_CONFIRM', 'Are you sure to Import Sample Data? (It will delete ALL current data)');
69
+\define('CO_'.$moduleDirNameUpper.'_'.'LOAD_SAMPLEDATA_SUCCESS', 'Sample Date imported  successfully');
70
+\define('CO_'.$moduleDirNameUpper.'_'.'SAVE_SAMPLEDATA', 'Export Tables to YAML');
71
+\define('CO_'.$moduleDirNameUpper.'_'.'SAVE_SAMPLEDATA_SUCCESS', 'Export Tables to YAML successfully');
72
+\define('CO_'.$moduleDirNameUpper.'_'.'CLEAR_SAMPLEDATA', 'Clear Sample Data');
73
+\define('CO_'.$moduleDirNameUpper.'_'.'CLEAR_SAMPLEDATA_OK', 'The Sample Data has been cleared');
74
+\define('CO_'.$moduleDirNameUpper.'_'.'CLEAR_SAMPLEDATA_CONFIRM', 'Are you sure to Clear Sample Data? (It will delete ALL current data)');
75
+\define('CO_'.$moduleDirNameUpper.'_'.'EXPORT_SCHEMA', 'Export DB Schema to YAML');
76
+\define('CO_'.$moduleDirNameUpper.'_'.'EXPORT_SCHEMA_SUCCESS', 'Export DB Schema to YAML was a success');
77
+\define('CO_'.$moduleDirNameUpper.'_'.'EXPORT_SCHEMA_ERROR', 'ERROR: Export of DB Schema to YAML failed');
78
+\define('CO_'.$moduleDirNameUpper.'_'.'SHOW_SAMPLE_BUTTON', 'Show Sample Button?');
79
+\define('CO_'.$moduleDirNameUpper.'_'.'SHOW_SAMPLE_BUTTON_DESC', 'If yes, the "Add Sample Data" button will be visible to the Admin. It is Yes as a default for first installation.');
80
+\define('CO_'.$moduleDirNameUpper.'_'.'HIDE_SAMPLEDATA_BUTTONS', 'Hide the Import buttons)');
81
+\define('CO_'.$moduleDirNameUpper.'_'.'SHOW_SAMPLEDATA_BUTTONS', 'Show the Import buttons)');
82
+
83
+\define('CO_'.$moduleDirNameUpper.'_'.'CONFIRM', 'Confirm');
84 84
 
85 85
 //letter choice
86
-\define('CO_' . $moduleDirNameUpper . '_' . 'BROWSETOTOPIC', "<span style='font-weight: bold;'>Browse items alphabetically</span>");
87
-\define('CO_' . $moduleDirNameUpper . '_' . 'OTHER', 'Other');
88
-\define('CO_' . $moduleDirNameUpper . '_' . 'ALL', 'All');
86
+\define('CO_'.$moduleDirNameUpper.'_'.'BROWSETOTOPIC', "<span style='font-weight: bold;'>Browse items alphabetically</span>");
87
+\define('CO_'.$moduleDirNameUpper.'_'.'OTHER', 'Other');
88
+\define('CO_'.$moduleDirNameUpper.'_'.'ALL', 'All');
89 89
 
90 90
 // block defines
91
-\define('CO_' . $moduleDirNameUpper . '_' . 'ACCESSRIGHTS', 'Access Rights');
92
-\define('CO_' . $moduleDirNameUpper . '_' . 'ACTION', 'Action');
93
-\define('CO_' . $moduleDirNameUpper . '_' . 'ACTIVERIGHTS', 'Active Rights');
94
-\define('CO_' . $moduleDirNameUpper . '_' . 'BADMIN', 'Block Administration');
95
-\define('CO_' . $moduleDirNameUpper . '_' . 'BLKDESC', 'Description');
96
-\define('CO_' . $moduleDirNameUpper . '_' . 'CBCENTER', 'Center Middle');
97
-\define('CO_' . $moduleDirNameUpper . '_' . 'CBLEFT', 'Center Left');
98
-\define('CO_' . $moduleDirNameUpper . '_' . 'CBRIGHT', 'Center Right');
99
-\define('CO_' . $moduleDirNameUpper . '_' . 'SBLEFT', 'Left');
100
-\define('CO_' . $moduleDirNameUpper . '_' . 'SBRIGHT', 'Right');
101
-\define('CO_' . $moduleDirNameUpper . '_' . 'SIDE', 'Alignment');
102
-\define('CO_' . $moduleDirNameUpper . '_' . 'TITLE', 'Title');
103
-\define('CO_' . $moduleDirNameUpper . '_' . 'VISIBLE', 'Visible');
104
-\define('CO_' . $moduleDirNameUpper . '_' . 'VISIBLEIN', 'Visible In');
105
-\define('CO_' . $moduleDirNameUpper . '_' . 'WEIGHT', 'Weight');
106
-
107
-\define('CO_' . $moduleDirNameUpper . '_' . 'PERMISSIONS', 'Permissions');
108
-\define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS', 'Blocks Admin');
109
-\define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_DESC', 'Blocks/Group Admin');
110
-
111
-\define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_MANAGMENT', 'Manage');
112
-\define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_ADDBLOCK', 'Add a new block');
113
-\define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_EDITBLOCK', 'Edit a block');
114
-\define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_CLONEBLOCK', 'Clone a block');
91
+\define('CO_'.$moduleDirNameUpper.'_'.'ACCESSRIGHTS', 'Access Rights');
92
+\define('CO_'.$moduleDirNameUpper.'_'.'ACTION', 'Action');
93
+\define('CO_'.$moduleDirNameUpper.'_'.'ACTIVERIGHTS', 'Active Rights');
94
+\define('CO_'.$moduleDirNameUpper.'_'.'BADMIN', 'Block Administration');
95
+\define('CO_'.$moduleDirNameUpper.'_'.'BLKDESC', 'Description');
96
+\define('CO_'.$moduleDirNameUpper.'_'.'CBCENTER', 'Center Middle');
97
+\define('CO_'.$moduleDirNameUpper.'_'.'CBLEFT', 'Center Left');
98
+\define('CO_'.$moduleDirNameUpper.'_'.'CBRIGHT', 'Center Right');
99
+\define('CO_'.$moduleDirNameUpper.'_'.'SBLEFT', 'Left');
100
+\define('CO_'.$moduleDirNameUpper.'_'.'SBRIGHT', 'Right');
101
+\define('CO_'.$moduleDirNameUpper.'_'.'SIDE', 'Alignment');
102
+\define('CO_'.$moduleDirNameUpper.'_'.'TITLE', 'Title');
103
+\define('CO_'.$moduleDirNameUpper.'_'.'VISIBLE', 'Visible');
104
+\define('CO_'.$moduleDirNameUpper.'_'.'VISIBLEIN', 'Visible In');
105
+\define('CO_'.$moduleDirNameUpper.'_'.'WEIGHT', 'Weight');
106
+
107
+\define('CO_'.$moduleDirNameUpper.'_'.'PERMISSIONS', 'Permissions');
108
+\define('CO_'.$moduleDirNameUpper.'_'.'BLOCKS', 'Blocks Admin');
109
+\define('CO_'.$moduleDirNameUpper.'_'.'BLOCKS_DESC', 'Blocks/Group Admin');
110
+
111
+\define('CO_'.$moduleDirNameUpper.'_'.'BLOCKS_MANAGMENT', 'Manage');
112
+\define('CO_'.$moduleDirNameUpper.'_'.'BLOCKS_ADDBLOCK', 'Add a new block');
113
+\define('CO_'.$moduleDirNameUpper.'_'.'BLOCKS_EDITBLOCK', 'Edit a block');
114
+\define('CO_'.$moduleDirNameUpper.'_'.'BLOCKS_CLONEBLOCK', 'Clone a block');
115 115
 
116 116
 //myblocksadmin
117
-\define('CO_' . $moduleDirNameUpper . '_' . 'AGDS', 'Admin Groups');
118
-\define('CO_' . $moduleDirNameUpper . '_' . 'BCACHETIME', 'Cache Time');
119
-\define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_ADMIN', 'Blocks Admin');
120
-\define('CO_' . $moduleDirNameUpper . '_' . 'UPDATE_SUCCESS', 'Update successful');
117
+\define('CO_'.$moduleDirNameUpper.'_'.'AGDS', 'Admin Groups');
118
+\define('CO_'.$moduleDirNameUpper.'_'.'BCACHETIME', 'Cache Time');
119
+\define('CO_'.$moduleDirNameUpper.'_'.'BLOCKS_ADMIN', 'Blocks Admin');
120
+\define('CO_'.$moduleDirNameUpper.'_'.'UPDATE_SUCCESS', 'Update successful');
121 121
 
122 122
 //Template Admin
123
-\define('CO_' . $moduleDirNameUpper . '_' . 'TPLSETS', 'Template Management');
124
-\define('CO_' . $moduleDirNameUpper . '_' . 'GENERATE', 'Generate');
125
-\define('CO_' . $moduleDirNameUpper . '_' . 'FILENAME', 'File Name');
123
+\define('CO_'.$moduleDirNameUpper.'_'.'TPLSETS', 'Template Management');
124
+\define('CO_'.$moduleDirNameUpper.'_'.'GENERATE', 'Generate');
125
+\define('CO_'.$moduleDirNameUpper.'_'.'FILENAME', 'File Name');
126 126
 
127 127
 //Menu
128
-\define('CO_' . $moduleDirNameUpper . '_' . 'ADMENU_MIGRATE', 'Migrate');
129
-\define('CO_' . $moduleDirNameUpper . '_' . 'FOLDER_YES', 'Folder "%s" exist');
130
-\define('CO_' . $moduleDirNameUpper . '_' . 'FOLDER_NO', 'Folder "%s" does not exist. Create the specified folder with CHMOD 777.');
131
-\define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_DEV_TOOLS', 'Show Development Tools Button?');
132
-\define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_DEV_TOOLS_DESC', 'If yes, the "Migrate" Tab and other Development tools will be visible to the Admin.');
133
-\define('CO_' . $moduleDirNameUpper . '_' . 'ADMENU_FEEDBACK', 'Feedback');
134
-\define('CO_' . $moduleDirNameUpper . '_' . 'MIGRATE_OK', 'Database migrated to current schema.');
135
-\define('CO_' . $moduleDirNameUpper . '_' . 'MIGRATE_WARNING', 'Warning! This is intended for developers only. Confirm write schema file from current database.');
136
-\define('CO_' . $moduleDirNameUpper . '_' . 'MIGRATE_SCHEMA_OK', 'Current schema file written');
128
+\define('CO_'.$moduleDirNameUpper.'_'.'ADMENU_MIGRATE', 'Migrate');
129
+\define('CO_'.$moduleDirNameUpper.'_'.'FOLDER_YES', 'Folder "%s" exist');
130
+\define('CO_'.$moduleDirNameUpper.'_'.'FOLDER_NO', 'Folder "%s" does not exist. Create the specified folder with CHMOD 777.');
131
+\define('CO_'.$moduleDirNameUpper.'_'.'SHOW_DEV_TOOLS', 'Show Development Tools Button?');
132
+\define('CO_'.$moduleDirNameUpper.'_'.'SHOW_DEV_TOOLS_DESC', 'If yes, the "Migrate" Tab and other Development tools will be visible to the Admin.');
133
+\define('CO_'.$moduleDirNameUpper.'_'.'ADMENU_FEEDBACK', 'Feedback');
134
+\define('CO_'.$moduleDirNameUpper.'_'.'MIGRATE_OK', 'Database migrated to current schema.');
135
+\define('CO_'.$moduleDirNameUpper.'_'.'MIGRATE_WARNING', 'Warning! This is intended for developers only. Confirm write schema file from current database.');
136
+\define('CO_'.$moduleDirNameUpper.'_'.'MIGRATE_SCHEMA_OK', 'Current schema file written');
137 137
 
138 138
 //Latest Version Check
139
-\define('CO_' . $moduleDirNameUpper . '_' . 'NEW_VERSION', 'New Version: ');
139
+\define('CO_'.$moduleDirNameUpper.'_'.'NEW_VERSION', 'New Version: ');
140 140
 
141 141
 //DirectoryChecker
142
-\define('CO_' . $moduleDirNameUpper . '_' . 'AVAILABLE', "<span style='color: green;'>Available</span>");
143
-\define('CO_' . $moduleDirNameUpper . '_' . 'NOTAVAILABLE', "<span style='color: red;'>Not available</span>");
144
-\define('CO_' . $moduleDirNameUpper . '_' . 'NOTWRITABLE', "<span style='color: red;'>Should have permission ( %d ), but it has ( %d )</span>");
145
-\define('CO_' . $moduleDirNameUpper . '_' . 'CREATETHEDIR', 'Create it');
146
-\define('CO_' . $moduleDirNameUpper . '_' . 'SETMPERM', 'Set the permission');
147
-\define('CO_' . $moduleDirNameUpper . '_' . 'DIRCREATED', 'The directory has been created');
148
-\define('CO_' . $moduleDirNameUpper . '_' . 'DIRNOTCREATED', 'The directory cannot be created');
149
-\define('CO_' . $moduleDirNameUpper . '_' . 'PERMSET', 'The permission has been set');
150
-\define('CO_' . $moduleDirNameUpper . '_' . 'PERMNOTSET', 'The permission cannot be set');
142
+\define('CO_'.$moduleDirNameUpper.'_'.'AVAILABLE', "<span style='color: green;'>Available</span>");
143
+\define('CO_'.$moduleDirNameUpper.'_'.'NOTAVAILABLE', "<span style='color: red;'>Not available</span>");
144
+\define('CO_'.$moduleDirNameUpper.'_'.'NOTWRITABLE', "<span style='color: red;'>Should have permission ( %d ), but it has ( %d )</span>");
145
+\define('CO_'.$moduleDirNameUpper.'_'.'CREATETHEDIR', 'Create it');
146
+\define('CO_'.$moduleDirNameUpper.'_'.'SETMPERM', 'Set the permission');
147
+\define('CO_'.$moduleDirNameUpper.'_'.'DIRCREATED', 'The directory has been created');
148
+\define('CO_'.$moduleDirNameUpper.'_'.'DIRNOTCREATED', 'The directory cannot be created');
149
+\define('CO_'.$moduleDirNameUpper.'_'.'PERMSET', 'The permission has been set');
150
+\define('CO_'.$moduleDirNameUpper.'_'.'PERMNOTSET', 'The permission cannot be set');
151 151
 
152 152
 //FileChecker
153 153
 //\define('CO_' . $moduleDirNameUpper . '_' . 'AVAILABLE', "<span style='color: green;'>Available</span>");
@@ -157,32 +157,32 @@  discard block
 block discarded – undo
157 157
 //\define('CO_' . $moduleDirNameUpper . '_' . 'CREATETHEFILE', 'Create it');
158 158
 //\define('CO_' . $moduleDirNameUpper . '_' . 'SETMPERM', 'Set the permission');
159 159
 
160
-\define('CO_' . $moduleDirNameUpper . '_' . 'FILECOPIED', 'The file has been copied');
161
-\define('CO_' . $moduleDirNameUpper . '_' . 'FILENOTCOPIED', 'The file cannot be copied');
160
+\define('CO_'.$moduleDirNameUpper.'_'.'FILECOPIED', 'The file has been copied');
161
+\define('CO_'.$moduleDirNameUpper.'_'.'FILENOTCOPIED', 'The file cannot be copied');
162 162
 
163
-\define('CO_' . $moduleDirNameUpper . '_' . 'TRUNCATE_LENGTH', 'Number of Characters to truncate to the long text field');
164
-\define('CO_' . $moduleDirNameUpper . '_' . 'TRUNCATE_LENGTH_DESC', 'Set the maximum number of characters to truncate the long text fields');
163
+\define('CO_'.$moduleDirNameUpper.'_'.'TRUNCATE_LENGTH', 'Number of Characters to truncate to the long text field');
164
+\define('CO_'.$moduleDirNameUpper.'_'.'TRUNCATE_LENGTH_DESC', 'Set the maximum number of characters to truncate the long text fields');
165 165
 
166 166
 //image config
167
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_WIDTH', 'Image Display Width');
168
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_WIDTH_DSC', 'Display width for image');
169
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_HEIGHT', 'Image Display Height');
170
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_HEIGHT_DSC', 'Display height for image');
171
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_CONFIG', '<span style="color: #FF0000; font-size: Small;  font-weight: bold;">--- EXTERNAL Image configuration ---</span> ');
172
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_CONFIG_DSC', '');
173
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_UPLOAD_PATH', 'Image Upload path');
174
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_UPLOAD_PATH_DSC', 'Path for uploading images');
175
-
176
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_FILE_SIZE', 'Image File Size (in Bytes)');
177
-\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_FILE_SIZE_DSC', 'The maximum file size of the image file (in Bytes)');
167
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_WIDTH', 'Image Display Width');
168
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_WIDTH_DSC', 'Display width for image');
169
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_HEIGHT', 'Image Display Height');
170
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_HEIGHT_DSC', 'Display height for image');
171
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_CONFIG', '<span style="color: #FF0000; font-size: Small;  font-weight: bold;">--- EXTERNAL Image configuration ---</span> ');
172
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_CONFIG_DSC', '');
173
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_UPLOAD_PATH', 'Image Upload path');
174
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_UPLOAD_PATH_DSC', 'Path for uploading images');
175
+
176
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_FILE_SIZE', 'Image File Size (in Bytes)');
177
+\define('CO_'.$moduleDirNameUpper.'_'.'IMAGE_FILE_SIZE_DSC', 'The maximum file size of the image file (in Bytes)');
178 178
 
179 179
 //Module Stats
180
-\define('CO_' . $moduleDirNameUpper . '_' . 'STATS_SUMMARY', 'Module Statistics');
181
-\define('CO_' . $moduleDirNameUpper . '_' . 'TOTAL_CATEGORIES', 'Categories:');
182
-\define('CO_' . $moduleDirNameUpper . '_' . 'TOTAL_ITEMS', 'Items');
183
-\define('CO_' . $moduleDirNameUpper . '_' . 'TOTAL_OFFLINE', 'Offline');
184
-\define('CO_' . $moduleDirNameUpper . '_' . 'TOTAL_PUBLISHED', 'Published');
185
-\define('CO_' . $moduleDirNameUpper . '_' . 'TOTAL_REJECTED', 'Rejected');
186
-\define('CO_' . $moduleDirNameUpper . '_' . 'TOTAL_SUBMITTED', 'Submitted');
187
-
188
-\define('CO_' . $moduleDirNameUpper . '_' . 'ERROR403', 'You are not allowed to view this page!');
180
+\define('CO_'.$moduleDirNameUpper.'_'.'STATS_SUMMARY', 'Module Statistics');
181
+\define('CO_'.$moduleDirNameUpper.'_'.'TOTAL_CATEGORIES', 'Categories:');
182
+\define('CO_'.$moduleDirNameUpper.'_'.'TOTAL_ITEMS', 'Items');
183
+\define('CO_'.$moduleDirNameUpper.'_'.'TOTAL_OFFLINE', 'Offline');
184
+\define('CO_'.$moduleDirNameUpper.'_'.'TOTAL_PUBLISHED', 'Published');
185
+\define('CO_'.$moduleDirNameUpper.'_'.'TOTAL_REJECTED', 'Rejected');
186
+\define('CO_'.$moduleDirNameUpper.'_'.'TOTAL_SUBMITTED', 'Submitted');
187
+
188
+\define('CO_'.$moduleDirNameUpper.'_'.'ERROR403', 'You are not allowed to view this page!');
Please login to merge, or discard this patch.
language/english/modinfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
 //Help
28 28
 define('_MI_MYIFRAME_DIRNAME', basename(dirname(__DIR__, 2)));
29
-define('_MI_MYIFRAME_HELP_HEADER', __DIR__ . '/help/helpheader.tpl');
29
+define('_MI_MYIFRAME_HELP_HEADER', __DIR__.'/help/helpheader.tpl');
30 30
 define('_MI_MYIFRAME_BACK_2_ADMIN', 'Back to Administration of ');
31 31
 define('_MI_MYIFRAME_OVERVIEW', 'Overview');
32 32
 
Please login to merge, or discard this patch.
config/config.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -20,33 +20,33 @@  discard block
 block discarded – undo
20 20
 $moduleDirName      = \basename(\dirname(__DIR__));
21 21
 $moduleDirNameUpper = \mb_strtoupper($moduleDirName);
22 22
 
23
-return (object)[
24
-    'name'           => $moduleDirNameUpper . ' Module Configurator',
23
+return (object) [
24
+    'name'           => $moduleDirNameUpper.' Module Configurator',
25 25
     'paths'          => [
26 26
         'dirname'    => $moduleDirName,
27
-        'admin'      => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/admin',
28
-        'modPath'    => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName,
29
-        'modUrl'     => XOOPS_URL . '/modules/' . $moduleDirName,
30
-        'uploadPath' => XOOPS_UPLOAD_PATH . '/' . $moduleDirName,
31
-        'uploadUrl'  => XOOPS_UPLOAD_URL . '/' . $moduleDirName,
27
+        'admin'      => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/admin',
28
+        'modPath'    => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName,
29
+        'modUrl'     => XOOPS_URL.'/modules/'.$moduleDirName,
30
+        'uploadPath' => XOOPS_UPLOAD_PATH.'/'.$moduleDirName,
31
+        'uploadUrl'  => XOOPS_UPLOAD_URL.'/'.$moduleDirName,
32 32
     ],
33 33
     'uploadFolders'  => [
34
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName,
35
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/category',
36
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/screenshots',
34
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName,
35
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/category',
36
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/screenshots',
37 37
         //XOOPS_UPLOAD_PATH . '/flags'
38 38
     ],
39 39
     'copyBlankFiles' => [
40
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName,
41
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/category',
42
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/screenshots',
40
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName,
41
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/category',
42
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/screenshots',
43 43
         //XOOPS_UPLOAD_PATH . '/flags'
44 44
     ],
45 45
 
46 46
     'copyTestFolders' => [
47 47
         [
48
-            XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/testdata/uploads',
49
-            XOOPS_UPLOAD_PATH . '/' . $moduleDirName,
48
+            XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/testdata/uploads',
49
+            XOOPS_UPLOAD_PATH.'/'.$moduleDirName,
50 50
         ],
51 51
         //            [
52 52
         //                XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/testdata/thumbs',
@@ -85,5 +85,5 @@  discard block
 block discarded – undo
85 85
         //            'totalsubmitted'  => $helper->getHandler('Item')->getItemsCount(-1, [Constants::PUBLISHER_STATUS_SUBMITTED]),
86 86
     ],
87 87
     'modCopyright'  => "<a href='https://xoops.org' title='XOOPS Project' target='_blank'>
88
-                     <img src='" . Admin::iconUrl('xoopsmicrobutton.gif') . "' alt='XOOPS Project'></a>",
88
+                     <img src='" . Admin::iconUrl('xoopsmicrobutton.gif')."' alt='XOOPS Project'></a>",
89 89
 ];
Please login to merge, or discard this patch.
config/icons.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -6,14 +6,14 @@
 block discarded – undo
6 6
 $moduleDirName = \basename(\dirname(__DIR__));
7 7
 
8 8
 return [
9
-    'name'    => \mb_strtoupper($moduleDirName) . ' IconConfigurator',
10
-    'edit'    => "<img src='" . $pathIcon16 . "/edit.png'  alt=" . _EDIT . ' title=' . _EDIT . " align='middle'>",
11
-    'delete'  => "<img src='" . $pathIcon16 . "/delete.png' alt=" . _DELETE . ' title=' . _DELETE . " align='middle'>",
12
-    'clone'   => "<img src='" . $pathIcon16 . "/editcopy.png' alt=" . _CLONE . ' title=' . _CLONE . " align='middle'>",
13
-    'preview' => "<img src='" . $pathIcon16 . "/view.png' alt=" . _PREVIEW . ' title=' . _PREVIEW . " align='middle'>",
14
-    'print'   => "<img src='" . $pathIcon16 . "/printer.png' alt=" . _PRINT . ' title=' . _PRINT . " align='middle'>",
15
-    'pdf'     => "<img src='" . $pathIcon16 . "/pdf.png' alt=" . _PDF . ' title=' . _PDF . " align='middle'>",
16
-    'add'     => "<img src='" . $pathIcon16 . "/add.png' alt=" . _ADD . ' title=' . _ADD . " align='middle'>",
17
-    '0'       => "<img src='" . $pathIcon16 . "/0.png' alt=" . 0 . ' title=' . _OFF . " align='middle'>",
18
-    '1'       => "<img src='" . $pathIcon16 . "/1.png' alt=" . 1 . ' title=' . _ON . " align='middle'>",
9
+    'name'    => \mb_strtoupper($moduleDirName).' IconConfigurator',
10
+    'edit'    => "<img src='".$pathIcon16."/edit.png'  alt="._EDIT.' title='._EDIT." align='middle'>",
11
+    'delete'  => "<img src='".$pathIcon16."/delete.png' alt="._DELETE.' title='._DELETE." align='middle'>",
12
+    'clone'   => "<img src='".$pathIcon16."/editcopy.png' alt="._CLONE.' title='._CLONE." align='middle'>",
13
+    'preview' => "<img src='".$pathIcon16."/view.png' alt="._PREVIEW.' title='._PREVIEW." align='middle'>",
14
+    'print'   => "<img src='".$pathIcon16."/printer.png' alt="._PRINT.' title='._PRINT." align='middle'>",
15
+    'pdf'     => "<img src='".$pathIcon16."/pdf.png' alt="._PDF.' title='._PDF." align='middle'>",
16
+    'add'     => "<img src='".$pathIcon16."/add.png' alt="._ADD.' title='._ADD." align='middle'>",
17
+    '0'       => "<img src='".$pathIcon16."/0.png' alt=".0.' title='._OFF." align='middle'>",
18
+    '1'       => "<img src='".$pathIcon16."/1.png' alt=".1.' title='._ON." align='middle'>",
19 19
 ];
Please login to merge, or discard this patch.