Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | include_once(dirname(__FILE__).'/Module.php');
|
---|
4 |
|
---|
5 | class 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 | }
|
---|
23 |
|
---|
24 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.