Changeset 348 for trunk


Ignore:
Timestamp:
Jan 17, 2012, 9:39:54 PM (13 years ago)
Author:
chronos
Message:
  • Upraveno: Modul zobrazující seznam kanálů IP televize přepracován na systémový modul.
Location:
trunk
Files:
2 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/.htaccess

    r346 r348  
    55
    66RewriteEngine On
    7 RewriteBase /
     7#RewriteBase /
    88
    99# Pretty urls on localhost with alias
     
    1111RewriteCond  %{REQUEST_FILENAME}  !-f
    1212RewriteCond  %{REQUEST_FILENAME}  !-d
    13 RewriteRule   ^(.*)$ centrala/index.php?$1
     13RewriteRule   ^(.*)$ index.php?page=$1
    1414
    1515# Pretty urls
  • trunk/Modules/Log/Log.php

    r347 r348  
    2424
    2525}
     26
     27?>
  • trunk/Modules/page.php

    r343 r348  
    66  var $FormatHTML = false;
    77  var $ShowRuntimeInfo = false;
     8  var $SimplePage = false;
    89  var $PathTree = array('Rozcestník',
    910    'index.php' => '',
     
    175176  {
    176177    $Output = $this->Show();
    177     $Output = $this->ShowHeader($this->FullTitle, $this->ShortTitle).$Output;
    178     $Output .= $this->ShowFooter();
     178    if(!$this->SimplePage)
     179    {
     180      $Output = $this->ShowHeader($this->FullTitle, $this->ShortTitle).$Output;
     181      $Output .= $this->ShowFooter();
     182    }
    179183    if($this->FormatHTML == true) echo($this->FormatOutput($Output));
    180184    else echo($Output);
  • trunk/index.php

    r346 r348  
    308308  $Page = $_GET['page'];
    309309  if(substr($Page, -1) == '/') $Page = substr($Page, 0, -1);
     310  //print_r($System->Pages);
    310311  if(array_key_exists($Page, $System->Pages))
    311312  {
Note: See TracChangeset for help on using the changeset viewer.