Changeset 226 for Dev/branches/Demo/classes/Logo.php
- Timestamp:
- 01/10/12 16:11:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/Demo/classes/Logo.php
r168 r226 1 1 <?php 2 3 2 /* 4 3 * To change this template, choose Tools | Templates … … 12 11 */ 13 12 class Logo { 14 13 15 14 // hardcoded logo div, image is defined in stylesheet. (#logo background:"";) 16 15 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 23 28 } 24 25 29 26 30 } 27 28 31 ?>
Note: See TracChangeset
for help on using the changeset viewer.