Beispiel #1
0
 function __construct()
 {
     $this->customize();
     if (get_class($this) != "CCAuftrag") {
         parent::__construct();
         return;
     }
     /*if(!isset($_POST["benutzer"])){
     			$_POST["benutzer"] = "Max";
     			$_POST["password"] = sha1("Max");
     			$_POST["belegart"] = "R";
     			$_POST["lead_id"] = "Vicidial-001";
     			$_POST["firma"] = "Furtmeier Hard- und Software";
     			$_POST["strasse"] = "Neuteile";
     			$_POST["nr"] = "8";
     			$_POST["plz"] = "86682";
     			$_POST["ort"] = "Genderkingen";
     		}*/
     $this->loggedIn = true;
     if (Session::currentUser() == null and !Users::login($_POST["benutzer"], $_POST["password"], "open3A")) {
         $this->loggedIn = false;
     }
     $this->showZahlungsart = true;
     $this->showButtonEditAddress = true;
     $this->showButtonCheckWithGoogle = true;
 }
Beispiel #2
0
 function __construct()
 {
     parent::__construct();
     $this->loadPlugin("ubiquitous", "Kalender");
     $this->loadPlugin("ubiquitous", "Todo");
     addClassPath(dirname(__FILE__));
     $this->loggedIn = Session::currentUser() != null;
 }
Beispiel #3
0
 function __construct()
 {
     parent::__construct();
     #$this->loadPlugin("open3A", "Adressen");
 }