Commit cf7a66d 1 parent 61ca21b commit cf7a66d Copy full SHA for cf7a66d
File tree 3 files changed +9
-10
lines changed
3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -92,11 +92,6 @@ public static function getModuleConfigFileContents($module_folder)
92
92
if (is_file ("$ root_dir/modules/ $ module_folder/module_config.php " )) {
93
93
$ is_compatible = true ;
94
94
require_once ("$ root_dir/modules/ $ module_folder/module_config.php " );
95
- } else {
96
- if (is_file ("$ root_dir/modules/ $ module_folder/database_integrity.php " )) {
97
- $ is_compatible = true ;
98
- require_once ("$ root_dir/modules/ $ module_folder/database_integrity.php " );
99
- }
100
95
}
101
96
102
97
$ return_info = array (
Original file line number Diff line number Diff line change 12
12
13
13
// $tables: array of table names without prefix
14
14
//use FormTools\Modules\SystemCheck\Generation;
15
- //echo Generation::generateDbConfigFile(Core::getCoreTables()); // Core
16
- //echo sc_generate_db_config_file($tables, "module"); // Module
17
- ////exit;
15
+ //$tables = array("module_pages", "module_pages_clients");
16
+ ////echo Generation::generateDbConfigFile(Core::getCoreTables()); // Core
17
+ //echo Generation::generateDbConfigFile($tables, "module"); // Core
18
+ //exit;
18
19
19
20
$ word_testing_uc = mb_strtoupper ($ L ["word_untested " ]);
20
21
$ word_passed_uc = mb_strtoupper ($ L ["word_passed " ]);
Original file line number Diff line number Diff line change 39
39
<th >{ $LANG .word_version} </th >
40
40
<th >{ $L .word_result} </th >
41
41
</tr >
42
+ { assign var= has_one_enabled value= false }
42
43
{ foreach from= $module_list item= module_info}
43
44
{ assign var= has_hooks value= $module_info .module_config.hooks|@count}
44
45
<tr { if ! $has_hooks } class =" no_test" { /if } >
45
46
<td align =" center" >
46
47
{ if $has_hooks }
48
+ { assign var= has_one_enabled value= true }
47
49
<input type =" checkbox" class =" components" value =" { $module_info .module_id} " checked =" checked" />
48
50
{ /if }
49
51
</td >
67
69
{ /foreach }
68
70
</table >
69
71
72
+ { if $has_one_enabled }
70
73
<p >
71
74
<input type =" button" value =" { $L .phrase_test_selected_components} " onclick =" sc_ns.start(sc_ns.init_component_hook_test)" />
72
75
</p >
85
88
</td >
86
89
</tr >
87
90
</table >
88
-
91
+ { / if }
89
92
{ /if }
90
93
91
- { include file= ' modules_footer.tpl' }
94
+ { include file= ' modules_footer.tpl' }
You can’t perform that action at this time.
0 commit comments