phpldapadmin/header.php

40 lines
1.4 KiB
PHP
Raw Normal View History

2009-06-30 09:22:30 +00:00
<?php
2009-06-30 09:24:29 +00:00
// $Header: /cvsroot/phpldapadmin/phpldapadmin/header.php,v 1.15 2005/02/25 13:44:06 wurley Exp $
2009-06-30 09:22:30 +00:00
2009-06-30 09:24:29 +00:00
/**
* @package phpLDAPadmin
*/
2009-06-30 08:05:37 +00:00
2009-06-30 09:24:29 +00:00
// We want to get $language into scope in case we were included
// from within a function
global $language;
// text/xml won't work with MSIE, but is very useful for debugging xhtml code.
//@header( "Content-type: text/xml; charset=\"UTF-8\"" );
@header( "Content-type: text/html; charset=\"UTF-8\"" );
// XML version and encoding for well-behaved browsers
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
2009-06-30 08:09:20 +00:00
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $language; ?>" lang="<?php echo $language; ?>" dir="ltr">
2009-06-30 08:05:37 +00:00
<head>
2009-06-30 08:07:14 +00:00
<title>phpLDAPadmin</title>
2009-06-30 09:22:30 +00:00
<link rel="stylesheet" href="style.css" media="screen" />
2009-06-30 09:24:29 +00:00
<?php if( isset( $server_id ) ) {
2009-06-30 09:22:30 +00:00
$custom_file = get_custom_file( $server_id, 'style.css' );
2009-06-30 09:24:29 +00:00
if( strcmp( $custom_file, 'style.css' ) != 0 ) { ?>
2009-06-30 09:22:30 +00:00
<link rel="stylesheet" href="<?php echo $custom_file ?>" media="screen" />
2009-06-30 09:24:29 +00:00
<?php }
} ?>
2009-06-30 09:22:30 +00:00
<script src="entry_chooser.js" type="text/javascript"></script>
<script src="ie_png_work_around.js" type="text/javascript"></script>
<script src="search_util.js" type="text/javascript"></script>
<script src="generic_utils.js" type="text/javascript"></script>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
2009-06-30 08:05:37 +00:00
</head>