diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 14b66be..e409760 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -16,7 +16,6 @@ declare(strict_types=1); namespace Modules\Admin\Controller; -use Model\SettingsEnum; use Modules\Admin\Models\Account; use Modules\Admin\Models\AccountMapper; use Modules\Admin\Models\AccountPermission; diff --git a/Models/AccountMapper.php b/Models/AccountMapper.php index 40507d6..6df9ef4 100755 --- a/Models/AccountMapper.php +++ b/Models/AccountMapper.php @@ -37,20 +37,20 @@ final class AccountMapper extends DataMapperAbstract * @since 1.0.0 */ protected static array $columns = [ - 'account_id' => ['name' => 'account_id', 'type' => 'int', 'internal' => 'id'], - 'account_status' => ['name' => 'account_status', 'type' => 'int', 'internal' => 'status'], - 'account_type' => ['name' => 'account_type', 'type' => 'int', 'internal' => 'type'], - '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_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_password' => ['name' => 'account_password', 'type' => 'string', 'internal' => 'password', 'writeonly' => true], + 'account_id' => ['name' => 'account_id', 'type' => 'int', 'internal' => 'id'], + 'account_status' => ['name' => 'account_status', 'type' => 'int', 'internal' => 'status'], + 'account_type' => ['name' => 'account_type', 'type' => 'int', 'internal' => 'type'], + '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_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_password' => ['name' => 'account_password', 'type' => 'string', 'internal' => 'password', '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_tries' => ['name' => 'account_tries', 'type' => 'int', 'internal' => 'tries'], - 'account_lactive' => ['name' => 'account_lactive', 'type' => 'DateTime', 'internal' => 'lastActive'], - 'account_localization' => ['name' => 'account_localization', 'type' => 'int', 'internal' => 'l11n'], - 'account_created_at' => ['name' => 'account_created_at', 'type' => 'DateTimeImmutable', 'internal' => 'createdAt', 'readonly' => 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_lactive' => ['name' => 'account_lactive', 'type' => 'DateTime', 'internal' => 'lastActive'], + 'account_localization' => ['name' => 'account_localization', 'type' => 'int', 'internal' => 'l11n'], + 'account_created_at' => ['name' => 'account_created_at', 'type' => 'DateTimeImmutable', 'internal' => 'createdAt', 'readonly' => true], ]; /** diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index cd568b4..c0ac5a3 100644 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -12,166 +12,166 @@ declare(strict_types=1); return ['Admin' => [ - ':s1' => 'Aktiv', - ':s2' => 'Inaktiv', - ':s3' => 'Timeout', - ':s4' => 'Gebannt', - 'Account' => 'Account', - 'Account/Group' => 'Account/Groupe', - 'Accounts' => 'Konten', - 'Active' => 'Aktiv', - 'Activate' => 'Aktivieren', - 'Activity' => 'Aktivität', - 'AuditLog' => 'Audit Log', - 'Available' => 'Verfügbar', - 'All' => 'Alle', - 'Amount' => 'Menge', - 'App' => 'App', - 'Area' => 'Gebiet', - 'Banned' => 'Gabannt', - 'Cache' => 'Cache', - 'Children' => 'Kinder', - 'Close' => 'Schließen', - 'Comp' => 'Komp.', - 'Component' => 'Komponent', - 'Country' => 'Land', - 'Create' => 'Erstellen', - 'CreateProfile' => 'Erstelle Profil', - 'Created' => 'Erstellt', - 'CreatedBy' => 'Erstellt von', - 'Currency' => 'Currency', - 'Currencyformat' => 'Währungsformat', - 'Customized' => 'Customized', - 'DecimalPoint' => 'Decimal Point', - 'Defaults' => 'Defaults', - 'Description' => 'Description', - 'Delete' => 'Delete', - 'Deactivate' => 'Deactivate', - 'Ele' => 'Ele.', - 'Element' => 'Element', - 'Email' => 'Email', - 'EmailAdmin' => 'Email Admin', - 'Fast' => 'Fast', - 'Features' => 'Features', - 'File' => 'File', - 'General' => 'General', - 'Glass' => 'Glass', - 'Group' => 'Group', - 'Groups' => 'Groups', - 'Heavy' => 'Heavy', - 'Inactive' => 'Inactive', - 'Install' => 'Install', - 'Installed' => 'Installed', - 'LAddress' => 'Local Address', - 'Language' => 'Language', - 'Large' => 'Large', - 'Length' => 'Length', - 'Light' => 'Light', - 'Load' => 'Load', - 'Localization' => 'Localization', - 'Long' => 'Long', - 'Log' => 'Log', - 'LoginRetries' => 'Login Retries', - 'LogPath' => 'Log Path', - 'Logging' => 'Logging', - 'Loginname' => 'Login Name', - 'Lowercase' => 'Lowercase', - 'Maintenance' => 'Maintenance', - 'Medium' => 'Medium', - 'Member' => 'Member', - 'Members' => 'Members', - 'Memcache' => 'Memcache', - 'MemoryLimit' => 'Memory Limit', - 'Message' => 'Message', - 'Module' => 'Module', - 'Modules' => 'Modules', - 'Name' => 'Name', - 'Name1' => 'Name 1', - 'Name2' => 'Name 2', - 'Name3' => 'Name 3', - 'None' => 'None', - 'Numberformat' => 'Numberformat', - 'Numeric' => 'Numeric', - 'Organization' => 'Organization', - 'OrganizationName' => 'Organization Name', - 'Page' => 'Page', - 'Parent' => 'Parent', - 'Parents' => 'Parents', - 'Password' => 'Password', - 'PasswordChangeInterval' => 'Password Change Interval (days)', - 'PasswordHistory' => 'Password History', - 'PasswordRegex' => 'Password Regex', - 'Perm' => 'Perm.', - 'Permission' => 'Permission', - 'Permissions' => 'Permissions', - 'Person' => 'Person', - 'Precision' => 'Genauigkeit', - 'Profile' => 'Profile', - 'Read' => 'Read', - 'RAddress' => 'Remote Address', - 'ReCache' => 'Re-Cache', - 'Release' => 'Release', - 'Reset' => 'Reset', - 'Running' => 'Running', - 'Short' => 'Short', - 'Sea' => 'Sea', - 'Security' => 'Security', - 'Settings' => 'Settings', - 'SettingsGeneral' => 'Settings - General', - 'Single' => 'Single', - 'Slow' => 'Slow', - 'Small' => 'Small', - 'Speed' => 'Speed', - 'Specialchar' => 'Special character', - 'Status' => 'Status', - 'Total' => 'Total', - 'Type' => 'Type', - 'Tablespoon' => 'Tablespoon', - 'Teaspoon' => 'Teaspoon', - 'Temperature' => 'Temperature', - 'Theme' => 'Theme', - 'ThousandsSeparator' => 'Thousands Separator', - 'Time' => 'Time', - 'TimeoutPeriod' => 'Timeout Period (minutes)', - 'Timestamp' => 'Timestamp', - 'Timeformat' => 'Timeformat', - 'Timeout' => 'Timeout', - 'Timezone' => 'Timezone', - 'Unit' => 'Unit', - 'Uninstall' => 'Uninstall', - 'Update' => 'Update', - 'Uppercase' => 'Uppercase', - 'Username' => 'Username', - 'Version' => 'Version', - 'VeryFast' => 'Very Fast', - 'VeryHeavy' => 'Very Heavy', - 'VeryLarge' => 'Very Large', - 'VeryLight' => 'Very Light', - 'VeryLong' => 'Very Long', - 'VerySlow' => 'Very Slow', - 'VeryShort' => 'Very Short', - 'VerySmall' => 'Very Small', - 'Volume' => 'Volume', - 'Warnings' => 'Warnings', - 'Website' => 'Website', - 'Weight' => 'Weight', - 'i:loc' => 'IP address or URL for remote access.', - 'i:mail' => 'Email address.', - 'i:oname' => 'Organization name.', - 'i:rem' => 'IP address or URL for remote access.', - 'i:rc' => 'Forcing re-cache for every user.', - 'i:timef' => 'Time format.', - 'Status0' => 'None', - 'Status1' => 'Active', - 'Status2' => 'Inactive', - 'Status3' => 'Timehout', - 'Status4' => 'Banned', - 'GroupStatus1' => 'Active', - 'GroupStatus2' => 'Inactive', - 'GroupStatus4' => 'Hidden', - 'i:PasswordRegex' => 'Password requirement for users', - 'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)', - 'i:TimeoutPeriod' => 'Timeout period after too many logins', + ':s1' => 'Aktiv', + ':s2' => 'Inaktiv', + ':s3' => 'Timeout', + ':s4' => 'Gebannt', + 'Account' => 'Account', + 'Account/Group' => 'Account/Groupe', + 'Accounts' => 'Konten', + 'Active' => 'Aktiv', + 'Activate' => 'Aktivieren', + 'Activity' => 'Aktivität', + 'AuditLog' => 'Audit Log', + 'Available' => 'Verfügbar', + 'All' => 'Alle', + 'Amount' => 'Menge', + 'App' => 'App', + 'Area' => 'Gebiet', + 'Banned' => 'Gabannt', + 'Cache' => 'Cache', + 'Children' => 'Kinder', + 'Close' => 'Schließen', + 'Comp' => 'Komp.', + 'Component' => 'Komponent', + 'Country' => 'Land', + 'Create' => 'Erstellen', + 'CreateProfile' => 'Erstelle Profil', + 'Created' => 'Erstellt', + 'CreatedBy' => 'Erstellt von', + 'Currency' => 'Currency', + 'Currencyformat' => 'Währungsformat', + 'Customized' => 'Customized', + 'DecimalPoint' => 'Decimal Point', + 'Defaults' => 'Defaults', + 'Description' => 'Description', + 'Delete' => 'Delete', + 'Deactivate' => 'Deactivate', + 'Ele' => 'Ele.', + 'Element' => 'Element', + 'Email' => 'Email', + 'EmailAdmin' => 'Email Admin', + 'Fast' => 'Fast', + 'Features' => 'Features', + 'File' => 'File', + 'General' => 'General', + 'Glass' => 'Glass', + 'Group' => 'Group', + 'Groups' => 'Groups', + 'Heavy' => 'Heavy', + 'Inactive' => 'Inactive', + 'Install' => 'Install', + 'Installed' => 'Installed', + 'LAddress' => 'Local Address', + 'Language' => 'Language', + 'Large' => 'Large', + 'Length' => 'Length', + 'Light' => 'Light', + 'Load' => 'Load', + 'Localization' => 'Localization', + 'Long' => 'Long', + 'Log' => 'Log', + 'LoginRetries' => 'Login Retries', + 'LogPath' => 'Log Path', + 'Logging' => 'Logging', + 'Loginname' => 'Login Name', + 'Lowercase' => 'Lowercase', + 'Maintenance' => 'Maintenance', + 'Medium' => 'Medium', + 'Member' => 'Member', + 'Members' => 'Members', + 'Memcache' => 'Memcache', + 'MemoryLimit' => 'Memory Limit', + 'Message' => 'Message', + 'Module' => 'Module', + 'Modules' => 'Modules', + 'Name' => 'Name', + 'Name1' => 'Name 1', + 'Name2' => 'Name 2', + 'Name3' => 'Name 3', + 'None' => 'None', + 'Numberformat' => 'Numberformat', + 'Numeric' => 'Numeric', + 'Organization' => 'Organization', + 'OrganizationName' => 'Organization Name', + 'Page' => 'Page', + 'Parent' => 'Parent', + 'Parents' => 'Parents', + 'Password' => 'Password', + 'PasswordChangeInterval' => 'Password Change Interval (days)', + 'PasswordHistory' => 'Password History', + 'PasswordRegex' => 'Password Regex', + 'Perm' => 'Perm.', + 'Permission' => 'Permission', + 'Permissions' => 'Permissions', + 'Person' => 'Person', + 'Precision' => 'Genauigkeit', + 'Profile' => 'Profile', + 'Read' => 'Read', + 'RAddress' => 'Remote Address', + 'ReCache' => 'Re-Cache', + 'Release' => 'Release', + 'Reset' => 'Reset', + 'Running' => 'Running', + 'Short' => 'Short', + 'Sea' => 'Sea', + 'Security' => 'Security', + 'Settings' => 'Settings', + 'SettingsGeneral' => 'Settings - General', + 'Single' => 'Single', + 'Slow' => 'Slow', + 'Small' => 'Small', + 'Speed' => 'Speed', + 'Specialchar' => 'Special character', + 'Status' => 'Status', + 'Total' => 'Total', + 'Type' => 'Type', + 'Tablespoon' => 'Tablespoon', + 'Teaspoon' => 'Teaspoon', + 'Temperature' => 'Temperature', + 'Theme' => 'Theme', + 'ThousandsSeparator' => 'Thousands Separator', + 'Time' => 'Time', + 'TimeoutPeriod' => 'Timeout Period (minutes)', + 'Timestamp' => 'Timestamp', + 'Timeformat' => 'Timeformat', + 'Timeout' => 'Timeout', + 'Timezone' => 'Timezone', + 'Unit' => 'Unit', + 'Uninstall' => 'Uninstall', + 'Update' => 'Update', + 'Uppercase' => 'Uppercase', + 'Username' => 'Username', + 'Version' => 'Version', + 'VeryFast' => 'Very Fast', + 'VeryHeavy' => 'Very Heavy', + 'VeryLarge' => 'Very Large', + 'VeryLight' => 'Very Light', + 'VeryLong' => 'Very Long', + 'VerySlow' => 'Very Slow', + 'VeryShort' => 'Very Short', + 'VerySmall' => 'Very Small', + 'Volume' => 'Volume', + 'Warnings' => 'Warnings', + 'Website' => 'Website', + 'Weight' => 'Weight', + 'i:loc' => 'IP address or URL for remote access.', + 'i:mail' => 'Email address.', + 'i:oname' => 'Organization name.', + 'i:rem' => 'IP address or URL for remote access.', + 'i:rc' => 'Forcing re-cache for every user.', + 'i:timef' => 'Time format.', + 'Status0' => 'None', + 'Status1' => 'Active', + 'Status2' => 'Inactive', + 'Status3' => 'Timehout', + 'Status4' => 'Banned', + 'GroupStatus1' => 'Active', + 'GroupStatus2' => 'Inactive', + 'GroupStatus4' => 'Hidden', + 'i:PasswordRegex' => 'Password requirement for users', + 'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)', + 'i:TimeoutPeriod' => 'Timeout period after too many logins', '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', ]]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index 443a412..0a0ffdc 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -12,166 +12,166 @@ declare(strict_types=1); return ['Admin' => [ - ':s1' => 'Active', - ':s2' => 'Inactive', - ':s3' => 'Timeout', - ':s4' => 'Banned', - 'Account' => 'Account', - 'Account/Group' => 'Account/Group', - 'Accounts' => 'Accounts', - 'Active' => 'Active', - 'Activate' => 'Activate', - 'Activity' => 'Activity', - 'AuditLog' => 'Audit Log', - 'Available' => 'Available', - 'All' => 'All', - 'Amount' => 'Amount', - 'App' => 'App', - 'Area' => 'Area', - 'Banned' => 'Banned', - 'Cache' => 'Cache', - 'Children' => 'Children', - 'Close' => 'Close', - 'Comp' => 'Comp.', - 'Component' => 'Component', - 'Country' => 'Country', - 'Create' => 'Create', - 'CreateProfile' => 'Create Profile', - 'Created' => 'Created', - 'CreatedBy' => 'Created By', - 'Currency' => 'Currency', - 'Currencyformat' => 'Currency Format', - 'Customized' => 'Customized', - 'DecimalPoint' => 'Decimal Point', - 'Defaults' => 'Defaults', - 'Description' => 'Description', - 'Delete' => 'Delete', - 'Deactivate' => 'Deactivate', - 'Ele' => 'Ele.', - 'Element' => 'Element', - 'Email' => 'Email', - 'EmailAdmin' => 'Email Admin', - 'Fast' => 'Fast', - 'Features' => 'Features', - 'File' => 'File', - 'General' => 'General', - 'Glass' => 'Glass', - 'Group' => 'Group', - 'Groups' => 'Groups', - 'Heavy' => 'Heavy', - 'Inactive' => 'Inactive', - 'Install' => 'Install', - 'Installed' => 'Installed', - 'LAddress' => 'Local Address', - 'Language' => 'Language', - 'Large' => 'Large', - 'Length' => 'Length', - 'Light' => 'Light', - 'Load' => 'Load', - 'Localization' => 'Localization', - 'Long' => 'Long', - 'Log' => 'Log', - 'LoginRetries' => 'Login Retries', - 'LogPath' => 'Log Path', - 'Logging' => 'Logging', - 'Loginname' => 'Login Name', - 'Lowercase' => 'Lowercase', - 'Maintenance' => 'Maintenance', - 'Medium' => 'Medium', - 'Member' => 'Member', - 'Members' => 'Members', - 'Memcache' => 'Memcache', - 'MemoryLimit' => 'Memory Limit', - 'Message' => 'Message', - 'Module' => 'Module', - 'Modules' => 'Modules', - 'Name' => 'Name', - 'Name1' => 'Name 1', - 'Name2' => 'Name 2', - 'Name3' => 'Name 3', - 'None' => 'None', - 'Numberformat' => 'Numberformat', - 'Numeric' => 'Numeric', - 'Organization' => 'Organization', - 'OrganizationName' => 'Organization Name', - 'Page' => 'Page', - 'Parent' => 'Parent', - 'Parents' => 'Parents', - 'Password' => 'Password', - 'PasswordChangeInterval' => 'Password Change Interval (days)', - 'PasswordHistory' => 'Password History', - 'PasswordRegex' => 'Password Regex', - 'Perm' => 'Perm.', - 'Permission' => 'Permission', - 'Permissions' => 'Permissions', - 'Person' => 'Person', - 'Precision' => 'Precision', - 'Profile' => 'Profile', - 'Read' => 'Read', - 'RAddress' => 'Remote Address', - 'ReCache' => 'Re-Cache', - 'Release' => 'Release', - 'Reset' => 'Reset', - 'Running' => 'Running', - 'Short' => 'Short', - 'Sea' => 'Sea', - 'Security' => 'Security', - 'Settings' => 'Settings', - 'SettingsGeneral' => 'Settings - General', - 'Single' => 'Single', - 'Slow' => 'Slow', - 'Small' => 'Small', - 'Speed' => 'Speed', - 'Specialchar' => 'Special character', - 'Status' => 'Status', - 'Total' => 'Total', - 'Type' => 'Type', - 'Tablespoon' => 'Tablespoon', - 'Teaspoon' => 'Teaspoon', - 'Temperature' => 'Temperature', - 'Theme' => 'Theme', - 'ThousandsSeparator' => 'Thousands Separator', - 'Time' => 'Time', - 'TimeoutPeriod' => 'Timeout Period (minutes)', - 'Timestamp' => 'Timestamp', - 'Timeformat' => 'Timeformat', - 'Timeout' => 'Timeout', - 'Timezone' => 'Timezone', - 'Unit' => 'Unit', - 'Uninstall' => 'Uninstall', - 'Update' => 'Update', - 'Uppercase' => 'Uppercase', - 'Username' => 'Username', - 'Version' => 'Version', - 'VeryFast' => 'Very Fast', - 'VeryHeavy' => 'Very Heavy', - 'VeryLarge' => 'Very Large', - 'VeryLight' => 'Very Light', - 'VeryLong' => 'Very Long', - 'VerySlow' => 'Very Slow', - 'VeryShort' => 'Very Short', - 'VerySmall' => 'Very Small', - 'Volume' => 'Volume', - 'Warnings' => 'Warnings', - 'Website' => 'Website', - 'Weight' => 'Weight', - 'i:loc' => 'IP address or URL for remote access.', - 'i:mail' => 'Email address.', - 'i:oname' => 'Organization name.', - 'i:rem' => 'IP address or URL for remote access.', - 'i:rc' => 'Forcing re-cache for every user.', - 'i:timef' => 'Time format.', - 'Status0' => 'None', - 'Status1' => 'Active', - 'Status2' => 'Inactive', - 'Status3' => 'Timehout', - 'Status4' => 'Banned', - 'GroupStatus1' => 'Active', - 'GroupStatus2' => 'Inactive', - 'GroupStatus4' => 'Hidden', - 'i:PasswordRegex' => 'Password requirement for users', - 'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)', - 'i:TimeoutPeriod' => 'Timeout period after too many logins', + ':s1' => 'Active', + ':s2' => 'Inactive', + ':s3' => 'Timeout', + ':s4' => 'Banned', + 'Account' => 'Account', + 'Account/Group' => 'Account/Group', + 'Accounts' => 'Accounts', + 'Active' => 'Active', + 'Activate' => 'Activate', + 'Activity' => 'Activity', + 'AuditLog' => 'Audit Log', + 'Available' => 'Available', + 'All' => 'All', + 'Amount' => 'Amount', + 'App' => 'App', + 'Area' => 'Area', + 'Banned' => 'Banned', + 'Cache' => 'Cache', + 'Children' => 'Children', + 'Close' => 'Close', + 'Comp' => 'Comp.', + 'Component' => 'Component', + 'Country' => 'Country', + 'Create' => 'Create', + 'CreateProfile' => 'Create Profile', + 'Created' => 'Created', + 'CreatedBy' => 'Created By', + 'Currency' => 'Currency', + 'Currencyformat' => 'Currency Format', + 'Customized' => 'Customized', + 'DecimalPoint' => 'Decimal Point', + 'Defaults' => 'Defaults', + 'Description' => 'Description', + 'Delete' => 'Delete', + 'Deactivate' => 'Deactivate', + 'Ele' => 'Ele.', + 'Element' => 'Element', + 'Email' => 'Email', + 'EmailAdmin' => 'Email Admin', + 'Fast' => 'Fast', + 'Features' => 'Features', + 'File' => 'File', + 'General' => 'General', + 'Glass' => 'Glass', + 'Group' => 'Group', + 'Groups' => 'Groups', + 'Heavy' => 'Heavy', + 'Inactive' => 'Inactive', + 'Install' => 'Install', + 'Installed' => 'Installed', + 'LAddress' => 'Local Address', + 'Language' => 'Language', + 'Large' => 'Large', + 'Length' => 'Length', + 'Light' => 'Light', + 'Load' => 'Load', + 'Localization' => 'Localization', + 'Long' => 'Long', + 'Log' => 'Log', + 'LoginRetries' => 'Login Retries', + 'LogPath' => 'Log Path', + 'Logging' => 'Logging', + 'Loginname' => 'Login Name', + 'Lowercase' => 'Lowercase', + 'Maintenance' => 'Maintenance', + 'Medium' => 'Medium', + 'Member' => 'Member', + 'Members' => 'Members', + 'Memcache' => 'Memcache', + 'MemoryLimit' => 'Memory Limit', + 'Message' => 'Message', + 'Module' => 'Module', + 'Modules' => 'Modules', + 'Name' => 'Name', + 'Name1' => 'Name 1', + 'Name2' => 'Name 2', + 'Name3' => 'Name 3', + 'None' => 'None', + 'Numberformat' => 'Numberformat', + 'Numeric' => 'Numeric', + 'Organization' => 'Organization', + 'OrganizationName' => 'Organization Name', + 'Page' => 'Page', + 'Parent' => 'Parent', + 'Parents' => 'Parents', + 'Password' => 'Password', + 'PasswordChangeInterval' => 'Password Change Interval (days)', + 'PasswordHistory' => 'Password History', + 'PasswordRegex' => 'Password Regex', + 'Perm' => 'Perm.', + 'Permission' => 'Permission', + 'Permissions' => 'Permissions', + 'Person' => 'Person', + 'Precision' => 'Precision', + 'Profile' => 'Profile', + 'Read' => 'Read', + 'RAddress' => 'Remote Address', + 'ReCache' => 'Re-Cache', + 'Release' => 'Release', + 'Reset' => 'Reset', + 'Running' => 'Running', + 'Short' => 'Short', + 'Sea' => 'Sea', + 'Security' => 'Security', + 'Settings' => 'Settings', + 'SettingsGeneral' => 'Settings - General', + 'Single' => 'Single', + 'Slow' => 'Slow', + 'Small' => 'Small', + 'Speed' => 'Speed', + 'Specialchar' => 'Special character', + 'Status' => 'Status', + 'Total' => 'Total', + 'Type' => 'Type', + 'Tablespoon' => 'Tablespoon', + 'Teaspoon' => 'Teaspoon', + 'Temperature' => 'Temperature', + 'Theme' => 'Theme', + 'ThousandsSeparator' => 'Thousands Separator', + 'Time' => 'Time', + 'TimeoutPeriod' => 'Timeout Period (minutes)', + 'Timestamp' => 'Timestamp', + 'Timeformat' => 'Timeformat', + 'Timeout' => 'Timeout', + 'Timezone' => 'Timezone', + 'Unit' => 'Unit', + 'Uninstall' => 'Uninstall', + 'Update' => 'Update', + 'Uppercase' => 'Uppercase', + 'Username' => 'Username', + 'Version' => 'Version', + 'VeryFast' => 'Very Fast', + 'VeryHeavy' => 'Very Heavy', + 'VeryLarge' => 'Very Large', + 'VeryLight' => 'Very Light', + 'VeryLong' => 'Very Long', + 'VerySlow' => 'Very Slow', + 'VeryShort' => 'Very Short', + 'VerySmall' => 'Very Small', + 'Volume' => 'Volume', + 'Warnings' => 'Warnings', + 'Website' => 'Website', + 'Weight' => 'Weight', + 'i:loc' => 'IP address or URL for remote access.', + 'i:mail' => 'Email address.', + 'i:oname' => 'Organization name.', + 'i:rem' => 'IP address or URL for remote access.', + 'i:rc' => 'Forcing re-cache for every user.', + 'i:timef' => 'Time format.', + 'Status0' => 'None', + 'Status1' => 'Active', + 'Status2' => 'Inactive', + 'Status3' => 'Timehout', + 'Status4' => 'Banned', + 'GroupStatus1' => 'Active', + 'GroupStatus2' => 'Inactive', + 'GroupStatus4' => 'Hidden', + 'i:PasswordRegex' => 'Password requirement for users', + 'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)', + 'i:TimeoutPeriod' => 'Timeout period after too many logins', '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', ]]; diff --git a/Theme/Backend/accounts-create.tpl.php b/Theme/Backend/accounts-create.tpl.php index c3f1fb3..1ac30be 100755 --- a/Theme/Backend/accounts-create.tpl.php +++ b/Theme/Backend/accounts-create.tpl.php @@ -12,9 +12,9 @@ */ declare(strict_types=1); -use phpOMS\Uri\UriFactory; -use phpOMS\Account\AccountType; use phpOMS\Account\AccountStatus; +use phpOMS\Account\AccountType; +use phpOMS\Uri\UriFactory; /** @var \phpOMS\Views\View $this */ echo $this->getData('nav')->render(); ?> diff --git a/tests/Models/AccountMapperTest.php b/tests/Models/AccountMapperTest.php index 2b1138f..e074caa 100755 --- a/tests/Models/AccountMapperTest.php +++ b/tests/Models/AccountMapperTest.php @@ -108,7 +108,7 @@ class AccountMapperTest extends \PHPUnit\Framework\TestCase */ public function testInvalidLoginTries() : void { - $accountR = AccountMapper::get(1); + $accountR = AccountMapper::get(1); $accountR->tries = 10; AccountMapper::update($accountR);