source: branches/mvc/Base/Output.php

Last change on this file was 47, checked in by chronos, 10 years ago
  • Odstraněno: Zbytečná PHP ukončovací značka "?>" z konce všech souborů.
File size: 713 bytes
Line 
1<?php
2
3include_once(dirname(__FILE__).'/Module.php');
4
5class Output extends Module
6{
7 function SystemMessage($Text)
8 {
9 return('<div style="padding: 5px; border-color: red; border-style: solid; border-width: 1px;"><strong>Systémová zpráva:</strong> '.$Text.'</div>');
10 }
11
12 function Show($Text)
13 {
14 echo('<?xml version="1.0" encoding="UTF-8"?>'.
15 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'.
16 '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs">'.
17 '<head>'.
18 //'<title></title>'.
19 '<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/>'.
20 $Text.'</body></html>');
21 }
22}
Note: See TracBrowser for help on using the repository browser.