~ubuntu-branches/ubuntu/trusty/ldap-account-manager/trusty

« back to all changes in this revision

Viewing changes to templates/main_header.php

  • Committer: Package Import Robot
  • Author(s): Roland Gruber
  • Date: 2012-03-25 11:00:20 UTC
  • mfrom: (1.1.22) (4.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20120325110020-bggr97wusvitsvqg
Tags: 3.7-1
* new upstream release
* Fix "[INTL:nl] Dutch translation of debconf templates" (Closes: #658463)
* Fix "[INTL:da] Danish translation of the debconf templates ldap-
  account-manager" (Closes: #661950)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
/*
3
 
$Id: main_header.php,v 1.63 2011/10/31 18:43:32 gruberroland Exp $
 
3
$Id: main_header.php,v 1.64 2011/12/14 16:12:43 gruberroland Exp $
4
4
 
5
5
  This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
6
6
  Copyright (C) 2003 - 2011  Roland Gruber
38
38
/** tool definitions */
39
39
include_once($headerPrefix . "../lib/tools.inc");
40
40
 
 
41
$pro = '';
 
42
if (isLAMProVersion()) {
 
43
        $pro = ' Pro';
 
44
}
 
45
 
41
46
// HTML header and title
42
47
echo $_SESSION['header'];
43
48
echo "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"" . $headerPrefix . "../graphics/favicon.ico\">\n";
44
 
echo "<title>LDAP Account Manager</title>\n";
 
49
echo "<title>LDAP Account Manager" . $pro . " (" . str_replace(array('ldap://', 'ldaps://'), array('', ''), $_SESSION['config']->get_ServerURL()) . ")</title>\n";
45
50
 
46
51
// include all CSS files
47
52
$cssDirName = dirname(__FILE__) . '/../style';
99
104
                        <a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">
100
105
                                &nbsp;<img src="<?php echo $headerPrefix; ?>../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager
101
106
                                <?php
102
 
                                if (isLAMProVersion()) {
103
 
                                        echo " Pro";
104
 
                                }
105
 
                                echo " - " . LAMVersion();
 
107
                                echo $pro . " - " . LAMVersion();
106
108
                                ?>
107
109
                        </a>
108
110
                        <?php