Changeset 39
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config/Config.sample.php
r37 r39 9 9 $Config['Encoding'] = 'utf-8'; 10 10 $Config['BaseURL'] = ''; 11 $Config['Contact'] = 'email@localhost';12 11 $Config['ItemsPerPage'] = 30; 13 12 $Config['VisiblePagingItems'] = 5; -
trunk/View.php
r37 r39 85 85 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'. 86 86 '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">'. 87 '<head><link rel="stylesheet" href="'.$this->System->Link('/style/').$this->Style.'/style.css" type="text/css" media="all" />'. 88 '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->Encoding.'" />'. 87 '<head>'. 88 '<link rel="stylesheet" href="'.$this->System->Link('/style/').$this->Style.'/style.css" type="text/css" media="all" />'; 89 $Output .= '<link rel="alternate" title="Taneční seznamka" href="'. 90 $this->System->Link('/seznamka/rss/').'" type="application/rss+xml" />'; 91 $Output .= '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->Encoding.'" />'. 89 92 '<meta name="viewport" content="width=device-width, initial-scale=1">'. 90 93 '<script type="text/javascript" src="'.$this->System->Link('/style/').$this->Style.'/jquery.js"></script>'. … … 123 126 $Output .= '<div class="Footer">'. 124 127 '<i>'; 125 $Output .= ' Správa webu: '.$this->System->Config['Web']['Admin'].' ';126 128 $Output .= ' Kontakt: <a href="mailto:'.$this->System->Config['Web']['AdminEmail'].'">'.$this->System->Config['Web']['AdminEmail'].'</a> '; 127 129 $Output .= ' <a href="https://app.zdechov.net/tanec/">Zdrojový kód</a> '; -
trunk/index.php
r37 r39 71 71 } 72 72 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 95 73 function RegisterPage($Path, $Handler) 96 74 {
Note:
See TracChangeset
for help on using the changeset viewer.