Completed
Push — master ( b949bb...b4f428 )
by Michael
01:58
created
xoops_trust_path/libs/altsys/class/MyBlocksAdmin.class.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 
118 118
             $moduleHandler = xoops_getHandler('module');
119 119
 
120
-         if (! empty($_GET['dirname'])) {
120
+            if (! empty($_GET['dirname'])) {
121 121
                 $dirname = preg_replace('/[^0-9a-zA-Z_-]/', '', \Xmf\Request::getString('dirname', '', 'GET'));
122 122
 
123 123
                 $target_module = $moduleHandler->getByDirname($dirname);
@@ -558,12 +558,12 @@  discard block
 block discarded – undo
558 558
             ];
559 559
 
560 560
             $blocks4assign[] = [
561
-                                   'name_raw' => $block_data['name'],
562
-                                   'title_raw' => $block_data['title'],
563
-                                   'cell_position' => $this->renderCell4BlockPosition($block_data),
564
-                                   'cell_module_link' => $this->renderCell4BlockModuleLink($block_data),
565
-                                   'cell_group_perm' => $this->renderCell4BlockReadGroupPerm($block_data),
566
-                               ] + $block_data;
561
+                                    'name_raw' => $block_data['name'],
562
+                                    'title_raw' => $block_data['title'],
563
+                                    'cell_position' => $this->renderCell4BlockPosition($block_data),
564
+                                    'cell_module_link' => $this->renderCell4BlockModuleLink($block_data),
565
+                                    'cell_group_perm' => $this->renderCell4BlockReadGroupPerm($block_data),
566
+                                ] + $block_data;
567 567
         }
568 568
 
569 569
         // display
@@ -573,14 +573,14 @@  discard block
 block discarded – undo
573 573
         $tpl = new D3Tpl();
574 574
 
575 575
         $tpl->assign([
576
-                         'target_mid' => $this->target_mid,
577
-                         'target_dirname' => $this->target_dirname,
578
-                         'target_mname' => $this->target_mname,
579
-                         'language' => $this->lang,
580
-                         'cachetime_options' => $this->cachetime_options,
581
-                         'blocks' => $blocks4assign,
582
-                         'gticket_hidden' => $xoopsGTicket->getTicketHtml(__LINE__, 1800, 'myblocksadmin'),
583
-                     ]);
576
+                            'target_mid' => $this->target_mid,
577
+                            'target_dirname' => $this->target_dirname,
578
+                            'target_mname' => $this->target_mname,
579
+                            'language' => $this->lang,
580
+                            'cachetime_options' => $this->cachetime_options,
581
+                            'blocks' => $blocks4assign,
582
+                            'gticket_hidden' => $xoopsGTicket->getTicketHtml(__LINE__, 1800, 'myblocksadmin'),
583
+                        ]);
584 584
 
585 585
         $tpl->display('db:altsys_main_myblocksadmin_list.tpl');
586 586
     }
@@ -1274,18 +1274,18 @@  discard block
 block discarded – undo
1274 1274
         }
1275 1275
 
1276 1276
         $tpl->assign([
1277
-                         'target_dirname' => $this->target_dirname,
1278
-                         'target_mname' => $this->target_mname,
1279
-                         'language' => $this->lang,
1280
-                         'cachetime_options' => $this->cachetime_options,
1281
-                         'ctype_options' => $this->ctype_options,
1282
-                         'block' => $block4assign,
1283
-                         'op' => $next_op,
1284
-                         'form_title' => $form_title,
1285
-                         'submit_button' => $button_value,
1286
-                         'common_fck_installed' => $this->checkFck(),
1287
-                         'gticket_hidden' => $GLOBALS['xoopsSecurity']->getTokenHTML('myblocksadmin'),
1288
-                     ]);
1277
+                            'target_dirname' => $this->target_dirname,
1278
+                            'target_mname' => $this->target_mname,
1279
+                            'language' => $this->lang,
1280
+                            'cachetime_options' => $this->cachetime_options,
1281
+                            'ctype_options' => $this->ctype_options,
1282
+                            'block' => $block4assign,
1283
+                            'op' => $next_op,
1284
+                            'form_title' => $form_title,
1285
+                            'submit_button' => $button_value,
1286
+                            'common_fck_installed' => $this->checkFck(),
1287
+                            'gticket_hidden' => $GLOBALS['xoopsSecurity']->getTokenHTML('myblocksadmin'),
1288
+                        ]);
1289 1289
 
1290 1290
         if (defined('XOOPS_CUBE_LEGACY')) {
1291 1291
             $tpl->display('db:altsys_main_myblocksadmin_edit_4legacy.tpl');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/mymenu.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,8 @@
 block discarded – undo
65 65
 require_once XOOPS_TRUST_PATH . '/libs/altsys/class/D3Tpl.class.php';
66 66
 $tpl = new D3Tpl();
67 67
 $tpl->assign([
68
-                 'adminmenu' => $adminmenu,
69
-             ]);
68
+                    'adminmenu' => $adminmenu,
69
+                ]);
70 70
 $tpl->display('db:altsys_inc_mymenu.tpl');
71 71
 
72 72
 // submenu
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/mymenusub/mytplsadmin.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 require_once XOOPS_TRUST_PATH . '/libs/altsys/class/D3Tpl.class.php';
53 53
 $tpl = new D3Tpl();
54 54
 $tpl->assign([
55
-                 'adminmenu' => $adminmenu,
56
-                 'mypage' => 'mytplsadmin',
57
-             ]);
55
+                    'adminmenu' => $adminmenu,
56
+                    'mypage' => 'mytplsadmin',
57
+                ]);
58 58
 $tpl->display('db:altsys_inc_mymenusub.tpl');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/mymenusub/myblocksadmin.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 require_once XOOPS_TRUST_PATH . '/libs/altsys/class/D3Tpl.class.php';
60 60
 $tpl = new D3Tpl();
61 61
 $tpl->assign([
62
-                 'adminmenu' => $adminmenu,
63
-                 'mypage' => 'myblocksadmin',
64
-             ]);
62
+                    'adminmenu' => $adminmenu,
63
+                    'mypage' => 'myblocksadmin',
64
+                ]);
65 65
 $tpl->display('db:altsys_inc_mymenusub.tpl');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/mymenusub/mylangadmin.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 require_once XOOPS_TRUST_PATH . '/libs/altsys/class/D3Tpl.class.php';
33 33
 $tpl = new D3Tpl();
34 34
 $tpl->assign([
35
-                 'adminmenu' => $adminmenu,
36
-                 'mypage' => 'mylangadmin',
37
-             ]);
35
+                    'adminmenu' => $adminmenu,
36
+                    'mypage' => 'mylangadmin',
37
+                ]);
38 38
 $tpl->display('db:altsys_inc_mymenusub.tpl');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/mylangadmin.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -336,24 +336,24 @@
 block discarded – undo
336 336
 require_once XOOPS_TRUST_PATH . '/libs/altsys/class/D3Tpl.class.php';
337 337
 $tpl = new D3Tpl();
338 338
 $tpl->assign([
339
-                 'target_dirname' => $target_dirname,
340
-                 'target_mname' => $target_mname,
341
-                 'target_lang' => $target_lang,
342
-                 'languages' => $languages,
343
-                 'languages4disp' => $languages4disp,
344
-                 'target_file' => $target_file,
345
-                 'lang_files' => $lang_files,
346
-                 'langfile_constants' => $langfile_constants,
347
-                 'mylang_constants' => $mylang_constants,
348
-                 'use_my_language' => mb_strlen($langman->my_language) > 0,
349
-                 'mylang_file_name' => htmlspecialchars($mylang_unique_path, ENT_QUOTES),
350
-                 'cache_file_name' => htmlspecialchars($cache_file_name, ENT_QUOTES),
351
-                 'cache_file_mtime' => (int)$cache_file_mtime,
352
-                 'timezone_offset' => xoops_getUserTimestamp(0),
353
-                 'notice' => $notice4disp,
354
-                 'already_read' => $already_read,
355
-                 'gticket_hidden' => $xoopsGTicket->getTicketHtml(__LINE__, 1800, 'altsys'),
356
-             ]);
339
+                    'target_dirname' => $target_dirname,
340
+                    'target_mname' => $target_mname,
341
+                    'target_lang' => $target_lang,
342
+                    'languages' => $languages,
343
+                    'languages4disp' => $languages4disp,
344
+                    'target_file' => $target_file,
345
+                    'lang_files' => $lang_files,
346
+                    'langfile_constants' => $langfile_constants,
347
+                    'mylang_constants' => $mylang_constants,
348
+                    'use_my_language' => mb_strlen($langman->my_language) > 0,
349
+                    'mylang_file_name' => htmlspecialchars($mylang_unique_path, ENT_QUOTES),
350
+                    'cache_file_name' => htmlspecialchars($cache_file_name, ENT_QUOTES),
351
+                    'cache_file_mtime' => (int)$cache_file_mtime,
352
+                    'timezone_offset' => xoops_getUserTimestamp(0),
353
+                    'notice' => $notice4disp,
354
+                    'already_read' => $already_read,
355
+                    'gticket_hidden' => $xoopsGTicket->getTicketHtml(__LINE__, 1800, 'altsys'),
356
+                ]);
357 357
 $tpl->display('db:altsys_main_mylangadmin.tpl');
358 358
 
359 359
 xoops_cp_footer();
Please login to merge, or discard this patch.