|
Revision 45, 450 bytes
(checked in by sven, 3 years ago)
|
dos2unix to clean line endings, set svn property eol-style native, some whitespace homogenisation
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
// Run includes |
|---|
| 6 |
require("../includes.php"); |
|---|
| 7 |
|
|---|
| 8 |
protect(1); |
|---|
| 9 |
|
|---|
| 10 |
run("profile:init"); |
|---|
| 11 |
run("templates:init"); |
|---|
| 12 |
|
|---|
| 13 |
$title = gettext("Template Preview"); |
|---|
| 14 |
define("context", "account"); |
|---|
| 15 |
$body = run("templates:preview"); |
|---|
| 16 |
|
|---|
| 17 |
global $messages; |
|---|
| 18 |
$messages[] = "System message 1"; |
|---|
| 19 |
$messages[] = "System message 2"; |
|---|
| 20 |
|
|---|
| 21 |
echo run("templates:draw:page", array( |
|---|
| 22 |
$title, $body |
|---|
| 23 |
) |
|---|
| 24 |
); |
|---|
| 25 |
|
|---|
| 26 |
?> |
|---|