mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 22:20:29 +01:00
82 lines
2.1 KiB
PHP
82 lines
2.1 KiB
PHP
|
<?php
|
||
|
/*
|
||
|
**** COPYRIGHT & LICENSE NOTICE *** DO NOT REMOVE ****
|
||
|
*
|
||
|
* Xentral (c) Xentral ERP Sorftware GmbH, Fuggerstrasse 11, D-86150 Augsburg, * Germany 2019
|
||
|
*
|
||
|
* This file is licensed under the Embedded Projects General Public License *Version 3.1.
|
||
|
*
|
||
|
* You should have received a copy of this license from your vendor and/or *along with this file; If not, please visit www.wawision.de/Lizenzhinweis
|
||
|
* to obtain the text of the corresponding license version.
|
||
|
*
|
||
|
**** END OF COPYRIGHT & LICENSE NOTICE *** DO NOT REMOVE ****
|
||
|
*/
|
||
|
?>
|
||
|
<?php
|
||
|
class Netzwerk {
|
||
|
var $app;
|
||
|
|
||
|
function __construct(&$app) {
|
||
|
//parent::GenNetzwerk($app);
|
||
|
$this->app=&$app;
|
||
|
|
||
|
$id = $this->app->Secure->GetGET("id");
|
||
|
if(is_numeric($id))
|
||
|
$this->app->Tpl->Set('SUBHEADING',": ".
|
||
|
$this->app->DB->Select("SELECT nummer FROM artikel WHERE id=$id LIMIT 1"));
|
||
|
|
||
|
$this->app->ActionHandlerInit($this);
|
||
|
|
||
|
$this->app->ActionHandler("create","NetzwerkCreate");
|
||
|
$this->app->ActionHandler("edit","NetzwerkEdit");
|
||
|
$this->app->ActionHandler("list","NetzwerkList");
|
||
|
|
||
|
|
||
|
$this->app->ActionHandlerListen($app);
|
||
|
}
|
||
|
|
||
|
|
||
|
function NetzwerkCreate()
|
||
|
{
|
||
|
$this->app->Tpl->Add('TABS',
|
||
|
"<a class=\"tab\" href=\"index.php?module=artikel&action=list\">Zurück zur Übersicht</a>");
|
||
|
}
|
||
|
|
||
|
function NetzwerkMenu()
|
||
|
{
|
||
|
|
||
|
$id = $this->app->Secure->GetGET("id");
|
||
|
$this->app->Tpl->Add('TABS',"<li><h2>Netzwerk</h2></li>");
|
||
|
$this->app->Tpl->Add('TABS',"<li><a href=\"index.php?module=netzwerk&action=create&id=$id\">Station registrieren</a></li>");
|
||
|
$this->app->Tpl->Add('TABS',"<li><a href=\"index.php?module=netzwerk&action=list&id=$id\">Übersicht</a></li>");
|
||
|
}
|
||
|
|
||
|
function NetzwerkList()
|
||
|
{
|
||
|
$this->NetzwerkMenu();
|
||
|
|
||
|
$this->app->Tpl->Set('TABTEXT',"Übersicht");
|
||
|
|
||
|
$this->app->Tpl->Parse('TAB1',"netzwerk.tpl");
|
||
|
$this->app->Tpl->Parse('PAGE',"tabview.tpl");
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
function NetzwerkEdit()
|
||
|
{
|
||
|
$this->NetzwerkMenu();
|
||
|
$this->app->Tpl->Set('TABLE_ADRESSE_KONTAKTHISTORIE',"TDB");
|
||
|
$this->app->Tpl->Set('TABLE_ADRESSE_ROLLEN',"TDB");
|
||
|
|
||
|
$this->app->Tpl->Set('TABLE_ADRESSE_USTID',"TDB");
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
?>
|