Implementing basic activate/deactivate

This commit is contained in:
Dennis Eichhorn 2016-07-02 12:39:31 +02:00
parent d95c1c985d
commit c49f273f41
4 changed files with 6 additions and 20 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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'; ?>

View File

@ -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'; ?>