Changeset 39 for trunk/index.php


Ignore:
Timestamp:
May 5, 2019, 5:28:21 PM (5 years ago)
Author:
chronos
Message:
  • Removed: Old code for showing HTML page.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r37 r39  
    7171  }
    7272 
    73   function GetOutput($Content)
    74   {
    75     global $Config;
    76 
    77     $Output = '<?xml version="1.0" encoding="'.$this->Config['Encoding'].'"?>'."\n".
    78       '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'.
    79       '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">'.
    80       '<head>'.
    81       '<link rel="stylesheet" href="'.$this->Link('/style.css').'" type="text/css" media="all" />'.
    82       '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->Config['Encoding'].'" />'.
    83       '<script type="text/javascript" src="'.$this->Link('/jquery.js').'"></script>';
    84     $Output .= '<link rel="alternate" title="Taneční seznamka" href="'.
    85       $this->Link('/seznamka/rss/').'" type="application/rss+xml" />';
    86     $Output .= '<title>'.$this->Title.'</title>'.
    87       '</head><body>';
    88     $Output .= $Content;
    89     $Output .= '<div class="footer">Kontakt: <a href="mailto:'.$Config['Contact'].'">'.$Config['Contact'].'</a> '.
    90        '<a href="https://app.zdechov.net/tanec/">Zdrojový kód</a></div>';
    91     $Output .= '</body></html>';
    92     return($Output);
    93   } 
    94 
    9573  function RegisterPage($Path, $Handler)
    9674  {
Note: See TracChangeset for help on using the changeset viewer.