mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-13 15:08:40 +00:00
Fixing remaining bugs for route-restructure
This commit is contained in:
parent
6ae4c2e1e6
commit
0b5d967581
|
|
@ -17,6 +17,7 @@ namespace Modules\Calendar\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/calendar/dashboard.*$' => [
|
'^.*/backend/calendar/dashboard.*$' => [
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,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 viewCalendarDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
|
public function viewCalendarDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||||
{
|
{
|
||||||
$view = new View($this->app, $request, $response);
|
$view = new View($this->app, $request, $response);
|
||||||
$view->setTemplate('/Modules/Calendar/Theme/Backend/calendar-dashboard');
|
$view->setTemplate('/Modules/Calendar/Theme/Backend/calendar-dashboard');
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,6 @@
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
$MODLANG['Navigation'] = [
|
return ['Navigation' => [
|
||||||
'Calendar' => 'Calendar',
|
'Calendar' => 'Calendar',
|
||||||
];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://orange-management.com
|
* @link http://orange-management.com
|
||||||
*/
|
*/
|
||||||
$MODLANG['Calendar'] = [
|
return ['Calendar' => [
|
||||||
'Blocks' => 'Blocks',
|
'Blocks' => 'Blocks',
|
||||||
'Day' => 'Day',
|
'Day' => 'Day',
|
||||||
'Interval' => 'Interval',
|
'Interval' => 'Interval',
|
||||||
|
|
@ -25,4 +25,4 @@ $MODLANG['Calendar'] = [
|
||||||
'Timeline' => 'Timeline',
|
'Timeline' => 'Timeline',
|
||||||
'Week' => 'Week',
|
'Week' => 'Week',
|
||||||
'Year' => 'Year',
|
'Year' => 'Year',
|
||||||
];
|
]];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user