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","GeraeteCreate"); $this->app->ActionHandler("edit","GeraeteEdit"); $this->app->ActionHandler("list","GeraeteList"); $this->app->ActionHandlerListen($app); } function GeraeteCreate() { $this->app->Tpl->Add('TABS', "Zurück zur Übersicht"); } function GeraeteList() { $this->app->Tpl->Add('KURZUEBERSCHRIFT',"Geräteverwaltung"); /* $this->app->Tpl->Add(TABS,"
  • Drucker
  • "); $this->app->Tpl->Add(TABS,"
  • Adapter-Boxen
  • "); $this->app->Tpl->Add(TABS,"
  • Computer / Terminals
  • "); $this->app->Tpl->Add(TABS,"
  • Stationen
  • "); $this->app->Tpl->Add(TABS,"
  • Zugangstoken
  • "); $this->app->Tpl->Add(TABS,"
  • Backup Server
  • "); $this->app->Tpl->Add(TABS,"
  • Netzwerkstruktur
  • "); $this->app->Tpl->Add(TABS,"
  • Übersicht
  • "); */ $this->app->Tpl->Parse('TAB1',"geraete.tpl"); $this->app->Tpl->Set('TABTEXT',"Geräteverwaltung"); $this->app->Tpl->Parse('PAGE',"tabview.tpl"); } function GeraeteMenu() { $id = $this->app->Secure->GetGET("id"); $this->app->Tpl->Add('TABS',"Geraete "); $this->app->Tpl->Add('TABS',"Stückliste "); $this->app->Tpl->Add('TABS',"Verkauf "); $this->app->Tpl->Add('TABS',"Einkauf "); $this->app->Tpl->Add('TABS',"Projekte "); $this->app->Tpl->Add('TABS',"Lager "); $this->app->Tpl->Add('TABS',"Dateien "); $this->app->Tpl->Add('TABS',"Provisionen "); $this->app->Tpl->Add('TABS',"Etiketten "); //$this->app->Tpl->Add(TABS,"Gesamtkalkulation "); $this->app->Tpl->Add('TABS',"Zurück zur Übersicht "); } function GeraeteEdit() { $this->GeraeteMenu(); $this->app->Tpl->Set('TABLE_ADRESSE_KONTAKTHISTORIE',"TDB"); $this->app->Tpl->Set('TABLE_ADRESSE_ROLLEN',"TDB"); $this->app->Tpl->Set('TABLE_ADRESSE_USTID',"TDB"); } } ?>