File: welcome.php

package info (click to toggle)
phpldapadmin 1.2.0.5-2%2Bsqueeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 6,248 kB
  • ctags: 3,066
  • sloc: php: 16,758; xml: 1,494; sh: 322; makefile: 50
file content (29 lines) | stat: -rw-r--r-- 737 bytes parent folder | download
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
<?php
/**
 * Show a simple welcome page.
 *
 * @package phpLDAPadmin
 * @subpackage Page
 */

/**
 */

require './common.php';

echo '<center>';
echo '<br /><br />';
printf('<img src="%s/logo.png" title="%s" alt="%s" />',IMGDIR,_('phpLDAPadmin logo'),_('phpLDAPadmin logo'));
echo '<br /><br />';
echo _('Use the menu to the left to navigate');
echo '<br /><br />';

if ($_SESSION[APPCONFIG]->isCommandAvailable('cmd','oslinks')) {
	printf('<a href="%s" target="_blank">%s</a>',get_href('credits'),_('Credits'));
	printf(' | <a href="%s" target="_blank">%s</a>',get_href('documentation'),_('Documentation'));
	printf(' | <a href="%s" target="_blank">%s</a>',get_href('donate'),_('Donate'));
	echo '<br /><br />';
}

echo '</center>';
?>