mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-13 13:18:40 +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\DataStorage\Database\Pool;
|
||||||
use phpOMS\Module\ActivateAbstract;
|
use phpOMS\Module\ActivateAbstract;
|
||||||
|
use phpOMS\Module\InfoManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Navigation class.
|
* Navigation class.
|
||||||
|
|
@ -36,7 +37,7 @@ class Activate extends ActivateAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function activate(Pool $dbPool, array $info)
|
public static function activate(Pool $dbPool, InfoManager $info)
|
||||||
{
|
{
|
||||||
parent::activate($dbPool, $info);
|
parent::activate($dbPool, $info);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ namespace Modules\Tasks\Admin;
|
||||||
|
|
||||||
use phpOMS\DataStorage\Database\Pool;
|
use phpOMS\DataStorage\Database\Pool;
|
||||||
use phpOMS\Module\DeactivateAbstract;
|
use phpOMS\Module\DeactivateAbstract;
|
||||||
|
use phpOMS\Module\InfoManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Navigation class.
|
* Navigation class.
|
||||||
|
|
@ -36,7 +37,7 @@ class Deactivate extends DeactivateAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function deactivate(Pool $dbPool, array $info)
|
public static function deactivate(Pool $dbPool, InfoManager $info)
|
||||||
{
|
{
|
||||||
parent::deactivate($dbPool, $info);
|
parent::deactivate($dbPool, $info);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -57,12 +57,4 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<template id="acc-grp-tpl">
|
<?php include ROOT_PATH . '/Modules/Profile/Theme/Backend/acc-grp-popup.tpl.php'; ?>
|
||||||
<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>
|
|
||||||
|
|
@ -57,12 +57,4 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<template id="acc-grp-tpl">
|
<?php include ROOT_PATH . '/Modules/Profile/Theme/Backend/acc-grp-popup.tpl.php'; ?>
|
||||||
<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>
|
|
||||||
Loading…
Reference in New Issue
Block a user