mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-24 13:18:41 +00:00
Implementing basic activate/deactivate
This commit is contained in:
parent
d95c1c985d
commit
c49f273f41
|
|
@ -18,6 +18,7 @@ namespace Modules\Tasks\Admin;
|
|||
|
||||
use phpOMS\DataStorage\Database\Pool;
|
||||
use phpOMS\Module\ActivateAbstract;
|
||||
use phpOMS\Module\InfoManager;
|
||||
|
||||
/**
|
||||
* Navigation class.
|
||||
|
|
@ -36,7 +37,7 @@ class Activate extends ActivateAbstract
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function activate(Pool $dbPool, array $info)
|
||||
public static function activate(Pool $dbPool, InfoManager $info)
|
||||
{
|
||||
parent::activate($dbPool, $info);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ namespace Modules\Tasks\Admin;
|
|||
|
||||
use phpOMS\DataStorage\Database\Pool;
|
||||
use phpOMS\Module\DeactivateAbstract;
|
||||
use phpOMS\Module\InfoManager;
|
||||
|
||||
/**
|
||||
* Navigation class.
|
||||
|
|
@ -36,7 +37,7 @@ class Deactivate extends DeactivateAbstract
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function deactivate(Pool $dbPool, array $info)
|
||||
public static function deactivate(Pool $dbPool, InfoManager $info)
|
||||
{
|
||||
parent::deactivate($dbPool, $info);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,12 +57,4 @@ echo $this->getData('nav')->render(); ?>
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<template id="acc-grp-tpl">
|
||||
<section id="acc-grp" class="box w-50" style="z-index: 9; position: absolute; margin: 0 auto; left: 50%; top: 50%; transform: translate(-50%, -50%);">
|
||||
<header><h1><?= $this->l11n->lang['Tasks']['Media']; ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
This is some content
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
<?php include ROOT_PATH . '/Modules/Profile/Theme/Backend/acc-grp-popup.tpl.php'; ?>
|
||||
|
|
@ -57,12 +57,4 @@ echo $this->getData('nav')->render(); ?>
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<template id="acc-grp-tpl">
|
||||
<section id="acc-grp" class="box w-50" style="z-index: 9; position: absolute; margin: 0 auto; left: 50%; top: 50%; transform: translate(-50%, -50%);">
|
||||
<header><h1><?= $this->l11n->lang['Tasks']['Media']; ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
This is some content
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
<?php include ROOT_PATH . '/Modules/Profile/Theme/Backend/acc-grp-popup.tpl.php'; ?>
|
||||
Loading…
Reference in New Issue
Block a user