Completed
Branch master (0881bb)
by Michael
04:14
created
xoops_trust_path/libs/altsys/blocks/block_functions.php 1 patch
Spacing   +84 added lines, -84 removed lines patch added patch discarded remove patch
@@ -1,147 +1,147 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once dirname(dirname(__FILE__)).'/include/altsys_functions.php' ;
3
+require_once dirname(dirname(__FILE__)).'/include/altsys_functions.php';
4 4
 
5 5
 function b_altsys_admin_menu_show($options)
6 6
 {
7
-    global $xoopsUser ;
7
+    global $xoopsUser;
8 8
 
9
-    $mydirname = empty($options[0]) ? 'altsys' : $options[0] ;
10
-    $this_template = empty($options[1]) ? 'db:'.$mydirname.'_block_admin_menu.html' : trim($options[1]) ;
9
+    $mydirname = empty($options[0]) ? 'altsys' : $options[0];
10
+    $this_template = empty($options[1]) ? 'db:'.$mydirname.'_block_admin_menu.html' : trim($options[1]);
11 11
 
12 12
     if (preg_match('/[^0-9a-zA-Z_-]/', $mydirname)) {
13
-        die('Invalid mydirname') ;
13
+        die('Invalid mydirname');
14 14
     }
15
-    if (! is_object(@$xoopsUser)) {
16
-        return array() ;
15
+    if (!is_object(@$xoopsUser)) {
16
+        return array();
17 17
     }
18 18
 
19 19
     // coretype
20
-    $coretype = altsys_get_core_type() ;
20
+    $coretype = altsys_get_core_type();
21 21
 
22 22
     // mid_selected
23 23
     if (is_object(@$GLOBALS["xoopsModule"])) {
24
-        $mid_selected = $GLOBALS["xoopsModule"]->getVar("mid") ;
24
+        $mid_selected = $GLOBALS["xoopsModule"]->getVar("mid");
25 25
         // for system->preferences
26
-        if ($mid_selected == 1 && @$_GET["fct"] == "preferences" && @$_GET["op"] == "showmod" && ! empty($_GET["mod"])) {
27
-            $mid_selected = intval($_GET["mod"]) ;
26
+        if ($mid_selected == 1 && @$_GET["fct"] == "preferences" && @$_GET["op"] == "showmod" && !empty($_GET["mod"])) {
27
+            $mid_selected = intval($_GET["mod"]);
28 28
         }
29 29
     } else {
30
-        $mid_selected = 0 ;
30
+        $mid_selected = 0;
31 31
     }
32 32
 
33
-    $db =& XoopsDatabaseFactory::getDatabaseConnection();
34
-    (method_exists('MyTextSanitizer', 'sGetInstance') and $myts =& MyTextSanitizer::sGetInstance()) || $myts =& MyTextSanitizer::getInstance();
33
+    $db = & XoopsDatabaseFactory::getDatabaseConnection();
34
+    (method_exists('MyTextSanitizer', 'sGetInstance') and $myts = & MyTextSanitizer::sGetInstance()) || $myts = & MyTextSanitizer::getInstance();
35 35
 
36
-    $module_handler =& xoops_gethandler('module');
37
-    $current_module =& $module_handler->getByDirname($mydirname);
38
-    $config_handler =& xoops_gethandler('config');
39
-    $current_configs = $config_handler->getConfigList($current_module->mid()) ;
40
-    $moduleperm_handler =& xoops_gethandler('groupperm');
36
+    $module_handler = & xoops_gethandler('module');
37
+    $current_module = & $module_handler->getByDirname($mydirname);
38
+    $config_handler = & xoops_gethandler('config');
39
+    $current_configs = $config_handler->getConfigList($current_module->mid());
40
+    $moduleperm_handler = & xoops_gethandler('groupperm');
41 41
     $admin_mids = $moduleperm_handler->getItemIds('module_admin', $xoopsUser->getGroups());
42
-    $modules = $module_handler->getObjects(new Criteria('mid', '('.implode(',', $admin_mids) . ')', 'IN'), true) ;
42
+    $modules = $module_handler->getObjects(new Criteria('mid', '('.implode(',', $admin_mids).')', 'IN'), true);
43 43
 
44 44
     $block = array(
45
-        'mydirname' => $mydirname ,
46
-        'mod_url' => XOOPS_URL.'/modules/'.$mydirname ,
47
-        'mod_imageurl' => XOOPS_URL.'/modules/'.$mydirname.'/'.$current_configs['images_dir'] ,
48
-        'mod_config' => $current_configs ,
49
-    ) ;
45
+        'mydirname' => $mydirname,
46
+        'mod_url' => XOOPS_URL.'/modules/'.$mydirname,
47
+        'mod_imageurl' => XOOPS_URL.'/modules/'.$mydirname.'/'.$current_configs['images_dir'],
48
+        'mod_config' => $current_configs,
49
+    );
50 50
 
51 51
     foreach ($modules as $mod) {
52
-        $mid = intval($mod->getVar('mid')) ;
53
-        $dirname = $mod->getVar('dirname') ;
54
-        $modinfo = $mod->getInfo() ;
55
-        $submenus4assign = array() ;
56
-        $adminmenu = array() ;
57
-        $adminmenu4altsys = array() ;
58
-        unset($adminmenu_use_altsys) ;
59
-        @include XOOPS_ROOT_PATH.'/modules/'.$dirname.'/'.@$modinfo['adminmenu'] ;
52
+        $mid = intval($mod->getVar('mid'));
53
+        $dirname = $mod->getVar('dirname');
54
+        $modinfo = $mod->getInfo();
55
+        $submenus4assign = array();
56
+        $adminmenu = array();
57
+        $adminmenu4altsys = array();
58
+        unset($adminmenu_use_altsys);
59
+        @include XOOPS_ROOT_PATH.'/modules/'.$dirname.'/'.@$modinfo['adminmenu'];
60 60
         // from admin_menu.php etc.
61
-        $adminmenu = array_merge($adminmenu, $adminmenu4altsys) ;
61
+        $adminmenu = array_merge($adminmenu, $adminmenu4altsys);
62 62
         foreach ($adminmenu as $sub) {
63
-            $link = empty($sub['altsys_link']) ? $sub['link'] : $sub['altsys_link'] ;
63
+            $link = empty($sub['altsys_link']) ? $sub['link'] : $sub['altsys_link'];
64 64
             if (isset($sub['show']) && $sub['show'] === false) {
65
-                continue ;
65
+                continue;
66 66
             }
67 67
             $submenus4assign[] = array(
68
-                'title' => $myts->makeTboxData4Show($sub['title']) ,
69
-                'url' => XOOPS_URL.'/modules/'.$dirname.'/'.htmlspecialchars($link, ENT_QUOTES) ,
70
-            ) ;
68
+                'title' => $myts->makeTboxData4Show($sub['title']),
69
+                'url' => XOOPS_URL.'/modules/'.$dirname.'/'.htmlspecialchars($link, ENT_QUOTES),
70
+            );
71 71
         }
72 72
 
73 73
         // for modules overriding Module.class.php (eg. Analyzer for XC)
74
-        if (empty($submenus4assign) && defined('XOOPS_CUBE_LEGACY') && ! empty($modinfo['cube_style'])) {
75
-            $module_handler =& xoops_gethandler('module');
76
-            $module =& $module_handler->get($mid);
77
-            $moduleObj =& Legacy_Utils::createModule($module);
78
-            $modinfo['adminindex'] = $moduleObj->getAdminIndex() ;
79
-            $modinfo['adminindex_absolute'] = true ;
74
+        if (empty($submenus4assign) && defined('XOOPS_CUBE_LEGACY') && !empty($modinfo['cube_style'])) {
75
+            $module_handler = & xoops_gethandler('module');
76
+            $module = & $module_handler->get($mid);
77
+            $moduleObj = & Legacy_Utils::createModule($module);
78
+            $modinfo['adminindex'] = $moduleObj->getAdminIndex();
79
+            $modinfo['adminindex_absolute'] = true;
80 80
             foreach ($moduleObj->getAdminMenu() as $sub) {
81 81
                 if (@$sub['show'] === false) {
82
-                    continue ;
82
+                    continue;
83 83
                 }
84 84
                 $submenus4assign[] = array(
85
-                    'title' => $myts->makeTboxData4Show($sub['title']) ,
86
-                    'url' => strncmp($sub['link'], 'http', 4) === 0 ? htmlspecialchars($sub['link'], ENT_QUOTES) : XOOPS_URL.'/modules/'.$dirname.'/'.htmlspecialchars($sub['link'], ENT_QUOTES) ,
87
-                ) ;
85
+                    'title' => $myts->makeTboxData4Show($sub['title']),
86
+                    'url' => strncmp($sub['link'], 'http', 4) === 0 ? htmlspecialchars($sub['link'], ENT_QUOTES) : XOOPS_URL.'/modules/'.$dirname.'/'.htmlspecialchars($sub['link'], ENT_QUOTES),
87
+                );
88 88
             }
89 89
         } elseif (empty($adminmenu4altsys)) {
90 90
 
91 91
             // add preferences
92
-            if ($mod->getVar('hasconfig') && ! in_array($mod->getVar('dirname'), array( 'system', 'legacy' ))) {
92
+            if ($mod->getVar('hasconfig') && !in_array($mod->getVar('dirname'), array('system', 'legacy'))) {
93 93
                 $submenus4assign[] = array(
94
-                    'title' => _PREFERENCES ,
95
-                    'url' => htmlspecialchars(altsys_get_link2modpreferences($mid, $coretype), ENT_QUOTES) ,
96
-                ) ;
94
+                    'title' => _PREFERENCES,
95
+                    'url' => htmlspecialchars(altsys_get_link2modpreferences($mid, $coretype), ENT_QUOTES),
96
+                );
97 97
             }
98 98
 
99 99
             // add help
100
-            if (defined('XOOPS_CUBE_LEGACY') && ! empty($modinfo['help'])) {
100
+            if (defined('XOOPS_CUBE_LEGACY') && !empty($modinfo['help'])) {
101 101
                 $submenus4assign[] = array(
102
-                    'title' => _HELP ,
103
-                    'url' => XOOPS_URL.'/modules/legacy/admin/index.php?action=Help&amp;dirname='.$dirname ,
104
-                ) ;
102
+                    'title' => _HELP,
103
+                    'url' => XOOPS_URL.'/modules/legacy/admin/index.php?action=Help&amp;dirname='.$dirname,
104
+                );
105 105
             }
106 106
         }
107 107
 
108 108
         $module4assign = array(
109
-            'mid' => $mid ,
110
-            'dirname' => $dirname ,
111
-            'name' => $mod->getVar('name') ,
112
-            'version_in_db' => sprintf('%.2f', $mod->getVar('version') / 100.0) ,
113
-            'version_in_file' => sprintf('%.2f', $modinfo['version']) ,
114
-            'description' => htmlspecialchars(@$modinfo['description'], ENT_QUOTES) ,
115
-            'image' => htmlspecialchars($modinfo['image'], ENT_QUOTES) ,
116
-            'isactive' => $mod->getVar('isactive') ,
117
-            'hasmain' => $mod->getVar('hasmain') ,
118
-            'hasadmin' => $mod->getVar('hasadmin') ,
119
-            'hasconfig' => $mod->getVar('hasconfig') ,
120
-            'weight' => $mod->getVar('weight') ,
121
-            'adminindex' => htmlspecialchars(@$modinfo['adminindex'], ENT_QUOTES) ,
122
-            'adminindex_absolute' => @$modinfo['adminindex_absolute'] ,
123
-            'submenu' => $submenus4assign ,
124
-            'selected' => $mid == $mid_selected ? true : false ,
125
-            'dot_suffix' => $mid == $mid_selected ? 'selected_opened' : 'closed' ,
126
-        ) ;
127
-        $block['modules'][] = $module4assign ;
109
+            'mid' => $mid,
110
+            'dirname' => $dirname,
111
+            'name' => $mod->getVar('name'),
112
+            'version_in_db' => sprintf('%.2f', $mod->getVar('version') / 100.0),
113
+            'version_in_file' => sprintf('%.2f', $modinfo['version']),
114
+            'description' => htmlspecialchars(@$modinfo['description'], ENT_QUOTES),
115
+            'image' => htmlspecialchars($modinfo['image'], ENT_QUOTES),
116
+            'isactive' => $mod->getVar('isactive'),
117
+            'hasmain' => $mod->getVar('hasmain'),
118
+            'hasadmin' => $mod->getVar('hasadmin'),
119
+            'hasconfig' => $mod->getVar('hasconfig'),
120
+            'weight' => $mod->getVar('weight'),
121
+            'adminindex' => htmlspecialchars(@$modinfo['adminindex'], ENT_QUOTES),
122
+            'adminindex_absolute' => @$modinfo['adminindex_absolute'],
123
+            'submenu' => $submenus4assign,
124
+            'selected' => $mid == $mid_selected ? true : false,
125
+            'dot_suffix' => $mid == $mid_selected ? 'selected_opened' : 'closed',
126
+        );
127
+        $block['modules'][] = $module4assign;
128 128
     }
129 129
 
130
-    require_once XOOPS_TRUST_PATH.'/libs/altsys/class/D3Tpl.class.php' ;
131
-    $tpl = new D3Tpl() ;
132
-    $tpl->assign('block', $block) ;
133
-    $ret['content'] = $tpl->fetch($this_template) ;
134
-    return $ret ;
130
+    require_once XOOPS_TRUST_PATH.'/libs/altsys/class/D3Tpl.class.php';
131
+    $tpl = new D3Tpl();
132
+    $tpl->assign('block', $block);
133
+    $ret['content'] = $tpl->fetch($this_template);
134
+    return $ret;
135 135
 }
136 136
 
137 137
 
138 138
 function b_altsys_admin_menu_edit($options)
139 139
 {
140
-    $mydirname = empty($options[0]) ? 'd3forum' : $options[0] ;
141
-    $this_template = empty($options[1]) ? 'db:'.$mydirname.'_block_admin_menu.html' : trim($options[1]) ;
140
+    $mydirname = empty($options[0]) ? 'd3forum' : $options[0];
141
+    $this_template = empty($options[1]) ? 'db:'.$mydirname.'_block_admin_menu.html' : trim($options[1]);
142 142
 
143 143
     if (preg_match('/[^0-9a-zA-Z_-]/', $mydirname)) {
144
-        die('Invalid mydirname') ;
144
+        die('Invalid mydirname');
145 145
     }
146 146
 
147 147
     $form = "
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/smarty_plugins/resource.db.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     $tplset = $xoopsConfig['template_set'];
59 59
     $theme = isset($xoopsConfig['theme_set']) ? $xoopsConfig['theme_set'] : 'default';
60 60
     
61
-    $tplfile_handler =& xoops_gethandler('tplfile');
61
+    $tplfile_handler = & xoops_gethandler('tplfile');
62 62
     // If we're not using the "default" template set, then get the templates from the DB
63 63
     if ($tplset != "default") {
64 64
         $tplobj = $tplfile_handler->find($tplset, null, null, null, $tpl_name, true);
@@ -77,12 +77,12 @@  discard block
 block discarded – undo
77 77
     $type = $tplobj->getVar('tpl_type', 'n');
78 78
     $blockpath = ($type == 'block') ? 'blocks/' : '';
79 79
     // First, check for an overloaded version within the theme folder
80
-    $filepath = XOOPS_THEME_PATH . "/$theme/modules/$module/$blockpath$tpl_name";
80
+    $filepath = XOOPS_THEME_PATH."/$theme/modules/$module/$blockpath$tpl_name";
81 81
     if (!file_exists($filepath)) {
82 82
         // If no custom version exists, get the tpl from its default location
83
-        $filepath = XOOPS_ROOT_PATH . "/modules/$module/templates/$blockpath$tpl_name";
83
+        $filepath = XOOPS_ROOT_PATH."/modules/$module/templates/$blockpath$tpl_name";
84 84
         if (!file_exists($filepath)) {
85
-            return $cache[$tpl_name] = $tplobj ;
85
+            return $cache[$tpl_name] = $tplobj;
86 86
         }
87 87
     }
88 88
     return $cache[$tpl_name] = $filepath;
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/french/admin_in_theme.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_AINTHEME_FMT_PUBLICTOP', 'Public Top de %s') ;
4
-define('_MD_A_AINTHEME_FMT_ADMINTOP', 'Admin Top de %s') ;
3
+define('_MD_A_AINTHEME_FMT_PUBLICTOP', 'Public Top de %s');
4
+define('_MD_A_AINTHEME_FMT_ADMINTOP', 'Admin Top de %s');
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/french/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/language/french/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/pt_utf8/blocks_each.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 if (defined('FOR_XOOPS_LANG_CHECKER')) {
5 5
     $mydirname = 'd3forum';
6 6
 }
7
-$constpref = '_MB_' . strtoupper($mydirname);
8
-if (defined('FOR_XOOPS_LANG_CHECKER') || ! defined($constpref.'_LOADED')) {
7
+$constpref = '_MB_'.strtoupper($mydirname);
8
+if (defined('FOR_XOOPS_LANG_CHECKER') || !defined($constpref.'_LOADED')) {
9 9
     define($constpref.'_LOADED', 1);
10 10
 // DEFINITIONS FOR DISPLAYING BLOCKS
11 11
 // SINCE ALTSYS IS A SINGLETON MODULE, THIS FILE HAS NON-SENSE.
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/portuguese/blocks_each.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 if (defined('FOR_XOOPS_LANG_CHECKER')) {
5 5
     $mydirname = 'd3forum';
6 6
 }
7
-$constpref = '_MB_' . strtoupper($mydirname);
8
-if (defined('FOR_XOOPS_LANG_CHECKER') || ! defined($constpref.'_LOADED')) {
7
+$constpref = '_MB_'.strtoupper($mydirname);
8
+if (defined('FOR_XOOPS_LANG_CHECKER') || !defined($constpref.'_LOADED')) {
9 9
     define($constpref.'_LOADED', 1);
10 10
 // DEFINITIONS FOR DISPLAYING BLOCKS
11 11
 // SINCE ALTSYS IS A SINGLETON MODULE, THIS FILE HAS NON-SENSE.
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/language/spanish/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/language/german/admin_in_theme.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_AINTHEME_FMT_PUBLICTOP', 'Public Top of %s') ;
4
-define('_MD_A_AINTHEME_FMT_ADMINTOP', 'Admin Top of %s') ;
3
+define('_MD_A_AINTHEME_FMT_PUBLICTOP', 'Public Top of %s');
4
+define('_MD_A_AINTHEME_FMT_ADMINTOP', 'Admin Top of %s');
Please login to merge, or discard this patch.