-
Notifications
You must be signed in to change notification settings - Fork 62
/
install.php
54 lines (48 loc) · 1.38 KB
/
install.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* install.php
*
* Navigation links to the Install tab
*
* Licensed under the GNU GPL. For full terms see the file LICENSE.
*
* @package OpenClinic
* @copyright 2002-2008 jact
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @version CVS: $Id: install.php,v 1.3 2013/01/13 16:28:10 jact Exp $
* @author jact <[email protected]>
* @since 0.8
*/
require_once(dirname(__FILE__) . "/../lib/exe_protect.php");
executionProtection(__FILE__);
require_once("../layout/component.php");
$linkList = array(
"index" => array(_("OpenClinic Install"), '../install/index.php'),
"create" => array(_("Database Creation"), '../install/install.php'),
"upgrade" => array(_("Upgrade Database"), '../install/upgrade.php'),
"wizard" => array(_("Install Wizard"), '../install/wizard.php'),
"instruction" => array(_("Install Instructions"), '../install.html')
);
$array = null;
if ( !isset($nav) )
{
$nav = "";
}
foreach ($linkList as $key => $value)
{
$array[] = HTML::link($value[0], $value[1], null, $nav == $key ? array('class' => 'selected') : null);
}
unset($linkList);
/*$array[] = HTML::link(_("Help"), '../doc/index.php',
array(
'tab' => $tab,
'nav' => $nav
),
array(
'title' => _("Opens a new window"),
'class' => 'popup'
)
);*/
echo navigation($array);
unset($array);
?>