Ignore:
Timestamp:
01/10/12 16:11:51 (13 years ago)
Author:
fpvanagthoven
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/Demo/classes/Logo.php

    r168 r226  
    11<?php
    2 
    32/*
    43 * To change this template, choose Tools | Templates
     
    1211 */
    1312class Logo {
    14    
     13
    1514    // hardcoded logo div, image is defined in stylesheet. (#logo background:"";)
    1615    public function __construct() {
    17         echo '<div id="logo"><a href="index.php">Research Tool</a>';
    18         if (isset($_SESSION['username'])) {
    19             echo '<a href="index.php" onClick="savePipeline(true);" style="display:block; font-size: 12px;">Log out</a>';
    20         }
    21         echo '</div>';
    22    
     16        ?>
     17
     18        <div id="logo">
     19            <div id="logoImage">
     20                Research Tool
     21            </div>
     22            <div id="logoControls">
     23                Welcome, Igor! <a href="logout.php">Log out</a>
     24            </div>
     25        </div>
     26
     27        <?php
    2328    }
    24    
    25    
     29
    2630}
    27 
    2831?>
Note: See TracChangeset for help on using the changeset viewer.