Automated formatting changes

This commit is contained in:
Formatter Bot 2021-02-08 22:01:54 +00:00
parent 457ff3e09b
commit 38d45866c3
6 changed files with 338 additions and 339 deletions

View File

@ -16,7 +16,6 @@ declare(strict_types=1);
namespace Modules\Admin\Controller; namespace Modules\Admin\Controller;
use Model\SettingsEnum;
use Modules\Admin\Models\Account; use Modules\Admin\Models\Account;
use Modules\Admin\Models\AccountMapper; use Modules\Admin\Models\AccountMapper;
use Modules\Admin\Models\AccountPermission; use Modules\Admin\Models\AccountPermission;

View File

@ -37,20 +37,20 @@ final class AccountMapper extends DataMapperAbstract
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $columns = [ protected static array $columns = [
'account_id' => ['name' => 'account_id', 'type' => 'int', 'internal' => 'id'], 'account_id' => ['name' => 'account_id', 'type' => 'int', 'internal' => 'id'],
'account_status' => ['name' => 'account_status', 'type' => 'int', 'internal' => 'status'], 'account_status' => ['name' => 'account_status', 'type' => 'int', 'internal' => 'status'],
'account_type' => ['name' => 'account_type', 'type' => 'int', 'internal' => 'type'], 'account_type' => ['name' => 'account_type', 'type' => 'int', 'internal' => 'type'],
'account_login' => ['name' => 'account_login', 'type' => 'string', 'internal' => 'login', 'autocomplete' => true], 'account_login' => ['name' => 'account_login', 'type' => 'string', 'internal' => 'login', 'autocomplete' => true],
'account_name1' => ['name' => 'account_name1', 'type' => 'string', 'internal' => 'name1', 'autocomplete' => true, 'annotations' => ['gdpr' => true]], 'account_name1' => ['name' => 'account_name1', 'type' => 'string', 'internal' => 'name1', 'autocomplete' => true, 'annotations' => ['gdpr' => true]],
'account_name2' => ['name' => 'account_name2', 'type' => 'string', 'internal' => 'name2', 'autocomplete' => true, 'annotations' => ['gdpr' => true]], 'account_name2' => ['name' => 'account_name2', 'type' => 'string', 'internal' => 'name2', 'autocomplete' => true, 'annotations' => ['gdpr' => true]],
'account_name3' => ['name' => 'account_name3', 'type' => 'string', 'internal' => 'name3', 'autocomplete' => true, 'annotations' => ['gdpr' => true]], 'account_name3' => ['name' => 'account_name3', 'type' => 'string', 'internal' => 'name3', 'autocomplete' => true, 'annotations' => ['gdpr' => true]],
'account_password' => ['name' => 'account_password', 'type' => 'string', 'internal' => 'password', 'writeonly' => true], 'account_password' => ['name' => 'account_password', 'type' => 'string', 'internal' => 'password', 'writeonly' => true],
'account_password_temp' => ['name' => 'account_password_temp', 'type' => 'string', 'internal' => 'tempPassword', 'writeonly' => true], 'account_password_temp' => ['name' => 'account_password_temp', 'type' => 'string', 'internal' => 'tempPassword', 'writeonly' => true],
'account_email' => ['name' => 'account_email', 'type' => 'string', 'internal' => 'email', 'autocomplete' => true, 'annotations' => ['gdpr' => true]], 'account_email' => ['name' => 'account_email', 'type' => 'string', 'internal' => 'email', 'autocomplete' => true, 'annotations' => ['gdpr' => true]],
'account_tries' => ['name' => 'account_tries', 'type' => 'int', 'internal' => 'tries'], 'account_tries' => ['name' => 'account_tries', 'type' => 'int', 'internal' => 'tries'],
'account_lactive' => ['name' => 'account_lactive', 'type' => 'DateTime', 'internal' => 'lastActive'], 'account_lactive' => ['name' => 'account_lactive', 'type' => 'DateTime', 'internal' => 'lastActive'],
'account_localization' => ['name' => 'account_localization', 'type' => 'int', 'internal' => 'l11n'], 'account_localization' => ['name' => 'account_localization', 'type' => 'int', 'internal' => 'l11n'],
'account_created_at' => ['name' => 'account_created_at', 'type' => 'DateTimeImmutable', 'internal' => 'createdAt', 'readonly' => true], 'account_created_at' => ['name' => 'account_created_at', 'type' => 'DateTimeImmutable', 'internal' => 'createdAt', 'readonly' => true],
]; ];
/** /**

View File

@ -12,166 +12,166 @@
declare(strict_types=1); declare(strict_types=1);
return ['Admin' => [ return ['Admin' => [
':s1' => 'Aktiv', ':s1' => 'Aktiv',
':s2' => 'Inaktiv', ':s2' => 'Inaktiv',
':s3' => 'Timeout', ':s3' => 'Timeout',
':s4' => 'Gebannt', ':s4' => 'Gebannt',
'Account' => 'Account', 'Account' => 'Account',
'Account/Group' => 'Account/Groupe', 'Account/Group' => 'Account/Groupe',
'Accounts' => 'Konten', 'Accounts' => 'Konten',
'Active' => 'Aktiv', 'Active' => 'Aktiv',
'Activate' => 'Aktivieren', 'Activate' => 'Aktivieren',
'Activity' => 'Aktivität', 'Activity' => 'Aktivität',
'AuditLog' => 'Audit Log', 'AuditLog' => 'Audit Log',
'Available' => 'Verfügbar', 'Available' => 'Verfügbar',
'All' => 'Alle', 'All' => 'Alle',
'Amount' => 'Menge', 'Amount' => 'Menge',
'App' => 'App', 'App' => 'App',
'Area' => 'Gebiet', 'Area' => 'Gebiet',
'Banned' => 'Gabannt', 'Banned' => 'Gabannt',
'Cache' => 'Cache', 'Cache' => 'Cache',
'Children' => 'Kinder', 'Children' => 'Kinder',
'Close' => 'Schließen', 'Close' => 'Schließen',
'Comp' => 'Komp.', 'Comp' => 'Komp.',
'Component' => 'Komponent', 'Component' => 'Komponent',
'Country' => 'Land', 'Country' => 'Land',
'Create' => 'Erstellen', 'Create' => 'Erstellen',
'CreateProfile' => 'Erstelle Profil', 'CreateProfile' => 'Erstelle Profil',
'Created' => 'Erstellt', 'Created' => 'Erstellt',
'CreatedBy' => 'Erstellt von', 'CreatedBy' => 'Erstellt von',
'Currency' => 'Currency', 'Currency' => 'Currency',
'Currencyformat' => 'Währungsformat', 'Currencyformat' => 'Währungsformat',
'Customized' => 'Customized', 'Customized' => 'Customized',
'DecimalPoint' => 'Decimal Point', 'DecimalPoint' => 'Decimal Point',
'Defaults' => 'Defaults', 'Defaults' => 'Defaults',
'Description' => 'Description', 'Description' => 'Description',
'Delete' => 'Delete', 'Delete' => 'Delete',
'Deactivate' => 'Deactivate', 'Deactivate' => 'Deactivate',
'Ele' => 'Ele.', 'Ele' => 'Ele.',
'Element' => 'Element', 'Element' => 'Element',
'Email' => 'Email', 'Email' => 'Email',
'EmailAdmin' => 'Email Admin', 'EmailAdmin' => 'Email Admin',
'Fast' => 'Fast', 'Fast' => 'Fast',
'Features' => 'Features', 'Features' => 'Features',
'File' => 'File', 'File' => 'File',
'General' => 'General', 'General' => 'General',
'Glass' => 'Glass', 'Glass' => 'Glass',
'Group' => 'Group', 'Group' => 'Group',
'Groups' => 'Groups', 'Groups' => 'Groups',
'Heavy' => 'Heavy', 'Heavy' => 'Heavy',
'Inactive' => 'Inactive', 'Inactive' => 'Inactive',
'Install' => 'Install', 'Install' => 'Install',
'Installed' => 'Installed', 'Installed' => 'Installed',
'LAddress' => 'Local Address', 'LAddress' => 'Local Address',
'Language' => 'Language', 'Language' => 'Language',
'Large' => 'Large', 'Large' => 'Large',
'Length' => 'Length', 'Length' => 'Length',
'Light' => 'Light', 'Light' => 'Light',
'Load' => 'Load', 'Load' => 'Load',
'Localization' => 'Localization', 'Localization' => 'Localization',
'Long' => 'Long', 'Long' => 'Long',
'Log' => 'Log', 'Log' => 'Log',
'LoginRetries' => 'Login Retries', 'LoginRetries' => 'Login Retries',
'LogPath' => 'Log Path', 'LogPath' => 'Log Path',
'Logging' => 'Logging', 'Logging' => 'Logging',
'Loginname' => 'Login Name', 'Loginname' => 'Login Name',
'Lowercase' => 'Lowercase', 'Lowercase' => 'Lowercase',
'Maintenance' => 'Maintenance', 'Maintenance' => 'Maintenance',
'Medium' => 'Medium', 'Medium' => 'Medium',
'Member' => 'Member', 'Member' => 'Member',
'Members' => 'Members', 'Members' => 'Members',
'Memcache' => 'Memcache', 'Memcache' => 'Memcache',
'MemoryLimit' => 'Memory Limit', 'MemoryLimit' => 'Memory Limit',
'Message' => 'Message', 'Message' => 'Message',
'Module' => 'Module', 'Module' => 'Module',
'Modules' => 'Modules', 'Modules' => 'Modules',
'Name' => 'Name', 'Name' => 'Name',
'Name1' => 'Name 1', 'Name1' => 'Name 1',
'Name2' => 'Name 2', 'Name2' => 'Name 2',
'Name3' => 'Name 3', 'Name3' => 'Name 3',
'None' => 'None', 'None' => 'None',
'Numberformat' => 'Numberformat', 'Numberformat' => 'Numberformat',
'Numeric' => 'Numeric', 'Numeric' => 'Numeric',
'Organization' => 'Organization', 'Organization' => 'Organization',
'OrganizationName' => 'Organization Name', 'OrganizationName' => 'Organization Name',
'Page' => 'Page', 'Page' => 'Page',
'Parent' => 'Parent', 'Parent' => 'Parent',
'Parents' => 'Parents', 'Parents' => 'Parents',
'Password' => 'Password', 'Password' => 'Password',
'PasswordChangeInterval' => 'Password Change Interval (days)', 'PasswordChangeInterval' => 'Password Change Interval (days)',
'PasswordHistory' => 'Password History', 'PasswordHistory' => 'Password History',
'PasswordRegex' => 'Password Regex', 'PasswordRegex' => 'Password Regex',
'Perm' => 'Perm.', 'Perm' => 'Perm.',
'Permission' => 'Permission', 'Permission' => 'Permission',
'Permissions' => 'Permissions', 'Permissions' => 'Permissions',
'Person' => 'Person', 'Person' => 'Person',
'Precision' => 'Genauigkeit', 'Precision' => 'Genauigkeit',
'Profile' => 'Profile', 'Profile' => 'Profile',
'Read' => 'Read', 'Read' => 'Read',
'RAddress' => 'Remote Address', 'RAddress' => 'Remote Address',
'ReCache' => 'Re-Cache', 'ReCache' => 'Re-Cache',
'Release' => 'Release', 'Release' => 'Release',
'Reset' => 'Reset', 'Reset' => 'Reset',
'Running' => 'Running', 'Running' => 'Running',
'Short' => 'Short', 'Short' => 'Short',
'Sea' => 'Sea', 'Sea' => 'Sea',
'Security' => 'Security', 'Security' => 'Security',
'Settings' => 'Settings', 'Settings' => 'Settings',
'SettingsGeneral' => 'Settings - General', 'SettingsGeneral' => 'Settings - General',
'Single' => 'Single', 'Single' => 'Single',
'Slow' => 'Slow', 'Slow' => 'Slow',
'Small' => 'Small', 'Small' => 'Small',
'Speed' => 'Speed', 'Speed' => 'Speed',
'Specialchar' => 'Special character', 'Specialchar' => 'Special character',
'Status' => 'Status', 'Status' => 'Status',
'Total' => 'Total', 'Total' => 'Total',
'Type' => 'Type', 'Type' => 'Type',
'Tablespoon' => 'Tablespoon', 'Tablespoon' => 'Tablespoon',
'Teaspoon' => 'Teaspoon', 'Teaspoon' => 'Teaspoon',
'Temperature' => 'Temperature', 'Temperature' => 'Temperature',
'Theme' => 'Theme', 'Theme' => 'Theme',
'ThousandsSeparator' => 'Thousands Separator', 'ThousandsSeparator' => 'Thousands Separator',
'Time' => 'Time', 'Time' => 'Time',
'TimeoutPeriod' => 'Timeout Period (minutes)', 'TimeoutPeriod' => 'Timeout Period (minutes)',
'Timestamp' => 'Timestamp', 'Timestamp' => 'Timestamp',
'Timeformat' => 'Timeformat', 'Timeformat' => 'Timeformat',
'Timeout' => 'Timeout', 'Timeout' => 'Timeout',
'Timezone' => 'Timezone', 'Timezone' => 'Timezone',
'Unit' => 'Unit', 'Unit' => 'Unit',
'Uninstall' => 'Uninstall', 'Uninstall' => 'Uninstall',
'Update' => 'Update', 'Update' => 'Update',
'Uppercase' => 'Uppercase', 'Uppercase' => 'Uppercase',
'Username' => 'Username', 'Username' => 'Username',
'Version' => 'Version', 'Version' => 'Version',
'VeryFast' => 'Very Fast', 'VeryFast' => 'Very Fast',
'VeryHeavy' => 'Very Heavy', 'VeryHeavy' => 'Very Heavy',
'VeryLarge' => 'Very Large', 'VeryLarge' => 'Very Large',
'VeryLight' => 'Very Light', 'VeryLight' => 'Very Light',
'VeryLong' => 'Very Long', 'VeryLong' => 'Very Long',
'VerySlow' => 'Very Slow', 'VerySlow' => 'Very Slow',
'VeryShort' => 'Very Short', 'VeryShort' => 'Very Short',
'VerySmall' => 'Very Small', 'VerySmall' => 'Very Small',
'Volume' => 'Volume', 'Volume' => 'Volume',
'Warnings' => 'Warnings', 'Warnings' => 'Warnings',
'Website' => 'Website', 'Website' => 'Website',
'Weight' => 'Weight', 'Weight' => 'Weight',
'i:loc' => 'IP address or URL for remote access.', 'i:loc' => 'IP address or URL for remote access.',
'i:mail' => 'Email address.', 'i:mail' => 'Email address.',
'i:oname' => 'Organization name.', 'i:oname' => 'Organization name.',
'i:rem' => 'IP address or URL for remote access.', 'i:rem' => 'IP address or URL for remote access.',
'i:rc' => 'Forcing re-cache for every user.', 'i:rc' => 'Forcing re-cache for every user.',
'i:timef' => 'Time format.', 'i:timef' => 'Time format.',
'Status0' => 'None', 'Status0' => 'None',
'Status1' => 'Active', 'Status1' => 'Active',
'Status2' => 'Inactive', 'Status2' => 'Inactive',
'Status3' => 'Timehout', 'Status3' => 'Timehout',
'Status4' => 'Banned', 'Status4' => 'Banned',
'GroupStatus1' => 'Active', 'GroupStatus1' => 'Active',
'GroupStatus2' => 'Inactive', 'GroupStatus2' => 'Inactive',
'GroupStatus4' => 'Hidden', 'GroupStatus4' => 'Hidden',
'i:PasswordRegex' => 'Password requirement for users', 'i:PasswordRegex' => 'Password requirement for users',
'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)', 'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)',
'i:TimeoutPeriod' => 'Timeout period after too many logins', 'i:TimeoutPeriod' => 'Timeout period after too many logins',
'i:PasswordChangeInterval' => 'Interval in which passwards need to be changed (-1 = never)', 'i:PasswordChangeInterval' => 'Interval in which passwards need to be changed (-1 = never)',
'i:PasswordHistory' => 'New password has to be different from the last N passwords', 'i:PasswordHistory' => 'New password has to be different from the last N passwords',
]]; ]];

View File

@ -12,166 +12,166 @@
declare(strict_types=1); declare(strict_types=1);
return ['Admin' => [ return ['Admin' => [
':s1' => 'Active', ':s1' => 'Active',
':s2' => 'Inactive', ':s2' => 'Inactive',
':s3' => 'Timeout', ':s3' => 'Timeout',
':s4' => 'Banned', ':s4' => 'Banned',
'Account' => 'Account', 'Account' => 'Account',
'Account/Group' => 'Account/Group', 'Account/Group' => 'Account/Group',
'Accounts' => 'Accounts', 'Accounts' => 'Accounts',
'Active' => 'Active', 'Active' => 'Active',
'Activate' => 'Activate', 'Activate' => 'Activate',
'Activity' => 'Activity', 'Activity' => 'Activity',
'AuditLog' => 'Audit Log', 'AuditLog' => 'Audit Log',
'Available' => 'Available', 'Available' => 'Available',
'All' => 'All', 'All' => 'All',
'Amount' => 'Amount', 'Amount' => 'Amount',
'App' => 'App', 'App' => 'App',
'Area' => 'Area', 'Area' => 'Area',
'Banned' => 'Banned', 'Banned' => 'Banned',
'Cache' => 'Cache', 'Cache' => 'Cache',
'Children' => 'Children', 'Children' => 'Children',
'Close' => 'Close', 'Close' => 'Close',
'Comp' => 'Comp.', 'Comp' => 'Comp.',
'Component' => 'Component', 'Component' => 'Component',
'Country' => 'Country', 'Country' => 'Country',
'Create' => 'Create', 'Create' => 'Create',
'CreateProfile' => 'Create Profile', 'CreateProfile' => 'Create Profile',
'Created' => 'Created', 'Created' => 'Created',
'CreatedBy' => 'Created By', 'CreatedBy' => 'Created By',
'Currency' => 'Currency', 'Currency' => 'Currency',
'Currencyformat' => 'Currency Format', 'Currencyformat' => 'Currency Format',
'Customized' => 'Customized', 'Customized' => 'Customized',
'DecimalPoint' => 'Decimal Point', 'DecimalPoint' => 'Decimal Point',
'Defaults' => 'Defaults', 'Defaults' => 'Defaults',
'Description' => 'Description', 'Description' => 'Description',
'Delete' => 'Delete', 'Delete' => 'Delete',
'Deactivate' => 'Deactivate', 'Deactivate' => 'Deactivate',
'Ele' => 'Ele.', 'Ele' => 'Ele.',
'Element' => 'Element', 'Element' => 'Element',
'Email' => 'Email', 'Email' => 'Email',
'EmailAdmin' => 'Email Admin', 'EmailAdmin' => 'Email Admin',
'Fast' => 'Fast', 'Fast' => 'Fast',
'Features' => 'Features', 'Features' => 'Features',
'File' => 'File', 'File' => 'File',
'General' => 'General', 'General' => 'General',
'Glass' => 'Glass', 'Glass' => 'Glass',
'Group' => 'Group', 'Group' => 'Group',
'Groups' => 'Groups', 'Groups' => 'Groups',
'Heavy' => 'Heavy', 'Heavy' => 'Heavy',
'Inactive' => 'Inactive', 'Inactive' => 'Inactive',
'Install' => 'Install', 'Install' => 'Install',
'Installed' => 'Installed', 'Installed' => 'Installed',
'LAddress' => 'Local Address', 'LAddress' => 'Local Address',
'Language' => 'Language', 'Language' => 'Language',
'Large' => 'Large', 'Large' => 'Large',
'Length' => 'Length', 'Length' => 'Length',
'Light' => 'Light', 'Light' => 'Light',
'Load' => 'Load', 'Load' => 'Load',
'Localization' => 'Localization', 'Localization' => 'Localization',
'Long' => 'Long', 'Long' => 'Long',
'Log' => 'Log', 'Log' => 'Log',
'LoginRetries' => 'Login Retries', 'LoginRetries' => 'Login Retries',
'LogPath' => 'Log Path', 'LogPath' => 'Log Path',
'Logging' => 'Logging', 'Logging' => 'Logging',
'Loginname' => 'Login Name', 'Loginname' => 'Login Name',
'Lowercase' => 'Lowercase', 'Lowercase' => 'Lowercase',
'Maintenance' => 'Maintenance', 'Maintenance' => 'Maintenance',
'Medium' => 'Medium', 'Medium' => 'Medium',
'Member' => 'Member', 'Member' => 'Member',
'Members' => 'Members', 'Members' => 'Members',
'Memcache' => 'Memcache', 'Memcache' => 'Memcache',
'MemoryLimit' => 'Memory Limit', 'MemoryLimit' => 'Memory Limit',
'Message' => 'Message', 'Message' => 'Message',
'Module' => 'Module', 'Module' => 'Module',
'Modules' => 'Modules', 'Modules' => 'Modules',
'Name' => 'Name', 'Name' => 'Name',
'Name1' => 'Name 1', 'Name1' => 'Name 1',
'Name2' => 'Name 2', 'Name2' => 'Name 2',
'Name3' => 'Name 3', 'Name3' => 'Name 3',
'None' => 'None', 'None' => 'None',
'Numberformat' => 'Numberformat', 'Numberformat' => 'Numberformat',
'Numeric' => 'Numeric', 'Numeric' => 'Numeric',
'Organization' => 'Organization', 'Organization' => 'Organization',
'OrganizationName' => 'Organization Name', 'OrganizationName' => 'Organization Name',
'Page' => 'Page', 'Page' => 'Page',
'Parent' => 'Parent', 'Parent' => 'Parent',
'Parents' => 'Parents', 'Parents' => 'Parents',
'Password' => 'Password', 'Password' => 'Password',
'PasswordChangeInterval' => 'Password Change Interval (days)', 'PasswordChangeInterval' => 'Password Change Interval (days)',
'PasswordHistory' => 'Password History', 'PasswordHistory' => 'Password History',
'PasswordRegex' => 'Password Regex', 'PasswordRegex' => 'Password Regex',
'Perm' => 'Perm.', 'Perm' => 'Perm.',
'Permission' => 'Permission', 'Permission' => 'Permission',
'Permissions' => 'Permissions', 'Permissions' => 'Permissions',
'Person' => 'Person', 'Person' => 'Person',
'Precision' => 'Precision', 'Precision' => 'Precision',
'Profile' => 'Profile', 'Profile' => 'Profile',
'Read' => 'Read', 'Read' => 'Read',
'RAddress' => 'Remote Address', 'RAddress' => 'Remote Address',
'ReCache' => 'Re-Cache', 'ReCache' => 'Re-Cache',
'Release' => 'Release', 'Release' => 'Release',
'Reset' => 'Reset', 'Reset' => 'Reset',
'Running' => 'Running', 'Running' => 'Running',
'Short' => 'Short', 'Short' => 'Short',
'Sea' => 'Sea', 'Sea' => 'Sea',
'Security' => 'Security', 'Security' => 'Security',
'Settings' => 'Settings', 'Settings' => 'Settings',
'SettingsGeneral' => 'Settings - General', 'SettingsGeneral' => 'Settings - General',
'Single' => 'Single', 'Single' => 'Single',
'Slow' => 'Slow', 'Slow' => 'Slow',
'Small' => 'Small', 'Small' => 'Small',
'Speed' => 'Speed', 'Speed' => 'Speed',
'Specialchar' => 'Special character', 'Specialchar' => 'Special character',
'Status' => 'Status', 'Status' => 'Status',
'Total' => 'Total', 'Total' => 'Total',
'Type' => 'Type', 'Type' => 'Type',
'Tablespoon' => 'Tablespoon', 'Tablespoon' => 'Tablespoon',
'Teaspoon' => 'Teaspoon', 'Teaspoon' => 'Teaspoon',
'Temperature' => 'Temperature', 'Temperature' => 'Temperature',
'Theme' => 'Theme', 'Theme' => 'Theme',
'ThousandsSeparator' => 'Thousands Separator', 'ThousandsSeparator' => 'Thousands Separator',
'Time' => 'Time', 'Time' => 'Time',
'TimeoutPeriod' => 'Timeout Period (minutes)', 'TimeoutPeriod' => 'Timeout Period (minutes)',
'Timestamp' => 'Timestamp', 'Timestamp' => 'Timestamp',
'Timeformat' => 'Timeformat', 'Timeformat' => 'Timeformat',
'Timeout' => 'Timeout', 'Timeout' => 'Timeout',
'Timezone' => 'Timezone', 'Timezone' => 'Timezone',
'Unit' => 'Unit', 'Unit' => 'Unit',
'Uninstall' => 'Uninstall', 'Uninstall' => 'Uninstall',
'Update' => 'Update', 'Update' => 'Update',
'Uppercase' => 'Uppercase', 'Uppercase' => 'Uppercase',
'Username' => 'Username', 'Username' => 'Username',
'Version' => 'Version', 'Version' => 'Version',
'VeryFast' => 'Very Fast', 'VeryFast' => 'Very Fast',
'VeryHeavy' => 'Very Heavy', 'VeryHeavy' => 'Very Heavy',
'VeryLarge' => 'Very Large', 'VeryLarge' => 'Very Large',
'VeryLight' => 'Very Light', 'VeryLight' => 'Very Light',
'VeryLong' => 'Very Long', 'VeryLong' => 'Very Long',
'VerySlow' => 'Very Slow', 'VerySlow' => 'Very Slow',
'VeryShort' => 'Very Short', 'VeryShort' => 'Very Short',
'VerySmall' => 'Very Small', 'VerySmall' => 'Very Small',
'Volume' => 'Volume', 'Volume' => 'Volume',
'Warnings' => 'Warnings', 'Warnings' => 'Warnings',
'Website' => 'Website', 'Website' => 'Website',
'Weight' => 'Weight', 'Weight' => 'Weight',
'i:loc' => 'IP address or URL for remote access.', 'i:loc' => 'IP address or URL for remote access.',
'i:mail' => 'Email address.', 'i:mail' => 'Email address.',
'i:oname' => 'Organization name.', 'i:oname' => 'Organization name.',
'i:rem' => 'IP address or URL for remote access.', 'i:rem' => 'IP address or URL for remote access.',
'i:rc' => 'Forcing re-cache for every user.', 'i:rc' => 'Forcing re-cache for every user.',
'i:timef' => 'Time format.', 'i:timef' => 'Time format.',
'Status0' => 'None', 'Status0' => 'None',
'Status1' => 'Active', 'Status1' => 'Active',
'Status2' => 'Inactive', 'Status2' => 'Inactive',
'Status3' => 'Timehout', 'Status3' => 'Timehout',
'Status4' => 'Banned', 'Status4' => 'Banned',
'GroupStatus1' => 'Active', 'GroupStatus1' => 'Active',
'GroupStatus2' => 'Inactive', 'GroupStatus2' => 'Inactive',
'GroupStatus4' => 'Hidden', 'GroupStatus4' => 'Hidden',
'i:PasswordRegex' => 'Password requirement for users', 'i:PasswordRegex' => 'Password requirement for users',
'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)', 'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)',
'i:TimeoutPeriod' => 'Timeout period after too many logins', 'i:TimeoutPeriod' => 'Timeout period after too many logins',
'i:PasswordChangeInterval' => 'Interval in which passwards need to be changed (-1 = never)', 'i:PasswordChangeInterval' => 'Interval in which passwards need to be changed (-1 = never)',
'i:PasswordHistory' => 'New password has to be different from the last N passwords', 'i:PasswordHistory' => 'New password has to be different from the last N passwords',
]]; ]];

View File

@ -12,9 +12,9 @@
*/ */
declare(strict_types=1); declare(strict_types=1);
use phpOMS\Uri\UriFactory;
use phpOMS\Account\AccountType;
use phpOMS\Account\AccountStatus; use phpOMS\Account\AccountStatus;
use phpOMS\Account\AccountType;
use phpOMS\Uri\UriFactory;
/** @var \phpOMS\Views\View $this */ /** @var \phpOMS\Views\View $this */
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>

View File

@ -108,7 +108,7 @@ class AccountMapperTest extends \PHPUnit\Framework\TestCase
*/ */
public function testInvalidLoginTries() : void public function testInvalidLoginTries() : void
{ {
$accountR = AccountMapper::get(1); $accountR = AccountMapper::get(1);
$accountR->tries = 10; $accountR->tries = 10;
AccountMapper::update($accountR); AccountMapper::update($accountR);