@@ -27,7 +27,7 @@ public static function getModuleInfo() {
27
27
'summary ' => __ ('Tracy debugger from Nette with many PW specific custom tools. ' , __FILE__ ),
28
28
'author ' => 'Adrian Jones ' ,
29
29
'href ' => 'https://processwire.com/talk/forum/58-tracy-debugger/ ' ,
30
- 'version ' => '4.26.38 ' ,
30
+ 'version ' => '4.26.39 ' ,
31
31
'autoload ' => 100000 , // in PW 3.0.114+ higher numbers are loaded first - we want Tracy first
32
32
'singular ' => true ,
33
33
'requires ' => 'ProcessWire>=2.7.2, PHP>=5.4.4 ' ,
@@ -286,7 +286,7 @@ static public function getDefaultData() {
286
286
"todoIgnoreDirs " => 'git, svn, images, img, errors, sass-cache, node_modules ' ,
287
287
"todoScanAssets " => null ,
288
288
"todoScanModules " => null ,
289
- "todoSpecificModulesOnly " => '' ,
289
+ "todoSpecifiedDirectories " => '' ,
290
290
"todoAllowedExtensions " => 'php, module, inc, txt, latte, html, htm, md, css, scss, less, js ' ,
291
291
"variablesShowPwObjects " => null ,
292
292
"alwaysShowDebugTools " => 1 ,
@@ -4305,12 +4305,11 @@ public function getModuleConfigInputfields(array $data) {
4305
4305
$ fieldset ->add ($ f );
4306
4306
4307
4307
$ f = $ this ->wire ('modules ' )->get ("InputfieldTextarea " );
4308
- $ f ->attr ('name ' , 'todoSpecificModulesOnly ' );
4309
- $ f ->label = __ ('Specific Modules Only ' , __FILE__ );
4310
- $ f ->description = __ ('Comma separated list of module folder names to be included when scanning for ToDo items. ' , __FILE__ );
4311
- $ f ->notes = __ ('If blank, all modules will be scanned. ' , __FILE__ );
4312
- $ f ->showIf = 'todoScanModules=1 ' ;
4313
- if ($ data ['todoSpecificModulesOnly ' ]) $ f ->attr ('value ' , $ data ['todoSpecificModulesOnly ' ]);
4308
+ $ f ->attr ('name ' , 'todoSpecifiedDirectories ' );
4309
+ $ f ->label = __ ('Specified directories ' , __FILE__ );
4310
+ $ f ->description = __ ('Line break separated directories to be scanned for ToDo items. ' , __FILE__ );
4311
+ $ f ->notes = __ ('For example `site/classes` or `site/modules/MyModuleName` ' , __FILE__ );
4312
+ if ($ data ['todoSpecifiedDirectories ' ]) $ f ->attr ('value ' , $ data ['todoSpecifiedDirectories ' ]);
4314
4313
$ fieldset ->add ($ f );
4315
4314
4316
4315
// ProcessWire and Tracy Log Panels
0 commit comments