diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:55:19 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:55:19 +0100 |
| commit | 513bc9e03522f0bfc0e307a8e40a517e746de2bc (patch) | |
| tree | bed44d24c1ef1ee8d3801b74fe0fac68e1f779f4 /liberty_plugins | |
| parent | 70ebf6a972f511a904a7775ec792dc2523bf3e13 (diff) | |
| download | users-513bc9e03522f0bfc0e307a8e40a517e746de2bc.tar.gz users-513bc9e03522f0bfc0e307a8e40a517e746de2bc.tar.bz2 users-513bc9e03522f0bfc0e307a8e40a517e746de2bc.zip | |
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'liberty_plugins')
| -rwxr-xr-x | liberty_plugins/data.userlink.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/liberty_plugins/data.userlink.php b/liberty_plugins/data.userlink.php index 73a943d..c8bce63 100755 --- a/liberty_plugins/data.userlink.php +++ b/liberty_plugins/data.userlink.php @@ -1,5 +1,6 @@ <?php namespace Bitweaver\Liberty; + use Bitweaver\KernelTools; /** @@ -39,7 +40,7 @@ $pluginParams = [ 'description' => KernelTools::tra("Will show a link to the userpage for a given login name or email."), 'help_function' => 'data_userlink_help', 'syntax' => "{USERLINK login='bigwasp'}", - 'plugin_type' => DATA_PLUGIN + 'plugin_type' => DATA_PLUGIN, ]; $gLibertySystem->registerPlugin( PLUGIN_GUID_DATAUSERLINK, $pluginParams ); $gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATAUSERLINK ); @@ -47,24 +48,24 @@ $gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATAUSERLINK // Help Function function data_userlink_help() { $help = - '<table class="data help">' - .'<tr>' - .'<th>' . KernelTools::tra( "Key" ) . '</th>' + '<table class="data help">' + .'<tr>' + .'<th>' . KernelTools::tra( "Key" ) . '</th>' .'<th>' . KernelTools::tra( "Type" ) . '</th>' .'<th>' . KernelTools::tra( "Comments") . '</th>' .'</tr>' .'<tr class="odd">' - .'<td>login</td>' - .'<td>' . KernelTools::tra( "string" ) . '<br />' . KernelTools::tra( "(optional)") . '</td>' + .'<td>login</td>' + .'<td>' . KernelTools::tra( "string" ) . '<br />' . KernelTools::tra( "(optional)") . '</td>' .'<td>' . KernelTools::tra( "The login name to generate the link" ) . '</td>' .'</tr>' .'<tr class="even">' - .'<td>email</td>' + .'<td>email</td>' .'<td>' . KernelTools::tra( "string" ) . '<br />' . KernelTools::tra( "(optional)") . '</td>' .'<td>' . KernelTools::tra( "The e-mail address to generate the link" ) . '</td>' .'</tr>' .'<tr class="odd">' - .'<td>label</td>' + .'<td>label</td>' .'<td>' . KernelTools::tra( "string" ) . '<br />' . KernelTools::tra( "(optional)") . '</td>' .'<td>' . KernelTools::tra( "The label to show; default is user's name" ) . '</td>' .'</tr>' |
