Changeset 583


Ignore:
Timestamp:
Sep 13, 2013, 8:12:58 PM (11 years ago)
Author:
chronos
Message:
  • Modified: If page is not found then show empty page with error message with global content as menus.
Location:
trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Version.php

    r582 r583  
    11<?php
    22
    3 $Revision = 582; // Subversion revision
     3$Revision = 583; // Subversion revision
    44$DatabaseRevision = 574; // Database structure revision
    55$ReleaseTime = '2013-09-12';
  • trunk/includes/system.php

    r581 r583  
    203203  function PageNotFound()
    204204  {
    205     return('Page '.implode('/', $this->PathItems).' not found.');
     205    return(ShowMessage('Stránka "'.implode('/', $this->PathItems).'" nenalezena.', MESSAGE_CRITICAL));
    206206  }
    207207 
     
    216216      if($Page->RawPage == false) $Output = $this->BaseView->ShowPage($Output);
    217217      echo($Output);
    218     } else echo($this->PageNotFound());
     218    } else echo($this->BaseView->ShowPage($this->PageNotFound()));
    219219  }
    220220}
Note: See TracChangeset for help on using the changeset viewer.