Changeset 706
- Timestamp:
- Nov 8, 2014, 8:40:32 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Form.php
r687 r706 97 97 if(!array_key_exists('SubmitText', $this->Definition)) $this->Definition['SubmitText'] = 'Uložit'; 98 98 $Output = '<form enctype="multipart/form-data" class="Form" action="'.$this->OnSubmit.'" method="post">'.$this->ShowEditBlock(). 99 '<div><input type="submit" value="'.$this->Definition['SubmitText'].'" /> '.99 '<div><input name="submit" type="submit" value="'.$this->Definition['SubmitText'].'" /> '. 100 100 '<input type="button" value="Zrušit" onclick="location.href=\'?\'"/></div></form>'; 101 101 return($Output); -
trunk/Modules/IS/IS.php
r687 r706 158 158 $Output = ''; 159 159 if(defined('NEW_PERMISSION') and !$this->System->User->CheckPermission($this->TableToModule($Table), 'Write')) 160 return( 'Nemáte oprávnění');160 return($this->SystemMessage('Oprávnění', 'Nemáte oprávnění')); 161 161 if(array_key_exists('o', $_GET)) 162 162 { 163 163 if($_GET['o'] == 'save') 164 164 { 165 if(!array_key_exists('submit', $_POST)) 166 return($this->SystemMessage('Formulář', 'Formulář nebyl řádně odeslán. Vraťte se zpět a odešlete formulář znovu.')); 165 167 $Form = new Form($this->System->FormManager); 166 168 $Form->SetClass($Table);
Note:
See TracChangeset
for help on using the changeset viewer.