Changeset 16


Ignore:
Timestamp:
Jun 19, 2012, 12:22:12 PM (12 years ago)
Author:
maron
Message:

ohlášení

Location:
trunk/class
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/class/Form.php

    r13 r16  
    1212  protected $title = '';
    1313
    14   function __construct($inputs,$title,$action = '',$method = 'post')
     14  function __construct($inputs,$title,$action = '?',$method = 'post')
    1515  {
    1616        $this->action = $action;
  • trunk/class/Message.php

    r14 r16  
    4040                $arraytest = $_POST;
    4141        } else $arraytest = $_GET;
     42 
    4243          if (array_key_exists($this->key,$arraytest))  {
    4344                  if ($this->par0 == -1) return call_user_func(array($this->obj,$this->method_name));
  • trunk/class/Messages.php

    r14 r16  
    3535          $Login = new Message('post','LoginUser',$User,'Login','LoginUser','LoginPass');
    3636          $Login->Activate();
     37         
    3738          $Regin = new Message('post','RegUser',$User,'Register','Email','RegUser','RegPass','RegPass2');
    3839          echo ($Regin->Activate());
     40         
     41          $Logout = new Message('get','logout',$User,'Logout');
     42          $Logout->Activate();
    3943  }
    4044
Note: See TracChangeset for help on using the changeset viewer.