Ignore:
Timestamp:
Aug 20, 2013, 11:37:30 PM (11 years ago)
Author:
chronos
Message:
  • Modified: Event log transformed to application module Log.
  • Added: Class Page can now show pages without header and footer using property RawPage set to true.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Page.php

    r563 r566  
    236236  var $System;
    237237  var $Database;
     238  var $RawPage;
    238239 
    239240  function __construct($System)
    240241  {
    241242    $this->System = &$System;
    242     $this->Database = &$System->Database;   
     243    $this->Database = &$System->Database;
     244    $this->RawPage = false;   
    243245  }
    244246       
     
    251253  {
    252254        $Output = $this->Show();
    253         $Output = ShowPage($Output);     
     255        if($this->RawPage == false)     $Output = ShowPage($Output);
     256          else echo($Output);
    254257        return($Output);
    255258  }
Note: See TracChangeset for help on using the changeset viewer.