Changeset 426 for trunk/forms.php


Ignore:
Timestamp:
Oct 10, 2012, 8:28:07 PM (12 years ago)
Author:
chronos
Message:
  • Přidáno: Tlačítko zrušit u formulářů.
  • Opraveno: Chyba načítání informací o uživateli pokud neměl vazbu na Member/Customer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forms.php

    r302 r426  
    2020  {
    2121    if(!array_key_exists('SubmitText', $this->Definition)) $this->Definition['SubmitText'] = 'Uložit';
    22     $Output = '<form class="Form" action="'.$this->OnSubmit.'" method="post">'.$this->ShowEditBlock().'<div><input type="submit" value="'.$this->Definition['SubmitText'].'" /></div></form>';
     22    $Output = '<form class="Form" action="'.$this->OnSubmit.'" method="post">'.$this->ShowEditBlock().
     23      '<div><input type="submit" value="'.$this->Definition['SubmitText'].'" /> '.
     24      '<input type="button" value="Zrušit" onclick="location.href=\'?\'"/></div></form>';
    2325    return($Output);
    2426  }
Note: See TracChangeset for help on using the changeset viewer.