commit 1e3e30a260fa129d0e9c7c03ab924084de0e868d Author: Dennis Eichhorn Date: Wed Mar 28 20:01:45 2018 +0200 Added Home module diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json new file mode 100644 index 0000000..d02ffb4 --- /dev/null +++ b/Admin/Install/Navigation.install.json @@ -0,0 +1,35 @@ +[ + { + "id": 1006901001, + "pid": "/backend", + "type": 2, + "subtype": 0, + "name": "Home", + "uri": null, + "target": "self", + "icon": "fa fa-home", + "order": 10, + "from": "Home", + "permission": { "type": null, "element": null }, + "parent": 0, + "children": [] + }, + { + "id": 1006900001, + "pid": "/backend", + "type": 1, + "subtype": 1, + "name": "Logout", + "uri": "/{/lang}/api/logout?{?}", + "target": "self", + "icon": "fa fa-power-off", + "order": 999, + "from": "Home", + "permission": { + "type": null, + "element": null + }, + "parent": 0, + "children": [] + } +] diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php new file mode 100644 index 0000000..b1fbd9d --- /dev/null +++ b/Admin/Install/Navigation.php @@ -0,0 +1,47 @@ + [ + 'Home' => 'Home', + 'Logout' => 'Logout', +]]; diff --git a/img/module_teaser_small.png b/img/module_teaser_small.png new file mode 100644 index 0000000..9147e4f Binary files /dev/null and b/img/module_teaser_small.png differ diff --git a/info.json b/info.json new file mode 100644 index 0000000..406b5f9 --- /dev/null +++ b/info.json @@ -0,0 +1,36 @@ +{ + "name": { + "id": 1006900000, + "internal": "Home", + "external": "Backend Home" + }, + "category": "General", + "version": "1.0.0", + "requirements": { + "phpOMS": "1.0.0", + "phpOMS-db": "1.0.0" + }, + "creator": { + "name": "Orange Management", + "website": "www.spl1nes.com" + }, + "description": "The backend home module.", + "directory": "Home", + "dependencies": { + "Admin": "1.0.0" + }, + "providing": { + "Navigation": "*" + }, + "load": [ + { + "pid": [ + "/backend" + ], + "type": 5, + "from": "Home", + "for": "Navigation", + "file": "Navigation" + } + ] +}