Rev | Line | |
---|
[142] | 1 | <?php |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | * To change this template, choose Tools | Templates |
---|
| 5 | * and open the template in the editor. |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | /** |
---|
| 9 | * Description of Logo |
---|
| 10 | * |
---|
| 11 | * @author tschipper |
---|
| 12 | */ |
---|
| 13 | class Logo { |
---|
| 14 | |
---|
| 15 | // hardcoded logo div, image is defined in stylesheet. (#logo background:"";) |
---|
| 16 | public function __construct() { |
---|
[151] | 17 | echo '<div id="logo"><a href="index.php">Research Tool</a>'; |
---|
| 18 | if (isset($_SESSION['username'])) { |
---|
| 19 | echo '<a href="logout.php" style="font-size: 12pt;">Log out</a>'; |
---|
| 20 | } |
---|
| 21 | echo '</div>'; |
---|
[142] | 22 | |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.