-
Notifications
You must be signed in to change notification settings - Fork 0
/
manual.php
31 lines (23 loc) · 863 Bytes
/
manual.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
$config_atkroot = "./";
include_once("atk.inc");
atksession();
atksecure();
require "theme.inc";
$page = &atkinstance("atk.ui.atkpage");
$ui = &atkinstance("atk.ui.atkui");
$theme = &atkTheme::getInstance();
$output = &atkOutput::getInstance();
$page->register_style($theme->stylePath("style.css"));
$tmp_output = '
<br>
<br>You can find a manual on the wiki <a href="http://www.achievo.org/wiki/Achievo/Manual">http://www.achievo.org/wiki/Achievo/Manual</a>,
or see the wiki on GitHub <a href="https://github.com/atkphpframework/achievo/wiki/Achievo-guided-tour">https://github.com/atkphpframework/achievo/wiki/Achievo-guided-tour</a>
<br>
';
$box = $ui->renderBox(array("title" => atkText("app_title"),
"content" => $tmp_output));
$page->addContent($box);
$output->output($page->render(atkText('app_title'), true));
$output->outputFlush();
?>