Changeset 7


Ignore:
Timestamp:
Aug 5, 2018, 8:53:08 PM (6 years ago)
Author:
chronos
Message:
  • Added: Main page footer.
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.sample.php

    r5 r7  
    99$Config['Encoding'] = 'utf-8';
    1010$Config['BaseURL'] = '';
     11$Config['Contact'] = 'email@localhost';
    1112$Config['ItemsPerPage'] = 30;
    1213$Config['VisiblePagingItems'] = 5;
  • trunk/index.php

    r6 r7  
    315315  function ShowPage($Content)
    316316  {
     317    global $Config;
     318
    317319    $Output = '<?xml version="1.0" encoding="'.$this->Config['Encoding'].'"?>'."\n".
    318320      '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'.
     
    327329      '</head><body>';
    328330    $Output .= $Content;
     331    $Output .= '<div class="footer">Kontakt: <a href="mailto:'.$Config['Contact'].'">'.$Config['Contact'].'</a> '.
     332       '<a href="https://svn.zdechov.net/trac/tanec/">Zdrojový kód</a></div>';
    329333    $Output .= '</body></html>';
    330334    return($Output);
  • trunk/style.css

    r4 r7  
    99  text-align: center;
    1010  margin-left: auto;
    11   margin-right: auto; 
     11  margin-right: auto;
    1212}
    1313
     
    6363  color: black;
    6464}
     65.footer
     66{
     67  text-align: center;
     68}
Note: See TracChangeset for help on using the changeset viewer.