Ignore:
Timestamp:
Aug 23, 2009, 6:37:45 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Doplněny další Controllery.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/Application/View/News.php

    r69 r72  
    1616    if($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR)
    1717    {
    18       $Form = new Form($this->ItemFormClass);
     18      $Form = new Form($this->System, $this->ItemFormClass);
    1919      $Form->LoadValuesFromForm();
    2020      $Form->Values['Time'] = 'NOW()';
     
    3030    if($this->System->Modules['User']->User['Role'] >= USER_ROLE_ADMINISTRATOR)
    3131    {
    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';
    3434      $Output = $Form->ShowEditForm();
    3535    } else $Output = USER_BAD_ROLE;
Note: See TracChangeset for help on using the changeset viewer.