This repository was archived by the owner on Aug 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathwelcome.php
More file actions
45 lines (38 loc) · 1.33 KB
/
welcome.php
File metadata and controls
45 lines (38 loc) · 1.33 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* This file is part of the Achievo ATK distribution.
* Detailed copyright and licensing information can be found
* in the doc/COPYRIGHT and doc/LICENSE files which should be
* included in the distribution.
*
* This file is the skeleton main welcome file, which you can copy
* to your application dir and modify if necessary. By default, it
* displays a welcome message from the language file (app_description).
*
* @package atk
* @subpackage skel
*
* @author Ivo Jansch <ivo@achievo.org>
*
* @copyright (c)2000-2004 Ibuildings.nl BV
* @license http://www.achievo.org/atk/licensing ATK Open Source License
*
* @version $Revision: 5728 $
* $Id: welcome.php 5728 2007-06-30 10:05:05Z guido $
*/
/**
* @internal includes..
*/
$config_atkroot = "./";
include_once("atk.inc");
$page = &atknew("atk.ui.atkpage");
$ui = &atkinstance("atk.ui.atkui");
$theme = &atkTheme::getInstance();
$output = &atkOutput::getInstance();
$page->register_style($theme->stylePath("style.css"));
$box = $ui->renderBox(array("title"=>atktext("app_shorttitle"),
"content"=>"<br><br>".atktext("app_description")."<br><br>"));
$page->addContent($box);
$output->output($page->render(atktext('app_shorttitle'), true));
$output->outputFlush();
?>