@@ -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.78 ' ,
30
+ 'version ' => '4.26.79 ' ,
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 ' ,
@@ -284,7 +284,7 @@ static public function getDefaultData() {
284
284
"userSwitcherSelector " => '' ,
285
285
"userSwitcherRestricted " => null ,
286
286
"userSwitcherIncluded " => null ,
287
- "userSwitcherUserLabel " => 'name ' ,
287
+ "userSwitcherUserLabel " => '{ name} ({email}) ' ,
288
288
"todoIgnoreDirs " => 'git, svn, images, img, errors, sass-cache, node_modules ' ,
289
289
"todoScanAssets " => null ,
290
290
"todoScanModules " => null ,
@@ -4491,8 +4491,8 @@ public function getModuleConfigInputfields(array $data) {
4491
4491
$ f = $ this ->wire ('modules ' )->get ("InputfieldText " );
4492
4492
$ f ->attr ('name ' , 'userSwitcherUserLabel ' );
4493
4493
$ f ->label = __ ('User label field ' , __FILE__ );
4494
- $ f ->description = __ ('Use this to determine which user field will be used to identify users in the selection interace. ' , __FILE__ );
4495
- $ f ->notes = __ ('Default: `name` ' , __FILE__ );
4494
+ $ f ->description = __ ('Use this to determine which user field(s) will be used to identify users in the selection interace. ' , __FILE__ );
4495
+ $ f ->notes = __ ('Default: `{ name} ({email}) ` ' , __FILE__ );
4496
4496
if ($ data ['userSwitcherUserLabel ' ]) $ f ->attr ('value ' , $ data ['userSwitcherUserLabel ' ]);
4497
4497
$ fieldset ->add ($ f );
4498
4498
0 commit comments