mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-01-21 20:08:40 +00:00
Implementing basic activate/deactivate
This commit is contained in:
parent
d4848b3906
commit
768c2ceffe
|
|
@ -18,6 +18,7 @@ namespace Modules\Profile\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\Profile\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);
|
||||
}
|
||||
|
|
|
|||
23
Theme/Backend/acc-grp-popup.tpl.php
Normal file
23
Theme/Backend/acc-grp-popup.tpl.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<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['Profile']['Account/Group']; ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
<form id="fAccGrp" method="GET" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/accgrp'); ?>">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td colspan="2"><label for="iReceiver">Search</label>
|
||||
<tr><td><input type="text" id="iDue" name="due" value=""><td>
|
||||
<tr><td colspan="2">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr><th>ID<th>Name<th>Address<th>City<th>Zip<th>Country
|
||||
<tbody>
|
||||
<tfoot>
|
||||
</table>
|
||||
<tr><td colspan="2"><input type="submit" value="<?= $this->l11n->lang[0]['Search']; ?>"><input type="hidden" name="type" value="<?= \Modules\Tasks\Models\TaskType::SINGLE; ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
Loading…
Reference in New Issue
Block a user