diff --git a/Admin/Install/db.json b/Admin/Install/db.json index f8a1954..193c8f7 100755 --- a/Admin/Install/db.json +++ b/Admin/Install/db.json @@ -194,13 +194,13 @@ "null": false }, "address_attr_type_required": { - "description": "Every address must have this attribute type if set to true.", + "comment": "Every address must have this attribute type if set to true.", "name": "address_attr_type_required", "type": "TINYINT(1)", "null": false }, "address_attr_type_pattern": { - "description": "This is a regex validation pattern.", + "comment": "This is a regex validation pattern.", "name": "address_attr_type_pattern", "type": "VARCHAR(255)", "null": false @@ -882,13 +882,13 @@ "null": false }, "unit_attr_type_required": { - "description": "Every unit must have this attribute type if set to true.", + "comment": "Every unit must have this attribute type if set to true.", "name": "unit_attr_type_required", "type": "TINYINT(1)", "null": false }, "unit_attr_type_pattern": { - "description": "This is a regex validation pattern.", + "comment": "This is a regex validation pattern.", "name": "unit_attr_type_pattern", "type": "VARCHAR(255)", "null": false @@ -1187,11 +1187,12 @@ "foreignKey": "unit_id" }, "group_permission_app": { - "description": "@todo: consider to use int as value and create foreign key", "name": "group_permission_app", "type": "INT", "default": null, - "null": true + "null": true, + "foreignTable": "app", + "foreignKey": "app_id" }, "group_permission_module": { "name": "group_permission_module", @@ -1236,7 +1237,7 @@ "null": true }, "group_permission_defaultcperm": { - "description": "Default permissions a user receives when creating (only relevant if hascreate is true, if null => CRU)", + "comment": "Default permissions a user receives when creating (only relevant if hascreate is true, if null => CRU)", "name": "group_permission_defaultcperm", "type": "VARCHAR(5)", "default": null, @@ -1261,7 +1262,7 @@ "null": true }, "group_permission_defaultpperm": { - "description": "Default permissions a user is allowed to change (only relevant if haspermission is true, if null => all)", + "comment": "Default permissions a user is allowed to change (only relevant if haspermission is true, if null => all)", "name": "group_permission_defaultpperm", "type": "TEXT", "default": null, @@ -1415,13 +1416,13 @@ "null": false }, "account_attr_type_required": { - "description": "Every account must have this attribute type if set to true.", + "comment": "Every account must have this attribute type if set to true.", "name": "account_attr_type_required", "type": "TINYINT(1)", "null": false }, "account_attr_type_pattern": { - "description": "This is a regex validation pattern.", + "comment": "This is a regex validation pattern.", "name": "account_attr_type_pattern", "type": "VARCHAR(255)", "null": false @@ -1806,7 +1807,7 @@ } }, "account_account_rel": { - "description": "Accounts can belong to other accounts. E.g. a user can belong to a company account", + "comment": "Accounts can belong to other accounts. E.g. a user can belong to a company account", "name": "account_account_rel", "fields": { "account_account_rel_id": { @@ -1885,7 +1886,9 @@ "name": "account_permission_app", "type": "INT", "default": null, - "null": true + "null": true, + "foreignTable": "app", + "foreignKey": "app_id" }, "account_permission_module": { "name": "account_permission_module", @@ -1930,7 +1933,7 @@ "null": true }, "account_permission_defaultcperm": { - "description": "Default permissions a user receives when creating (only relevant if hascreate is true, if null => CRU)", + "comment": "Default permissions a user receives when creating (only relevant if hascreate is true, if null => CRU)", "name": "account_permission_defaultcperm", "type": "VARCHAR(5)", "default": null, @@ -1955,7 +1958,7 @@ "null": true }, "account_permission_defaultpperm": { - "description": "Default permissions a user is allowed to change (only relevant if haspermission is true, if null => all)", + "comment": "Default permissions a user is allowed to change (only relevant if haspermission is true, if null => all)", "name": "account_permission_defaultpperm", "type": "TEXT", "default": null, diff --git a/Admin/Installer.php b/Admin/Installer.php index 15b45da..1d269e5 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -163,7 +163,7 @@ final class Installer extends InstallerAbstract ->into('language'); $querySqlite = new Builder($sqlite); - $languages = $querySqlite->select('*')->from('language')->execute()->fetchAll(); + $languages = $querySqlite->select('*')->from('language')->execute()?->fetchAll(); if ($languages === null) { return; diff --git a/Admin/Settings/Theme/Backend/settings.tpl.php b/Admin/Settings/Theme/Backend/settings.tpl.php index 961bf83..10dd6bf 100755 --- a/Admin/Settings/Theme/Backend/settings.tpl.php +++ b/Admin/Settings/Theme/Backend/settings.tpl.php @@ -22,7 +22,7 @@ use phpOMS\Uri\UriFactory; $generalSettings = $this->data['generalSettings'] ?? []; $settings = $this->data['settings'] ?? []; -$serverModes = ApplicationStatus::getConstants(); +$serverModes = ApplicationStatus::getConstants(); $mailServerModes = SubmitType::getConstants(); $l11n = $this->data['default_localization'] ?? new NullLocalization(); diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 15d3c8a..4032de5 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -668,12 +668,12 @@ final class ApiController extends Controller if (empty($dataSettings)) { $tmp = $request->getLike('settings_(.*)'); foreach ($tmp as $idx => $value) { - $name = \substr($idx, 9); + $name = \substr($idx, 9); $dataSettings[$name] = [ - 'name' => $name, + 'name' => $name, 'content' => $value, - 'app' => $request->getDataInt('app'), - 'unit' => $request->getDataInt('unit'), + 'app' => $request->getDataInt('app'), + 'unit' => $request->getDataInt('unit'), ]; } } @@ -694,7 +694,6 @@ final class ApiController extends Controller $old = $this->app->appSettings->get($id, $name, $unit, $app, $module, $group, $account); if ($old === false || $old->id === 0) { continue; - /* // @todo There might be situations where we want to create the setting if it doesn't exist?! // Maybe we should require a flag in the request in such a case?! @@ -1570,7 +1569,7 @@ final class ApiController extends Controller public function apiAccountFind(RequestAbstract $request, ResponseAbstract $response, array $data = []) : void { $fullName = $request->getDataString('search') ?? ''; - $names = \explode(' ', $fullName); + $names = \explode(' ', $fullName); $limit = $request->getDataInt('limit') ?? 50; @@ -2043,7 +2042,14 @@ final class ApiController extends Controller $this->apiAccountCreate($request, $response, $data); /** @var Account $account */ - $account = $response->getDataArray($request->uri->__toString())['response']; + $account = $response->getDataArray($request->uri->__toString())['response'] ?? null; + + if ($account === null) { + $response->header->status = RequestStatusCode::R_400; + $this->createInvalidUpdateResponse($request, $response, $account); + + return; + } // Create confirmation pending entry $dataChange = new DataChange(); diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 9d26b98..5284fe7 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -542,7 +542,19 @@ final class BackendController extends Controller $view->data['modules'] = $this->app->moduleManager->getAllModules(); $view->data['active'] = $this->app->moduleManager->getActiveModules(); $view->data['installed'] = $this->app->moduleManager->getInstalledModules(); - $view->data['id'] = $id; + + if (\is_file(__DIR__ . '/../../' . $request->getData('id') . '/info.json')) { + $content = \file_get_contents(__DIR__ . '/../../' . $request->getData('id') . '/info.json'); + if ($content === false) { + $content = ''; + } + + $view->data['info'] = \json_decode($content, true); + } else { + $view->data['info'] = []; + } + + $view->data['id'] = $id; $type = 'Help'; $page = 'introduction'; @@ -563,7 +575,7 @@ final class BackendController extends Controller $path = \realpath($basePath . '/introduction.md'); } - $toParse = $path === false ? '' : \file_get_contents($path); + $toParse = $path === false ? '' : \file_get_contents($path); $view->data['introduction'] = Markdown::parse($toParse === false ? '' : $toParse); return $view; @@ -725,7 +737,7 @@ final class BackendController extends Controller $id = $request->getDataString('id') ?? ''; /** @var \Model\Setting[] $settings */ - $settings = SettingMapper::getAll()->where('module', $id)->executeGetArray(); + $settings = SettingMapper::getAll()->where('module', $id)->executeGetArray(); $view->data['settings'] = $settings; $class = '\\Modules\\' . $request->getData('id') . '\\Models\\SettingsEnum'; diff --git a/Docs/Dev/en/structure.md b/Docs/Dev/en/structure.md deleted file mode 100755 index e7d4414..0000000 --- a/Docs/Dev/en/structure.md +++ /dev/null @@ -1,5 +0,0 @@ -# Structure - -## ER - -![ER](Modules/Admin/Docs/Dev/img/er.png) \ No newline at end of file diff --git a/Docs/Dev/img/er.png b/Docs/Dev/img/er.png deleted file mode 100644 index 2885c9d..0000000 Binary files a/Docs/Dev/img/er.png and /dev/null differ diff --git a/Docs/Help/de/SUMMARY.md b/Docs/Help/de/SUMMARY.md index 5df3435..8eb0711 100755 --- a/Docs/Help/de/SUMMARY.md +++ b/Docs/Help/de/SUMMARY.md @@ -1,5 +1,5 @@ -# User Content +# Endnutzer -* [Settings]({%}&page=Help/settings) -* [Accounts]({%}&page=Help/accounts) -* [Groups]({%}&page=Help/groups) +* [Einstellungen]({%}&page=Help/settings) +* [Benutzerkonto]({%}&page=Help/accounts) +* [Gruppen]({%}&page=Help/groups) diff --git a/Docs/Help/de/accounts.md b/Docs/Help/de/accounts.md index c21d75e..4cc3f0b 100755 --- a/Docs/Help/de/accounts.md +++ b/Docs/Help/de/accounts.md @@ -17,7 +17,7 @@ An account can be either a: * `Person` * or a `Organization` -Both types can have the same permissions and functionality. This can be helpful for a lot of modules that rely on organizations or companies (e.g. a sales module that handles people as customers but also companies as customers). +Both types can have the same permissions and functionality. The benefit of `Organization` is that you can allow other accounts to access your data. One example is a customer account who wants to allow their employees to access their data such as invoices. ### Status @@ -106,7 +106,7 @@ This allows a user to change permissions. Usually a user should also have (C, R, ![General Settings](Modules/Admin/Docs/Help/img/accounts/accounts_groups.png) -In the groups section you can see all groups that this account is assigned to and you can also add or remove the account to other groups. If you would like to add the account to the same groups as a different account just select the account whose groups you would like to copy and the account will be added to the same groups (one time only, there will be **no relation** between the two accounts. +In the groups section you can see all groups that this account is assigned to and you can also add or remove the account to other groups. ## Audit Log diff --git a/Docs/Help/de/introduction.md b/Docs/Help/de/introduction.md index 097ea94..5e75124 100755 --- a/Docs/Help/de/introduction.md +++ b/Docs/Help/de/introduction.md @@ -1,83 +1,83 @@ -# Introduction +# Einleitung -The **Admin** module is one of the essential core modules that is always required. This module handles basic account, group and module management. +Das **Admin**-Modul ist eines der unverzichtbaren Kernmodule, das immer benötigt wird. Dieses Modul verwaltet grundlegende Konten-, Gruppen- und Modulverwaltungsaufgaben. -## Target Group +## Zielgruppe -The target group for this module is everyone, since every application must have this module. However mainly administrators should have access permissions to this module since core application settings can be changed. +Die Zielgruppe für dieses Modul ist jeder, da jede Anwendung dieses Modul haben muss. Allerdings sollten hauptsächlich Administratoren Zugriffsberechtigungen für dieses Modul haben, da grundlegende Anwendungseinstellungen geändert werden können. # Setup -This module doesn't have any additional setup requirements since it is installed during the application install process. This module cannot be uninstalled if it is manually deleted from the hard drive please manually download the module from the page and put it into the `Modules/` directory. +Für dieses Modul sind keine zusätzlichen Einrichtungsanforderungen erforderlich, da es während des Anwendungsinstallationsprozesses installiert wird. Dieses Modul kann nicht deinstalliert werden, wenn es manuell von der Festplatte gelöscht wird. Bitte laden Sie das Modul manuell von der Seite herunter und legen Sie es in das `Modules/`-Verzeichnis. # Features -## Application Settings +## Anwendungseinstellungen -The module provides basic application settings such as: +Das Modul bietet grundlegende Anwendungseinstellungen wie: -### Security +### Sicherheit -The following are only the customizable security settings. Many security settings are fixed within the application and in addition security settings (e.g. iptables) should be done on the server-side. +Die folgenden Sicherheitseinstellungen sind nur anpassbar. Viele Sicherheitseinstellungen sind innerhalb der Anwendung festgelegt, und zusätzliche Sicherheitseinstellungen (z. B. iptables) sollten auf Serverseite vorgenommen werden. -* Password structure -* Password change interval -* Auto updates for modules +* Passwortstruktur +* Intervall für Passwortänderungen +* Automatische Updates für Module -### Localization +### Lokalisierung -The localization settings are only for the server, accounts can have their own localization settings which is especially important for international use. +Die Lokalisierungseinstellungen gelten nur für den Server. Benutzerkonten können ihre eigenen Lokalisierungseinstellungen haben, was besonders wichtig für den internationalen Gebrauch ist. -* Location -* Language -* Time format -* Numeric (number and currency format) -* Units (weight, speed, length, temperature, etc.) +* Standort +* Sprache +* Zeitformat +* Numerisch (Zahlen- und Währungsformat) +* Einheiten (Gewicht, Geschwindigkeit, Länge, Temperatur usw.) -## Account Management +## Kontoverwaltung -The account management allows to create, modify and delete accounts. Accounts can get assigned to groups and individual permissions. It's easy to see which groups and permissions one account is assigned to. Every account has a numeric ID larger 0. +Die Kontoverwaltung ermöglicht das Erstellen, Ändern und Löschen von Konten. Konten können Gruppen und individuellen Berechtigungen zugewiesen werden. Es ist einfach zu sehen, welchen Gruppen und Berechtigungen ein Konto zugewiesen ist. Jedes Konto hat eine numerische ID größer als 0. -### Account Type +### Kontotyp -Accounts can have the following types: +Konten können die folgenden Typen haben: * Person -* Organization +* Organisation -This allows organizations to have an account and also normal users. It's also possible to assign an account to an organization which allows for permission management in one organization. +Dies ermöglicht es Organisationen, ein Konto zu haben, und auch normale Benutzer. Es ist auch möglich, ein Konto einer Organisation zuzuweisen, was die Berechtigungsverwaltung in einer Organisation ermöglicht. -The use case for this could be one customer account for a company and user accounts assigned to the company which each have different permissions within the company. The purchase department of a company e.g. could be able to see their orders while only the financial department of that company is allowed to see the accounts payable of their company. +Der Anwendungsfall hierfür könnte ein Kundenkonto für ein Unternehmen sein und Benutzerkonten, die dem Unternehmen zugewiesen sind und jeweils unterschiedliche Berechtigungen innerhalb des Unternehmens haben. Die Einkaufsabteilung eines Unternehmens könnte z. B. ihre Bestellungen sehen können, während nur die Finanzabteilung dieses Unternehmens die Verbindlichkeiten ihres Unternehmens sehen darf. -### Account Status +### Kontostatus -Accounts can have the following status: +Konten können die folgenden Status haben: -* Active (login possible) -* Inactive (login not possible) -* Banned (login not possible) -* Timeout (login possible in x-minutes) +* Aktiv (Anmeldung möglich) +* Inaktiv (Anmeldung nicht möglich) +* Gesperrt (Anmeldung nicht möglich) +* Timeout (Anmeldung möglich in x Minuten) -The status doesn't represent account activity it's only purpose is to allow or disallow the login to the application. Only active accounts can login to the application. It is often necessary to create accounts in the system for interaction but disallow them to login to the system, this can be achieved by simply assigning the inactive status. +Der Status repräsentiert nicht die Kontenaktivität, sondern dient nur dazu, die Anmeldung bei der Anwendung zu erlauben oder zu verhindern. Nur aktive Konten können sich bei der Anwendung anmelden. Es ist oft erforderlich, Konten im System für Interaktionen zu erstellen, aber deren Anmeldung im System zu verhindern. Dies kann durch einfaches Zuweisen des inaktiven Status erreicht werden. -## Group Management +## Gruppenverwaltung -The group management allows to create, modify and delete groups. Groups can get assigned to other groups which lets the group inherit permissions from the other groups. It is also possible to assign individual permissions to a group. In the group accounts can be added and it's easy to see which accounts are part of the group. +Die Gruppenverwaltung ermöglicht das Erstellen, Ändern und Löschen von Gruppen. Gruppen können anderen Gruppen zugewiesen werden, wodurch die Gruppe Berechtigungen von den anderen Gruppen erbt. Es ist auch möglich, individuelle Berechtigungen einer Gruppe zuzuweisen. In der Gruppe können Konten hinzugefügt werden, und es ist einfach zu sehen, welche Konten Teil der Gruppe sind. -Groups have a numeric ID larger 0. Every module has its own permission/group range. Modules can pre-define groups upon installation for easier use, every module can have up to 99,999 groups AND permissions. +Gruppen haben eine numerische ID größer als 0. Jedes Modul hat seinen eigenen Berechtigungs-/Gruppenbereich. Module können bei der Installation Gruppen vordefinieren, um deren Verwendung zu erleichtern. Jedes Modul kann bis zu 99.999 Gruppen UND Berechtigungen haben. -## Module Management +## Modulverwaltung -The module management allows to install, update, delete and configure modules. The configuration of every module can be different depending on the functionality of the module. +Die Modulverwaltung ermöglicht das Installieren, Aktualisieren, Löschen und Konfigurieren von Modulen. Die Konfiguration jedes Moduls kann je nach Funktionalität des Moduls unterschiedlich sein. -Modules can be installed either manually by uploading the module directly to the `Modules/` directory or via online installation. The online installation requires the php module `curl`. +Module können entweder manuell durch Hochladen des Moduls direkt in das `Modules/`-Verzeichnis oder über die Online-Installation installiert werden. Die Online-Installation erfordert das PHP-Modul `curl`. -In the module you can see which groups have permissions belonging to the module, which permissions are available for the module and what their effect is. +Im Modul können Sie sehen, welche Gruppen Berechtigungen für das Modul haben, welche Berechtigungen für das Modul verfügbar sind und welche Auswirkungen sie haben. -# Recommendation +# Empfehlung -Other modules that work great with this one together are: +Andere Module, die gut mit diesem Modul zusammenarbeiten, sind: -* [Job](Job) -* [Monitoring](Monitoring) -* [Backup](Backup) \ No newline at end of file +* [Job]({/}?id=Job) +* [Monitoring]({/}?id=Monitoring) +* [Backup]({/}?id=Backup) \ No newline at end of file diff --git a/Docs/Help/de/settings.md b/Docs/Help/de/settings.md index ed2dbc8..ce098fc 100755 --- a/Docs/Help/de/settings.md +++ b/Docs/Help/de/settings.md @@ -1,105 +1,81 @@ -# Settings +# Einstellungen -## Genral +## Allgemein -In the admin module under `General` the global settings can be set. +Im Admin-Modul unter `Allgemein` können die globalen Einstellungen vorgenommen werden. -### Security +### Organisation -In the security section it's possible to define and modify the global security settings. These settings will be used for every user. +Standard-Einheit. -![General Settings](Modules/Admin/Docs/Help/img/general/settings_security.png) +![Allgemeine Einstellungen](Modules/Admin/Docs/Help/img/settings/settings.png) -#### Password Regex +### Sicherheit -In this field the password structure can be defined that is required by every account. Examples are: +Im Bereich Sicherheit können Sie die globalen Sicherheitseinstellungen definieren und ändern. Diese Einstellungen werden für jeden Benutzer verwendet. -##### Password Example 1 +![Allgemeine Einstellungen](Modules/Admin/Docs/Help/img/settings/settings_security.png) -At least 8 characters including at least one numeric value, one lower letter, one upper letter, one special char +#### Passwort Regex + +In diesem Feld kann die Passwortstruktur definiert werden, die für jedes Konto erforderlich ist. Beispiele sind: + +##### Passwort Beispiel 1 + +Mindestens 8 Zeichen, davon mindestens ein numerischer Wert, ein Kleinbuchstabe, ein Großbuchstabe, ein Sonderzeichen ``` ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&;:\(\)\[\]=\{\}\+\-])[.]{8,} ``` -##### Password Example 2 +##### Passwort Beispiel 2 -At least 8 characters including at least one numeric value, one upper letter, one special char +Mindestens 8 Zeichen, davon mindestens ein numerischer Wert, ein Großbuchstabe, ein Sonderzeichen ``` ^(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&;:\(\)\[\]=\{\}\+\-])[.]{8,} ``` -##### Password Example 3 +##### Passwort Beispiel 3 -At least 8 characters including at least one numeric value, one special char +Mindestens 8 Zeichen, davon mindestens ein numerischer Wert, ein Sonderzeichen ``` ^(?=.*\d)(?=.*[$@$!%*?&;:\(\)\[\]=\{\}\+\-])[.]{8,} ``` -##### Password Example 4 +##### Passwort Beispiel 4 -At least 8 characters including at least one special char +Mindestens 8 Zeichen einschließlich mindestens eines Sonderzeichens ``` ^(?=.*[$@$!%*?&;:\(\)\[\]=\{\}\+\-])[.]{8,} ``` -##### Password Example 5 +##### Passwort Beispiel 5 -At least 8 characters +Mindestens 8 Zeichen ``` ^[.]{8,} ``` -##### Password Example 6 +##### Passwort Beispiel 6 -At least 12 characters +Mindestens 12 Zeichen ``` ^[.]{12,} ``` -#### Login Retries +## Lokalisierung -In this field the amount of retries can be defined until the user login receives a timeout. During this timeout period no login is possible even if the correct password is entered. Infinite amount of retries can be activated by setting the value to `-1` +Auf der Registerkarte „Lokalisierung“ können Sie die Standardeinstellungen für die Lokalisierung festlegen. Beachten Sie, dass die Benutzer möglicherweise andere Lokalisierungseinstellungen haben als die Standardeinstellungen. Diese Lokalisierungseinstellungen sind nur wichtig, um einen Fallback zu bieten, wenn die Benutzer-Lokalisierungseinstellungen nicht funktionieren. -**Recommended:** `3 times` +[Lokalisierungseinstellungen](Module/Admin/Docs/Help/img/settings/localization.png) -#### Timeout Period +### Standardeinstellungen -In this field the timeout period after inputting a incorrect password too often can be specified. During this period the user cannot login even if the password is correct. +Im Feld Standardeinstellungen können Sie eine Standard-Lokalisierungskonfiguration auswählen, die Sie anschließend anpassen können. -**Recommended:** `30 minutes` - -#### Password Change Interval - -In this field the interval in days can be set in which the password must be changed. If passwords don't have to be changed set the value to `-1` - -**Recommended:** `90 days` - -#### Password History - -In this field the relevant password history can be defined. If a password change interval is defined the new password has to be different from the last `x` passwords - -**Recommended:** `3 last passwords` - -### Logging - -In the logging section the logging settings can be defined. These settings don't include audit logs as they cannot be changed in order to prevent data manipulation. - -**Recommended:** `active and default path` - -![General Settings](Modules/Admin/Docs/Help/img/general/settings_logging.png) - -## Localization - -In the localization tab it's possible to define the default localization settings. Be aware that users may have localization settings different from the default settings. These localization settings are only important to provide a fallback if the user localization settings are not working. - -![Localization Settings](Modules/Admin/Docs/Help/img/general/settings_localization.png) - -### Defaults - -In the defaults field you can select a default localization configuration which you can adjust afterwards. +[Localization Load](Module/Admin/Docs/Help/img/settings/localization_load.png) \ No newline at end of file diff --git a/Docs/Help/en/accounts.md b/Docs/Help/en/accounts.md index c21d75e..4cc3f0b 100755 --- a/Docs/Help/en/accounts.md +++ b/Docs/Help/en/accounts.md @@ -17,7 +17,7 @@ An account can be either a: * `Person` * or a `Organization` -Both types can have the same permissions and functionality. This can be helpful for a lot of modules that rely on organizations or companies (e.g. a sales module that handles people as customers but also companies as customers). +Both types can have the same permissions and functionality. The benefit of `Organization` is that you can allow other accounts to access your data. One example is a customer account who wants to allow their employees to access their data such as invoices. ### Status @@ -106,7 +106,7 @@ This allows a user to change permissions. Usually a user should also have (C, R, ![General Settings](Modules/Admin/Docs/Help/img/accounts/accounts_groups.png) -In the groups section you can see all groups that this account is assigned to and you can also add or remove the account to other groups. If you would like to add the account to the same groups as a different account just select the account whose groups you would like to copy and the account will be added to the same groups (one time only, there will be **no relation** between the two accounts. +In the groups section you can see all groups that this account is assigned to and you can also add or remove the account to other groups. ## Audit Log diff --git a/Docs/Help/en/settings.md b/Docs/Help/en/settings.md index ed2dbc8..690ef75 100755 --- a/Docs/Help/en/settings.md +++ b/Docs/Help/en/settings.md @@ -1,14 +1,20 @@ # Settings -## Genral +## General In the admin module under `General` the global settings can be set. +### Organization + +Default unit. + +![General Settings](Modules/Admin/Docs/Help/img/settings/settings.png) + ### Security In the security section it's possible to define and modify the global security settings. These settings will be used for every user. -![General Settings](Modules/Admin/Docs/Help/img/general/settings_security.png) +![General Settings](Modules/Admin/Docs/Help/img/settings/settings_security.png) #### Password Regex @@ -62,44 +68,14 @@ At least 12 characters ^[.]{12,} ``` -#### Login Retries - -In this field the amount of retries can be defined until the user login receives a timeout. During this timeout period no login is possible even if the correct password is entered. Infinite amount of retries can be activated by setting the value to `-1` - -**Recommended:** `3 times` - -#### Timeout Period - -In this field the timeout period after inputting a incorrect password too often can be specified. During this period the user cannot login even if the password is correct. - -**Recommended:** `30 minutes` - -#### Password Change Interval - -In this field the interval in days can be set in which the password must be changed. If passwords don't have to be changed set the value to `-1` - -**Recommended:** `90 days` - -#### Password History - -In this field the relevant password history can be defined. If a password change interval is defined the new password has to be different from the last `x` passwords - -**Recommended:** `3 last passwords` - -### Logging - -In the logging section the logging settings can be defined. These settings don't include audit logs as they cannot be changed in order to prevent data manipulation. - -**Recommended:** `active and default path` - -![General Settings](Modules/Admin/Docs/Help/img/general/settings_logging.png) - ## Localization In the localization tab it's possible to define the default localization settings. Be aware that users may have localization settings different from the default settings. These localization settings are only important to provide a fallback if the user localization settings are not working. -![Localization Settings](Modules/Admin/Docs/Help/img/general/settings_localization.png) +![Localization Settings](Modules/Admin/Docs/Help/img/settings/localization.png) ### Defaults In the defaults field you can select a default localization configuration which you can adjust afterwards. + +![Localization Load](Modules/Admin/Docs/Help/img/settings/localization_load.png) \ No newline at end of file diff --git a/Docs/Help/img/accounts/accounts_general.png b/Docs/Help/img/accounts/accounts_general.png index 83b7e1d..c86aae0 100644 Binary files a/Docs/Help/img/accounts/accounts_general.png and b/Docs/Help/img/accounts/accounts_general.png differ diff --git a/Docs/Help/img/accounts/accounts_groups.png b/Docs/Help/img/accounts/accounts_groups.png index 8f4b047..48d65e9 100644 Binary files a/Docs/Help/img/accounts/accounts_groups.png and b/Docs/Help/img/accounts/accounts_groups.png differ diff --git a/Docs/Help/img/accounts/accounts_permissions.png b/Docs/Help/img/accounts/accounts_permissions.png index 8dcc852..156bf58 100644 Binary files a/Docs/Help/img/accounts/accounts_permissions.png and b/Docs/Help/img/accounts/accounts_permissions.png differ diff --git a/Docs/Help/img/general/settings-localization-area.png b/Docs/Help/img/general/settings-localization-area.png deleted file mode 100644 index 52ce4c1..0000000 Binary files a/Docs/Help/img/general/settings-localization-area.png and /dev/null differ diff --git a/Docs/Help/img/general/settings-localization-length.png b/Docs/Help/img/general/settings-localization-length.png deleted file mode 100644 index ebe3e9f..0000000 Binary files a/Docs/Help/img/general/settings-localization-length.png and /dev/null differ diff --git a/Docs/Help/img/general/settings-localization-numeric.png b/Docs/Help/img/general/settings-localization-numeric.png deleted file mode 100644 index 9e61f1f..0000000 Binary files a/Docs/Help/img/general/settings-localization-numeric.png and /dev/null differ diff --git a/Docs/Help/img/general/settings-localization-precision.png b/Docs/Help/img/general/settings-localization-precision.png deleted file mode 100644 index e32dee1..0000000 Binary files a/Docs/Help/img/general/settings-localization-precision.png and /dev/null differ diff --git a/Docs/Help/img/general/settings-localization-speed.png b/Docs/Help/img/general/settings-localization-speed.png deleted file mode 100644 index 25a3a54..0000000 Binary files a/Docs/Help/img/general/settings-localization-speed.png and /dev/null differ diff --git a/Docs/Help/img/general/settings-localization-time.png b/Docs/Help/img/general/settings-localization-time.png deleted file mode 100644 index 25dcc55..0000000 Binary files a/Docs/Help/img/general/settings-localization-time.png and /dev/null differ diff --git a/Docs/Help/img/general/settings-localization-volume.png b/Docs/Help/img/general/settings-localization-volume.png deleted file mode 100644 index 9bf7e5d..0000000 Binary files a/Docs/Help/img/general/settings-localization-volume.png and /dev/null differ diff --git a/Docs/Help/img/general/settings-localization-weight.png b/Docs/Help/img/general/settings-localization-weight.png deleted file mode 100644 index 3f39bea..0000000 Binary files a/Docs/Help/img/general/settings-localization-weight.png and /dev/null differ diff --git a/Docs/Help/img/general/settings-localization.png b/Docs/Help/img/general/settings-localization.png deleted file mode 100644 index 9ba2332..0000000 Binary files a/Docs/Help/img/general/settings-localization.png and /dev/null differ diff --git a/Docs/Help/img/general/settings_localization.png b/Docs/Help/img/general/settings_localization.png deleted file mode 100644 index 8a8fa0c..0000000 Binary files a/Docs/Help/img/general/settings_localization.png and /dev/null differ diff --git a/Docs/Help/img/general/settings_logging.png b/Docs/Help/img/general/settings_logging.png deleted file mode 100644 index 7a71c40..0000000 Binary files a/Docs/Help/img/general/settings_logging.png and /dev/null differ diff --git a/Docs/Help/img/general/settings_security.png b/Docs/Help/img/general/settings_security.png deleted file mode 100644 index be7fde4..0000000 Binary files a/Docs/Help/img/general/settings_security.png and /dev/null differ diff --git a/Docs/Help/img/groups/groups_accounts.png b/Docs/Help/img/groups/groups_accounts.png index 8edf5b6..2a93ed7 100644 Binary files a/Docs/Help/img/groups/groups_accounts.png and b/Docs/Help/img/groups/groups_accounts.png differ diff --git a/Docs/Help/img/groups/groups_general.png b/Docs/Help/img/groups/groups_general.png index 4c02312..2efaff1 100644 Binary files a/Docs/Help/img/groups/groups_general.png and b/Docs/Help/img/groups/groups_general.png differ diff --git a/Docs/Help/img/groups/groups_permissions.png b/Docs/Help/img/groups/groups_permissions.png index 4072903..7a5c434 100644 Binary files a/Docs/Help/img/groups/groups_permissions.png and b/Docs/Help/img/groups/groups_permissions.png differ diff --git a/Docs/Help/img/settings/localization.png b/Docs/Help/img/settings/localization.png new file mode 100644 index 0000000..bbd75ef Binary files /dev/null and b/Docs/Help/img/settings/localization.png differ diff --git a/Docs/Help/img/settings/localization_load.png b/Docs/Help/img/settings/localization_load.png new file mode 100644 index 0000000..9e2bd20 Binary files /dev/null and b/Docs/Help/img/settings/localization_load.png differ diff --git a/Docs/Help/img/settings/settings.png b/Docs/Help/img/settings/settings.png new file mode 100644 index 0000000..94d8323 Binary files /dev/null and b/Docs/Help/img/settings/settings.png differ diff --git a/Docs/Help/img/settings/settings_email.png b/Docs/Help/img/settings/settings_email.png new file mode 100644 index 0000000..1e63c9e Binary files /dev/null and b/Docs/Help/img/settings/settings_email.png differ diff --git a/Docs/Help/img/settings/settings_security.png b/Docs/Help/img/settings/settings_security.png new file mode 100644 index 0000000..cc4bb52 Binary files /dev/null and b/Docs/Help/img/settings/settings_security.png differ diff --git a/Docs/Help/img/settings/settings_server_status.png b/Docs/Help/img/settings/settings_server_status.png new file mode 100644 index 0000000..aed34a9 Binary files /dev/null and b/Docs/Help/img/settings/settings_server_status.png differ diff --git a/Docs/img.json b/Docs/img.json new file mode 100644 index 0000000..c245b42 --- /dev/null +++ b/Docs/img.json @@ -0,0 +1,65 @@ +[ + [ + "/admin/module/settings?id=Admin", + "//*[@id=\"content\"]/div[2]/div[2]/div[1]/div/div[1]/section", + "/Admin/Docs/Help/img/settings/settings.png" + ], + [ + "/admin/module/settings?id=Admin", + "//*[@id=\"content\"]/div[2]/div[2]/div[1]/div/div[2]/section", + "/Admin/Docs/Help/img/settings/settings_server_status.png" + ], + [ + "/admin/module/settings?id=Admin", + "//*[@id=\"content\"]/div[2]/div[2]/div[1]/div/div[3]/section", + "/Admin/Docs/Help/img/settings/settings_security.png" + ], + [ + "/admin/module/settings?id=Admin", + "//*[@id=\"content\"]/div[2]/div[2]/div[1]/div/div[4]/section", + "/Admin/Docs/Help/img/settings/settings_email.png" + ], + + [ + "/admin/module/settings?id=Admin#c-tab-2", + "//*[@id=\"content\"]/div[2]/div[2]", + "/Admin/Docs/Help/img/settings/localization.png" + ], + [ + "/admin/module/settings?id=Admin#c-tab-2", + "//*[@id=\"content\"]/div[2]/div[2]/div[2]/div/div[1]/section", + "/Admin/Docs/Help/img/settings/localization_load.png" + ], + + [ + "/admin/account/view?id=1", + "//*[@id=\"content\"]/div[2]/div[2]/div[1]/div/div/section", + "/Admin/Docs/Help/img/accounts/accounts_general.png" + ], + [ + "/admin/account/view?id=1#c-tab-2", + "//*[@id=\"content\"]/div[2]/div[2]/div[2]/div", + "/Admin/Docs/Help/img/accounts/accounts_groups.png" + ], + [ + "/admin/account/view?id=1#c-tab-3", + "//*[@id=\"content\"]/div[2]/div[2]/div[3]/div/div[1]/section", + "/Admin/Docs/Help/img/accounts/accounts_permissions.png" + ], + + [ + "/admin/group/view?id=1", + "//*[@id=\"content\"]/div[2]/div[2]/div[1]/div/div/section", + "/Admin/Docs/Help/img/groups/groups_general.png" + ], + [ + "/admin/group/view?id=1#c-tab-2", + "//*[@id=\"content\"]/div[2]/div[2]/div[2]/div", + "/Admin/Docs/Help/img/groups/groups_accounts.png" + ], + [ + "/admin/group/view?id=1#c-tab-3", + "//*[@id=\"content\"]/div[2]/div[2]/div[3]/div/div[1]/section", + "/Admin/Docs/Help/img/groups/groups_permissions.png" + ] +] \ No newline at end of file diff --git a/Models/Account.php b/Models/Account.php index ae3c4be..9741344 100755 --- a/Models/Account.php +++ b/Models/Account.php @@ -92,6 +92,15 @@ class Account extends \phpOMS\Account\Account return new NullContact(); } + /** + * Create object from array + * + * @param array{id:int, name:array{0:string, 1:string, 2:string}, email:string, login:string, type:int, status:int, groups:array, permissions:array, tries:?int, addresses?:array, contacts?:array, parents?:array, l11n:array} $account Account data + * + * @return self + * + * @since 1.0.0 + */ public static function fromJson(array $account) : self { $new = new self(); @@ -122,10 +131,10 @@ class Account extends \phpOMS\Account\Account return \array_merge( parent::toArray(), [ - 'tries' => $this->tries, - 'addresses' => $this->addresses, - 'contacts' => $this->contacts, - 'parents' => $this->parents, + 'tries' => $this->tries, + 'addresses' => $this->addresses, + 'contacts' => $this->contacts, + 'parents' => $this->parents, ] ); } diff --git a/Models/AccountCredentialMapper.php b/Models/AccountCredentialMapper.php index 78b6ee6..4ede9c1 100755 --- a/Models/AccountCredentialMapper.php +++ b/Models/AccountCredentialMapper.php @@ -23,7 +23,7 @@ namespace Modules\Admin\Models; * @since 1.0.0 * * @template T of Account - * @extends AccountMapper + * @extends AccountMapper */ final class AccountCredentialMapper extends AccountMapper { diff --git a/Models/Contact.php b/Models/Contact.php index aa652ba..1885fe8 100755 --- a/Models/Contact.php +++ b/Models/Contact.php @@ -74,22 +74,27 @@ class Contact public function toArray() : array { return [ - 'id' => $this->id, - 'type' => $this->type, - 'subtype' => $this->subtype, - 'title' => $this->title, - 'content' => $this->content, + 'id' => $this->id, + 'type' => $this->type, + 'subtype' => $this->subtype, + 'title' => $this->title, + 'content' => $this->content, ]; } - public static function fromJson(array $address) : self + /** + * Create object from array + * + * @param array{id:int, type:int, subtype:int, title:string, content:string} $contact Contact data + */ + public static function fromJson(array $contact) : self { - $new = new self(); - $new->id = $address['id']; - $new->type = $address['type']; - $new->subtype = $address['subtype']; - $new->title = $address['title']; - $new->content = $address['content']; + $new = new self(); + $new->id = $contact['id']; + $new->type = $contact['type']; + $new->subtype = $contact['subtype']; + $new->title = $contact['title']; + $new->content = $contact['content']; return $new; } diff --git a/Models/GroupMapper.php b/Models/GroupMapper.php index 59795a9..71c4f84 100755 --- a/Models/GroupMapper.php +++ b/Models/GroupMapper.php @@ -114,7 +114,7 @@ final class GroupMapper extends DataMapperFactory ->on(self::TABLE . '_d1.group_id', '=', GroupPermissionMapper::TABLE . '.group_permission_group') ->where(GroupPermissionMapper::TABLE . '.group_permission_module', '=', $module); - return self::getAll()->execute($query); + return self::getAll()->executeGetArray($query); } /** diff --git a/Theme/Api/Lang/ar.lang.php b/Theme/Api/Lang/ar.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/ar.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/cs.lang.php b/Theme/Api/Lang/cs.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/cs.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/da.lang.php b/Theme/Api/Lang/da.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/da.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/el.lang.php b/Theme/Api/Lang/el.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/el.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/es.lang.php b/Theme/Api/Lang/es.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/es.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/fi.lang.php b/Theme/Api/Lang/fi.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/fi.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/fr.lang.php b/Theme/Api/Lang/fr.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/fr.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/hu.lang.php b/Theme/Api/Lang/hu.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/hu.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/it.lang.php b/Theme/Api/Lang/it.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/it.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/ja.lang.php b/Theme/Api/Lang/ja.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/ja.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/ko.lang.php b/Theme/Api/Lang/ko.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/ko.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/no.lang.php b/Theme/Api/Lang/no.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/no.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/pl.lang.php b/Theme/Api/Lang/pl.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/pl.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/pt.lang.php b/Theme/Api/Lang/pt.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/pt.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/ru.lang.php b/Theme/Api/Lang/ru.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/ru.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/sv.lang.php b/Theme/Api/Lang/sv.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/sv.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/th.lang.php b/Theme/Api/Lang/th.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/th.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/tr.lang.php b/Theme/Api/Lang/tr.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/tr.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/uk.lang.php b/Theme/Api/Lang/uk.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/uk.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Api/Lang/zh.lang.php b/Theme/Api/Lang/zh.lang.php deleted file mode 100644 index d4dd289..0000000 --- a/Theme/Api/Lang/zh.lang.php +++ /dev/null @@ -1,49 +0,0 @@ - [ - 'AccountCreateMsg' => '', - 'AccountCreateTitle' => '', - 'FormDataInvalid' => '', - 'LOGIN_ERROR' => '', - 'LogoutSuccessfulMsg' => '', - 'LogoutSuccessfulTitle' => '', - 'ModuleActivatedFailure' => '', - 'ModuleActivatedSuccessful' => '', - 'ModuleDeactivatedFailure' => '', - 'ModuleDeactivatedSuccessful' => '', - 'ModuleInstalledFailure' => '', - 'ModuleInstalledSuccessful' => '', - 'ModuleStatusTitle' => '', - 'ModuleUninstalledFailure' => '', - 'ModuleUninstalledSuccessful' => '', - 'NOT_ACTIVATED' => '', - 'PasswordResetEmailMsg' => '', - 'PasswordResetInvalidMsg' => '', - 'PasswordResetMsg' => '', - 'PasswordResetTitle' => '', - 'PasswordTitle' => '', - 'RegistrationAlreadyRegistered' => '', - 'RegistrationEmailInUse' => '', - 'RegistrationInvalidPasswordFormat' => '', - 'RegistrationLoginInUse' => '', - 'RegistrationNotActivated' => '', - 'RegistrationNotAllowed' => '', - 'RegistrationSuccessful' => '', - 'RegistrationTitle' => '', - 'UnknownModuleChange' => '', - 'UnknownModuleOrStatusChange' => '', - 'UnknownModuleStatusChange' => '', - 'WRONG_INPUT_EXCEEDED' => '', -]]; diff --git a/Theme/Backend/Lang/Navigation.ar.lang.php b/Theme/Backend/Lang/Navigation.ar.lang.php deleted file mode 100755 index 7c140ed..0000000 --- a/Theme/Backend/Lang/Navigation.ar.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'الحساب', - 'Accounts' => 'حسابات', - 'Admin' => 'مشرف', - 'Create' => 'يخلق', - 'Front' => 'أمام', - 'General' => 'عام', - 'Groups' => 'مجموعات', - 'Hooks' => '', - 'Info' => 'معلومات', - 'List' => 'قائمة', - 'Log' => 'سجل', - 'Members' => 'أعضاء', - 'Modules' => 'وحدات', - 'Navigation' => 'التنقل', - 'Pages' => 'الصفحات', - 'Permissions' => 'الأذونات', - 'Routes' => 'طرق', - 'Settings' => 'إعدادات', -]]; diff --git a/Theme/Backend/Lang/Navigation.cs.lang.php b/Theme/Backend/Lang/Navigation.cs.lang.php deleted file mode 100755 index 8f36ee5..0000000 --- a/Theme/Backend/Lang/Navigation.cs.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Účet', - 'Accounts' => 'Účty', - 'Admin' => 'Admin', - 'Create' => 'Vytvořit', - 'Front' => 'Přední', - 'General' => 'Všeobecné', - 'Groups' => 'Skupiny', - 'Hooks' => '', - 'Info' => 'Info.', - 'List' => 'Seznam', - 'Log' => 'Log', - 'Members' => 'Členové', - 'Modules' => 'Moduly', - 'Navigation' => 'Navigace', - 'Pages' => 'Stránky', - 'Permissions' => 'Oprávnění', - 'Routes' => 'Trasy', - 'Settings' => 'Nastavení', -]]; diff --git a/Theme/Backend/Lang/Navigation.da.lang.php b/Theme/Backend/Lang/Navigation.da.lang.php deleted file mode 100755 index 59afd54..0000000 --- a/Theme/Backend/Lang/Navigation.da.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Konto', - 'Accounts' => 'Konti.', - 'Admin' => 'Admin.', - 'Create' => 'skab', - 'Front' => 'Foran', - 'General' => 'Generel', - 'Groups' => 'Grupper.', - 'Hooks' => '', - 'Info' => 'Info.', - 'List' => 'Liste', - 'Log' => 'Log', - 'Members' => 'Medlemmer', - 'Modules' => 'Moduler.', - 'Navigation' => 'Navigation', - 'Pages' => 'sider', - 'Permissions' => 'Tilladelser', - 'Routes' => 'Ruter', - 'Settings' => 'Indstillinger.', -]]; diff --git a/Theme/Backend/Lang/Navigation.el.lang.php b/Theme/Backend/Lang/Navigation.el.lang.php deleted file mode 100755 index 05d5876..0000000 --- a/Theme/Backend/Lang/Navigation.el.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'λογαριασμός', - 'Accounts' => 'Λογαριασμοί', - 'Admin' => 'διαχειριστής', - 'Create' => 'Δημιουργώ', - 'Front' => 'Εμπρός', - 'General' => 'Γενικός', - 'Groups' => 'Ομάδες', - 'Hooks' => '', - 'Info' => 'Πληροφορία', - 'List' => 'Λίστα', - 'Log' => 'Κούτσουρο', - 'Members' => 'Μέλη', - 'Modules' => 'Ενότητες', - 'Navigation' => 'Πλοήγηση', - 'Pages' => 'Σελίδες', - 'Permissions' => 'Δικαιώματα', - 'Routes' => 'Δρομολόγια', - 'Settings' => 'Ρυθμίσεις', -]]; diff --git a/Theme/Backend/Lang/Navigation.es.lang.php b/Theme/Backend/Lang/Navigation.es.lang.php deleted file mode 100755 index 2f68633..0000000 --- a/Theme/Backend/Lang/Navigation.es.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Cuenta', - 'Accounts' => 'Cuentas', - 'Admin' => 'Administración', - 'Create' => 'Crear', - 'Front' => 'Parte delantera', - 'General' => 'General', - 'Groups' => 'Grupo', - 'Hooks' => '', - 'Info' => 'Información', - 'List' => 'Lista', - 'Log' => 'Tronco', - 'Members' => 'Miembros', - 'Modules' => 'Módulos', - 'Navigation' => 'Navegación', - 'Pages' => 'Páginas', - 'Permissions' => 'Permisos', - 'Routes' => 'Rutas', - 'Settings' => 'Ajustes', -]]; diff --git a/Theme/Backend/Lang/Navigation.fi.lang.php b/Theme/Backend/Lang/Navigation.fi.lang.php deleted file mode 100755 index 1b1a060..0000000 --- a/Theme/Backend/Lang/Navigation.fi.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Tili', - 'Accounts' => 'Tilit', - 'Admin' => 'Admin', - 'Create' => 'Luoda', - 'Front' => 'Edestä', - 'General' => 'Yleinen', - 'Groups' => 'Ryhmät', - 'Hooks' => '', - 'Info' => 'Tiedot', - 'List' => 'Lista', - 'Log' => 'Hirsi', - 'Members' => 'Jäsenet', - 'Modules' => 'Moduulit', - 'Navigation' => 'Navigointi', - 'Pages' => 'Sivut', - 'Permissions' => 'Oikeudet', - 'Routes' => 'Reitit', - 'Settings' => 'asetukset', -]]; diff --git a/Theme/Backend/Lang/Navigation.fr.lang.php b/Theme/Backend/Lang/Navigation.fr.lang.php deleted file mode 100755 index 3fbadbb..0000000 --- a/Theme/Backend/Lang/Navigation.fr.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Compte', - 'Accounts' => 'Comptes', - 'Admin' => 'Admin', - 'Create' => 'Créer', - 'Front' => 'De face', - 'General' => 'Général', - 'Groups' => 'Groupes', - 'Hooks' => '', - 'Info' => 'Info', - 'List' => 'Lister', - 'Log' => 'Enregistrer', - 'Members' => 'Membres', - 'Modules' => 'Modules', - 'Navigation' => 'La navigation', - 'Pages' => 'Pages', - 'Permissions' => 'Autorisation', - 'Routes' => 'Routes', - 'Settings' => 'Réglages', -]]; diff --git a/Theme/Backend/Lang/Navigation.hu.lang.php b/Theme/Backend/Lang/Navigation.hu.lang.php deleted file mode 100755 index 23e5cbf..0000000 --- a/Theme/Backend/Lang/Navigation.hu.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Számla', - 'Accounts' => 'Fiókok', - 'Admin' => 'Adminisztrátor', - 'Create' => 'Teremt', - 'Front' => 'Elülső', - 'General' => 'Tábornok', - 'Groups' => 'Csoportok', - 'Hooks' => '', - 'Info' => 'Információ', - 'List' => 'Lista', - 'Log' => 'Napló', - 'Members' => 'Tagok', - 'Modules' => 'Modulok', - 'Navigation' => 'Navigáció', - 'Pages' => 'Oldalak', - 'Permissions' => 'Engedélyek', - 'Routes' => 'Útvonalak', - 'Settings' => 'Beállítások', -]]; diff --git a/Theme/Backend/Lang/Navigation.it.lang.php b/Theme/Backend/Lang/Navigation.it.lang.php deleted file mode 100755 index abd4c73..0000000 --- a/Theme/Backend/Lang/Navigation.it.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Account', - 'Accounts' => 'Conti', - 'Admin' => 'Amministratore', - 'Create' => 'Creare', - 'Front' => 'Davanti', - 'General' => 'Generale', - 'Groups' => 'Gruppi', - 'Hooks' => '', - 'Info' => 'Informazioni', - 'List' => 'Elenco', - 'Log' => 'Tronco d\'albero', - 'Members' => 'Membri', - 'Modules' => 'Moduli', - 'Navigation' => 'Navigazione', - 'Pages' => 'Pagine', - 'Permissions' => 'Autorizzazioni', - 'Routes' => 'Itinerari', - 'Settings' => 'Impostazioni', -]]; diff --git a/Theme/Backend/Lang/Navigation.ja.lang.php b/Theme/Backend/Lang/Navigation.ja.lang.php deleted file mode 100755 index e6df8fe..0000000 --- a/Theme/Backend/Lang/Navigation.ja.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'アカウント', - 'Accounts' => '勘定科目', - 'Admin' => 'admin.', - 'Create' => '作成', - 'Front' => 'フロント', - 'General' => '全般的', - 'Groups' => '団体', - 'Hooks' => '', - 'Info' => '情報', - 'List' => 'リスト', - 'Log' => 'ログ', - 'Members' => 'メンバー', - 'Modules' => 'モジュール', - 'Navigation' => 'ナビゲーション', - 'Pages' => 'pages', - 'Permissions' => '権限', - 'Routes' => 'ルート', - 'Settings' => '設定', -]]; diff --git a/Theme/Backend/Lang/Navigation.ko.lang.php b/Theme/Backend/Lang/Navigation.ko.lang.php deleted file mode 100755 index 201c333..0000000 --- a/Theme/Backend/Lang/Navigation.ko.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => '계정', - 'Accounts' => 'accounts.', - 'Admin' => '관리자', - 'Create' => '만들다', - 'Front' => '앞', - 'General' => '일반적인', - 'Groups' => '여러 떼', - 'Hooks' => '', - 'Info' => '정보', - 'List' => '목록', - 'Log' => '통나무', - 'Members' => '멤버들', - 'Modules' => '모듈', - 'Navigation' => '항해', - 'Pages' => '페이지', - 'Permissions' => '권한', - 'Routes' => '경로', - 'Settings' => '설정', -]]; diff --git a/Theme/Backend/Lang/Navigation.no.lang.php b/Theme/Backend/Lang/Navigation.no.lang.php deleted file mode 100755 index 3cf548b..0000000 --- a/Theme/Backend/Lang/Navigation.no.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Regnskap', - 'Accounts' => 'Kontoer', - 'Admin' => 'Admin', - 'Create' => 'Skape', - 'Front' => 'Front', - 'General' => 'Generell', - 'Groups' => 'Grupper', - 'Hooks' => '', - 'Info' => 'Info.', - 'List' => 'Liste', - 'Log' => 'Logg', - 'Members' => 'Medlemmer', - 'Modules' => 'Moduler', - 'Navigation' => 'Navigasjon', - 'Pages' => 'Sider', - 'Permissions' => 'Tillatelser', - 'Routes' => 'Ruter', - 'Settings' => 'Innstillinger', -]]; diff --git a/Theme/Backend/Lang/Navigation.pl.lang.php b/Theme/Backend/Lang/Navigation.pl.lang.php deleted file mode 100755 index 7c65def..0000000 --- a/Theme/Backend/Lang/Navigation.pl.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Rachunek', - 'Accounts' => 'Konta', - 'Admin' => 'Administrator', - 'Create' => 'Tworzyć', - 'Front' => 'Przód', - 'General' => 'Ogólny', - 'Groups' => 'Grupy', - 'Hooks' => '', - 'Info' => 'Info', - 'List' => 'Lista', - 'Log' => 'Dziennik', - 'Members' => 'Członkowie', - 'Modules' => 'Moduły', - 'Navigation' => 'Nawigacja', - 'Pages' => 'Strony', - 'Permissions' => 'Uprawnienia', - 'Routes' => 'Trasy', - 'Settings' => 'Ustawienia', -]]; diff --git a/Theme/Backend/Lang/Navigation.pt.lang.php b/Theme/Backend/Lang/Navigation.pt.lang.php deleted file mode 100755 index 6e07610..0000000 --- a/Theme/Backend/Lang/Navigation.pt.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Conta', - 'Accounts' => 'Contas', - 'Admin' => 'Admin.', - 'Create' => 'Crio', - 'Front' => 'Frente', - 'General' => 'Em geral', - 'Groups' => 'Grupos', - 'Hooks' => '', - 'Info' => 'Info', - 'List' => 'Lista', - 'Log' => 'Registro', - 'Members' => 'Membros', - 'Modules' => 'Módulos.', - 'Navigation' => 'Navegação', - 'Pages' => 'Páginas', - 'Permissions' => 'Permissões', - 'Routes' => 'Rotas', - 'Settings' => 'Configurações', -]]; diff --git a/Theme/Backend/Lang/Navigation.ru.lang.php b/Theme/Backend/Lang/Navigation.ru.lang.php deleted file mode 100755 index 9a84db2..0000000 --- a/Theme/Backend/Lang/Navigation.ru.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Счет', - 'Accounts' => 'Счета', - 'Admin' => 'Админ', - 'Create' => 'Создавать', - 'Front' => 'Фронт', - 'General' => 'Общий', - 'Groups' => 'Группы', - 'Hooks' => '', - 'Info' => 'Информация', - 'List' => 'Список', - 'Log' => 'Бревно', - 'Members' => 'Члены', - 'Modules' => 'Модули', - 'Navigation' => 'Навигация', - 'Pages' => 'Страницы', - 'Permissions' => 'Разрешения', - 'Routes' => 'Маршруты', - 'Settings' => 'Настройки', -]]; diff --git a/Theme/Backend/Lang/Navigation.sv.lang.php b/Theme/Backend/Lang/Navigation.sv.lang.php deleted file mode 100755 index a93dd18..0000000 --- a/Theme/Backend/Lang/Navigation.sv.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'konto', - 'Accounts' => 'Konton', - 'Admin' => 'Administration', - 'Create' => 'Skapa', - 'Front' => 'Främre', - 'General' => 'Allmän', - 'Groups' => 'Grupp', - 'Hooks' => '', - 'Info' => 'Info', - 'List' => 'Lista', - 'Log' => 'Logga', - 'Members' => 'Medlemmar', - 'Modules' => 'Moduler', - 'Navigation' => 'Navigering', - 'Pages' => 'Sidor', - 'Permissions' => 'Behörighet', - 'Routes' => 'Rutter', - 'Settings' => 'inställningar', -]]; diff --git a/Theme/Backend/Lang/Navigation.th.lang.php b/Theme/Backend/Lang/Navigation.th.lang.php deleted file mode 100755 index 2e099dd..0000000 --- a/Theme/Backend/Lang/Navigation.th.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'บัญชี', - 'Accounts' => 'บัญชี', - 'Admin' => 'ผู้ดูแลระบบ', - 'Create' => 'สร้าง', - 'Front' => 'ด้านหน้า', - 'General' => 'ทั่วไป', - 'Groups' => 'กลุ่ม', - 'Hooks' => '', - 'Info' => 'ข้อมูล', - 'List' => 'รายการ', - 'Log' => 'บันทึก', - 'Members' => 'สมาชิก', - 'Modules' => 'โมดูล', - 'Navigation' => 'การนำทาง', - 'Pages' => 'หน้า', - 'Permissions' => 'การอนุญาต', - 'Routes' => 'เส้นทาง', - 'Settings' => 'การตั้งค่า', -]]; diff --git a/Theme/Backend/Lang/Navigation.tr.lang.php b/Theme/Backend/Lang/Navigation.tr.lang.php deleted file mode 100755 index cae11b0..0000000 --- a/Theme/Backend/Lang/Navigation.tr.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Hesap', - 'Accounts' => 'Hesap', - 'Admin' => 'Yönetici', - 'Create' => 'Yaratmak', - 'Front' => 'Ön', - 'General' => 'Genel', - 'Groups' => 'Gruplar', - 'Hooks' => '', - 'Info' => 'Bilgi', - 'List' => 'Liste', - 'Log' => 'Kayıt', - 'Members' => 'Üyeler', - 'Modules' => 'Modüller', - 'Navigation' => 'Navigasyon', - 'Pages' => 'Sayfalar', - 'Permissions' => 'İzinler', - 'Routes' => 'Rotalar', - 'Settings' => 'Ayarlar', -]]; diff --git a/Theme/Backend/Lang/Navigation.uk.lang.php b/Theme/Backend/Lang/Navigation.uk.lang.php deleted file mode 100755 index 616f0ad..0000000 --- a/Theme/Backend/Lang/Navigation.uk.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => 'Обліковий запис', - 'Accounts' => 'Облікові записи', - 'Admin' => 'Адміністратор', - 'Create' => 'Створювати', - 'Front' => 'Фронт', - 'General' => 'Загальний', - 'Groups' => 'Групи', - 'Hooks' => '', - 'Info' => 'Інформація', - 'List' => 'Список', - 'Log' => 'Журнал', - 'Members' => 'Члени', - 'Modules' => 'Модулі', - 'Navigation' => 'Навігація', - 'Pages' => 'Сторінка', - 'Permissions' => 'Дозволи', - 'Routes' => 'Маршрути', - 'Settings' => 'Налаштування', -]]; diff --git a/Theme/Backend/Lang/Navigation.zh.lang.php b/Theme/Backend/Lang/Navigation.zh.lang.php deleted file mode 100755 index be7d6f6..0000000 --- a/Theme/Backend/Lang/Navigation.zh.lang.php +++ /dev/null @@ -1,34 +0,0 @@ - [ - 'Account' => '帐户', - 'Accounts' => '账户', - 'Admin' => '行政', - 'Create' => '创建', - 'Front' => '正面', - 'General' => '一般的', - 'Groups' => '团体', - 'Hooks' => '', - 'Info' => '信息', - 'List' => '列表', - 'Log' => '日志', - 'Members' => '成员', - 'Modules' => '模块', - 'Navigation' => '导航', - 'Pages' => '页面', - 'Permissions' => '权限', - 'Routes' => '路线', - 'Settings' => '设置', -]]; diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index 537ef48..2105f9f 100755 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -30,6 +30,8 @@ return ['Admin' => [ ':address8' => 'Weiterbildung', ':address99' => 'Sonstige', 'Account' => 'Konto', + 'Dependencies' => 'Abhängigkeiten', + 'Providing' => 'Bereitstellung', 'Account/Group' => 'Kontengruppe', 'Accounts' => 'Konten', 'Activate' => 'aktivieren Sie', @@ -150,7 +152,7 @@ return ['Admin' => [ 'ServerMode-3' => 'Deaktiviert', 'ServerStatus' => 'Serverstatus', 'Settings' => 'Einstellungen', - 'Setting' => 'Einstellung', + 'Setting' => 'Einstellung', 'SettingsGeneral' => 'Einstellungen - Allgemein', 'Short' => 'Kurz', 'Single' => 'Single', @@ -198,7 +200,6 @@ return ['Admin' => [ 'Warnings' => 'Warnungen', 'Website' => 'Webseite', 'Weight' => 'Gewicht', - 'Postal' => 'Reißverschluss', 'active' => 'aktiv', 'available' => 'verfügbar', 'i:LoginRetries' => 'Betrag der erlaubten Wiederholungen (-1 = unbegrenzt)', @@ -222,12 +223,12 @@ return ['Admin' => [ 'Contacts' => 'Kontakte', 'Subtype' => 'Untertyp', 'Content' => 'Inhalt', - 'OutServer' => 'Ausgangsserver', - 'OutPort' => 'Ausgangsport', - 'InServer' => 'Eingangsserver', - 'InPort' => 'Eingangsport', - 'EmailType' => 'Emailtyp', - 'EmailUsername' => 'Email Benutzername', - 'EmailPassword' => 'Email Password', - 'EmailAddress' => 'Email Adresse', + 'OutServer' => 'Ausgangsserver', + 'OutPort' => 'Ausgangsport', + 'InServer' => 'Eingangsserver', + 'InPort' => 'Eingangsport', + 'EmailType' => 'Emailtyp', + 'EmailUsername' => 'Email Benutzername', + 'EmailPassword' => 'Email Password', + 'EmailAddress' => 'Email Adresse', ]]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index 4ce2c07..4c53784 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -30,6 +30,8 @@ return ['Admin' => [ ':address8' => 'Education', ':address99' => 'Other', 'Account' => 'Account', + 'Dependencies' => 'Dependencies', + 'Providing' => 'Providing', 'Account/Group' => 'Account/Group', 'Accounts' => 'Accounts', 'Activate' => 'Activate', @@ -150,7 +152,7 @@ return ['Admin' => [ 'ServerMode-3' => 'Disabled', 'ServerStatus' => 'Server Status', 'Settings' => 'Settings', - 'Setting' => 'Setting', + 'Setting' => 'Setting', 'SettingsGeneral' => 'Settings - General', 'Short' => 'Short', 'Single' => 'Single', @@ -198,7 +200,6 @@ return ['Admin' => [ 'Warnings' => 'Warnings', 'Website' => 'Website', 'Weight' => 'Weight', - 'Postal' => 'Postal', 'active' => 'active', 'available' => 'available', 'i:LoginRetries' => 'Amount of allowed retries (-1 = unlimited)', @@ -222,12 +223,12 @@ return ['Admin' => [ 'Contacts' => 'Contacts', 'Subtype' => 'Subtype', 'Content' => 'Content', - 'OutServer' => 'Out Server', - 'OutPort' => 'Out Port', - 'InServer' => 'In Server', - 'InPort' => 'In Port', - 'EmailType' => 'Email Type', - 'EmailUsername' => 'Email Username', - 'EmailPassword' => 'Email Password', - 'EmailAddress' => 'Email Address', + 'OutServer' => 'Out Server', + 'OutPort' => 'Out Port', + 'InServer' => 'In Server', + 'InPort' => 'In Port', + 'EmailType' => 'Email Type', + 'EmailUsername' => 'Email Username', + 'EmailPassword' => 'Email Password', + 'EmailAddress' => 'Email Address', ]]; diff --git a/Theme/Backend/accounts-view.tpl.php b/Theme/Backend/accounts-view.tpl.php index 774ca23..212200b 100644 --- a/Theme/Backend/accounts-view.tpl.php +++ b/Theme/Backend/accounts-view.tpl.php @@ -23,7 +23,7 @@ use phpOMS\Uri\UriFactory; * @var \phpOMS\Views\View $this */ $account = $this->data['account'] ?? new NullAccount(); -$isNew = $account->id === 0; +$isNew = $account->id === 0; $permissions = $this->data['permissions']; $l11n = $account->l11n; @@ -144,7 +144,7 @@ echo $this->data['nav']->render(); ?> "key": 1, "listener": "click", "action": [ {"key": 1, "type": "event.prevent"}, {"key": 2, "type": "dom.get", "base": "", "selector": "#iId"}, - {"key": 3, "type": "message.request", "uri": "", "method": "PUT", "request_type": "json"}, + {"key": 3, "type": "message.request", "uri": "", "method": "PUT", "request_type": "json"}, {"key": 4, "type": "message.log"}, {"key": 5, "type": "redirect", "uri": "{%}", "target": "self"} ] diff --git a/Theme/Backend/modules-info.tpl.php b/Theme/Backend/modules-info.tpl.php index d62be41..2b28ef1 100755 --- a/Theme/Backend/modules-info.tpl.php +++ b/Theme/Backend/modules-info.tpl.php @@ -91,13 +91,61 @@ if (isset($installed[$id])) { - getData('introduction'))) : ?> + data['introduction'])) : ?>
data['introduction']; ?>
+ + data['info']) && !empty($this->data['info']['dependencies'])) : ?> +
+
getHtml('Dependencies'); ?>
+
+
    + data['info']['dependencies'] as $name => $version) : + $length = \strlen($name); + $result = ''; + + for ($i = 0; $i < $length; ++$i) { + if ($i > 0 && \ctype_upper($name[$i]) && \ctype_lower($name[$i - 1])) { + $result .= ' '; + } + + $result .= $name[$i]; + } + ?> +
  • printHtml($result); ?> + +
+
+
+ + + data['info']) && !empty($this->data['info']['providing'])) : ?> +
+
getHtml('Providing'); ?>
+
+
    + data['info']['providing'] as $name => $version) : + $length = \strlen($name); + $result = ''; + + for ($i = 0; $i < $length; ++$i) { + if ($i > 0 && \ctype_upper($name[$i]) && \ctype_lower($name[$i - 1])) { + $result .= ' '; + } + + $result .= $name[$i]; + } + ?> +
  • printHtml($result); ?> + +
+
+
+
diff --git a/Theme/Backend/modules-settings.tpl.php b/Theme/Backend/modules-settings.tpl.php index 9cf6d49..c4c5c24 100755 --- a/Theme/Backend/modules-settings.tpl.php +++ b/Theme/Backend/modules-settings.tpl.php @@ -25,4 +25,4 @@ if ($this->hasData('settingsTpl') include $this->data['settingsTpl']; else : include __DIR__ . '/settings.tpl.php'; -endif; ?> +endif; diff --git a/Theme/Backend/settings.tpl.php b/Theme/Backend/settings.tpl.php index 99eb032..e942c43 100644 --- a/Theme/Backend/settings.tpl.php +++ b/Theme/Backend/settings.tpl.php @@ -1,6 +1,7 @@
diff --git a/info.json b/info.json index 45420e6..b34e240 100755 --- a/info.json +++ b/info.json @@ -12,7 +12,7 @@ }, "creator": { "name": "Jingga", - "website": "jingga.app" + "website": "https://jingga.app" }, "directory": "Admin", "dependencies": {},