mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-14 06:38:40 +00:00
Fixing remaining bugs for route-restructure
This commit is contained in:
parent
a22fe2714b
commit
b6d6ea716e
|
|
@ -17,6 +17,7 @@ namespace Modules\Profile\Admin;
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\DatabaseType;
|
use phpOMS\DataStorage\Database\DatabaseType;
|
||||||
use phpOMS\DataStorage\Database\Pool;
|
use phpOMS\DataStorage\Database\Pool;
|
||||||
|
use phpOMS\Module\InfoManager;
|
||||||
use phpOMS\Module\InstallerAbstract;
|
use phpOMS\Module\InstallerAbstract;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use phpOMS\Router\RouteVerb;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'^.*/backend/profile/list.*$' => [
|
'^.*/backend/profile/list.*$' => [
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function viewProfileList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
public function viewProfileList(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||||
{
|
{
|
||||||
$view = new View($this->app, $request, $response);
|
$view = new View($this->app, $request, $response);
|
||||||
$view->setTemplate('/Modules/Profile/Theme/Backend/profile-list');
|
$view->setTemplate('/Modules/Profile/Theme/Backend/profile-list');
|
||||||
|
|
@ -111,7 +111,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function viewProfileSingle(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
public function viewProfileSingle(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||||
{
|
{
|
||||||
$view = new View($this->app, $request, $response);
|
$view = new View($this->app, $request, $response);
|
||||||
$view->setTemplate('/Modules/Profile/Theme/Backend/profile-single');
|
$view->setTemplate('/Modules/Profile/Theme/Backend/profile-single');
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
$MODLANG['Profile'] = [
|
return ['Profile' => [
|
||||||
'Activity' => 'Activity',
|
'Activity' => 'Activity',
|
||||||
'Birthday' => 'Birthday',
|
'Birthday' => 'Birthday',
|
||||||
'ContactInformation' => 'Contact Information',
|
'ContactInformation' => 'Contact Information',
|
||||||
|
|
@ -31,4 +31,4 @@ $MODLANG['Profile'] = [
|
||||||
'Registered' => 'Registered',
|
'Registered' => 'Registered',
|
||||||
'Skype' => 'Skype',
|
'Skype' => 'Skype',
|
||||||
'Status' => 'Status',
|
'Status' => 'Status',
|
||||||
];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
$MODLANG['Navigation'] = [
|
return ['Navigation' => [
|
||||||
'List' => 'List',
|
'List' => 'List',
|
||||||
'Profile' => 'Profile',
|
'Profile' => 'Profile',
|
||||||
'Profiles' => 'Profiles',
|
'Profiles' => 'Profiles',
|
||||||
];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
$MODLANG['Profile'] = [
|
return ['Profile' => [
|
||||||
'Activity' => 'Activity',
|
'Activity' => 'Activity',
|
||||||
'Birthday' => 'Birthday',
|
'Birthday' => 'Birthday',
|
||||||
'ContactInformation' => 'Contact Information',
|
'ContactInformation' => 'Contact Information',
|
||||||
|
|
@ -31,4 +31,4 @@ $MODLANG['Profile'] = [
|
||||||
'Registered' => 'Registered',
|
'Registered' => 'Registered',
|
||||||
'Skype' => 'Skype',
|
'Skype' => 'Skype',
|
||||||
'Status' => 'Status',
|
'Status' => 'Status',
|
||||||
];
|
]];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user