Ignore:
Timestamp:
Apr 1, 2013, 10:17:42 AM (12 years ago)
Author:
chronos
Message:
  • Upraveno: Aktuality přepracovány na aplikační modul.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Portal/Portal.php

    r501 r506  
    55class PagePortal extends Page
    66{
    7   var $Dependencies = array('News');
    87  var $FullTitle = 'Zděchovský rozcestník';
    98  var $ShortTitle = '';
     
    141140      if($_GET['Action'] == 'CustomizeNewsSave')
    142141      {
    143         $Output .= $this->System->Modules['News']->CustomizeSave();
     142        $Output .= $this->System->ModuleManager->Modules['News']->CustomizeSave();
    144143      } else
    145144      if($_GET['Action'] == 'LoginForm')
     
    334333        } else
    335334        if($Panel['Module'] == 'Webcam') $Output .= $this->Panel('Kamery', $this->WebcamPanel());
    336         else if($Panel['Module'] == 'NewsGroupList') $Output .= $this->Panel('Aktuality', $this->System->Modules['News']->Show(), array('<a href="?Action=CustomizeNews">Upravit</a>'));
     335        else if($Panel['Module'] == 'NewsGroupList')
     336          $Output .= $this->Panel('Aktuality', $this->System->ModuleManager->Modules['News']->Show(), array('<a href="?Action=CustomizeNews">Upravit</a>'));
    337337      }
    338338      $Output .= '</td>';
     
    353353    $this->License = 'GNU/GPLv3';
    354354    $this->Description = 'Community portal.';
    355     $this->Dependencies = array();
     355    $this->Dependencies = array('News');
    356356  } 
    357357
Note: See TracChangeset for help on using the changeset viewer.