Changeset 583


Ignore:
Timestamp:
Oct 19, 2013, 2:17:09 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Zobrazení výchozí stránky pro nenalezené přesunuta ze samostatného souboru k třídě System.
Location:
trunk
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/System.php

    r582 r583  
    7171      $Page = new $ClassName($this);
    7272      $Page->GetOutput();
    73     } else echo($this->PageNotFound());
     73    } else {
     74      $Page = new PageMissing($this);
     75      $Page->GetOutput();
     76    }
    7477  }
    7578 
     
    149152  }
    150153}
     154
     155class PageMissing extends Page
     156{
     157  var $FullTitle = 'Stránka nenalezena';
     158  var $ShortTitle = 'Stránka nenalezena';
     159 
     160  function __construct($System)
     161  {
     162    parent::__construct($System);
     163    $this->ParentClass = 'PagePortal';
     164  }
     165
     166  function Show()
     167  {
     168    return('<h3 align="center">Požadovavá stránka neexistuje.</h3>');
     169  }
     170}
  • trunk/Common/Version.php

    r581 r583  
    11<?php
    22
    3 $Revision = 581; // Subversion revision
     3$Revision = 582; // Subversion revision
    44$DatabaseRevision = 574; // SQL structure revision
    5 $ReleaseTime = '2013-10-14';
     5$ReleaseTime = '2013-10-19';
Note: See TracChangeset for help on using the changeset viewer.