mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 04:27:14 +01:00
59 lines
1.8 KiB
PHP
59 lines
1.8 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 GenVorlage {
|
||
|
|
||
|
function __construct(&$app) {
|
||
|
|
||
|
$this->app=&$app;
|
||
|
$this->app->ActionHandlerInit($this);
|
||
|
|
||
|
$this->app->ActionHandler("create","VorlageCreate");
|
||
|
$this->app->ActionHandler("edit","VorlageEdit");
|
||
|
$this->app->ActionHandler("copy","VorlageCopy");
|
||
|
$this->app->ActionHandler("list","VorlageList");
|
||
|
$this->app->ActionHandler("delete","VorlageDelete");
|
||
|
|
||
|
$this->app->Tpl->Set("HEADING","Vorlage"); //$this->app->ActionHandlerListen($app);
|
||
|
}
|
||
|
|
||
|
function VorlageCreate(){
|
||
|
$this->app->Tpl->Set("HEADING","Vorlage (Anlegen)");
|
||
|
$this->app->PageBuilder->CreateGen("vorlage_create.tpl");
|
||
|
}
|
||
|
|
||
|
function VorlageEdit(){
|
||
|
$this->app->Tpl->Set("HEADING","Vorlage (Bearbeiten)");
|
||
|
$this->app->PageBuilder->CreateGen("vorlage_edit.tpl");
|
||
|
}
|
||
|
|
||
|
function VorlageCopy(){
|
||
|
$this->app->Tpl->Set("HEADING","Vorlage (Kopieren)");
|
||
|
$this->app->PageBuilder->CreateGen("vorlage_copy.tpl");
|
||
|
}
|
||
|
|
||
|
function VorlageDelete(){
|
||
|
$this->app->Tpl->Set("HEADING","Vorlage (Löschen)");
|
||
|
$this->app->PageBuilder->CreateGen("vorlage_delete.tpl");
|
||
|
}
|
||
|
|
||
|
function VorlageList(){
|
||
|
$this->app->Tpl->Set("HEADING","Vorlage (Übersicht)");
|
||
|
$this->app->PageBuilder->CreateGen("vorlage_list.tpl");
|
||
|
}
|
||
|
|
||
|
}
|
||
|
?>
|