Changeset 72 for trunk/www/Application/View/News.php
- Timestamp:
- Aug 23, 2009, 6:37:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/View/News.php
r69 r72 16 16 if($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR) 17 17 { 18 $Form = new Form($this-> ItemFormClass);18 $Form = new Form($this->System, $this->ItemFormClass); 19 19 $Form->LoadValuesFromForm(); 20 20 $Form->Values['Time'] = 'NOW()'; … … 30 30 if($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR) 31 31 { 32 $Form = new Form($this-> ItemFormClass);33 $Form->OnSubmit = '? Action=NewsAdd2';32 $Form = new Form($this->System, $this->ItemFormClass); 33 $Form->OnSubmit = '?Module=News&Action=AddFinish'; 34 34 $Output = $Form->ShowEditForm(); 35 35 } else $Output = USER_BAD_ROLE;
Note:
See TracChangeset
for help on using the changeset viewer.