/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/views/header.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-31 06:15:46 UTC
  • mfrom: (90.1.20 lenasys2)
  • Revision ID: gustav.hartvigsson@gmail.com-20130531061546-vj8z28sq375kvghq
Merged Jonsson:s changes:
Fixed the layout on cms index so the arrows and dots marks expanded objects.
Fixed so the course content is sorted by course occasion and not by name

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- header.php -->
 
2
<div id="header">
 
3
        <span class="title">Läran om Gson - D1POPCRN (7.5hp)</span>
 
4
        <a href="#" class="logo" title="Back to startpage">haha poo xD!</a>
 
5
 
 
6
<?php
 
7
        //$userName
 
8
        //$userType
 
9
        if($userName==''){
 
10
        
 
11
        echo '<span class="userConfig" id="loginLink" >
 
12
        <p class="userLink" title="Click to login">1</p>
 
13
        <span class="userInformation">Login</span>
 
14
        </span>';
 
15
        }
 
16
        else if($userName!=''){
 
17
        
 
18
        echo '<span class="userConfig" id="popoutLink">
 
19
        <p class="userLink" title="Configuration">1</p> 
 
20
        <span class="userInformation">'.$userName.'</span>
 
21
        </span>';
 
22
        }
 
23
?>
 
24
</div>
 
25
 
 
26
<div class="invisHeader">
 
27
        <div id="popoutMenu">
 
28
                <ul><!--[if IE]>Using IE! You piece of shit!<![endif]-->
 
29
                        <a href="#"><li>Settings</li></a>
 
30
                        <a href="javascript:expandCourses();"><li class="expander">Courses</li></a>
 
31
                        <ul id="expandedCourses"> 
 
32
                                <li class="expanded">JavaScript - DA113G</li>
 
33
                                <li class="expanded">AJAX API - DA235H</li>
 
34
                                <li class="expanded">SQL Database - CP666A</li>
 
35
                        </ul>
 
36
                        <a href="#"><li>Add User</li></a>
 
37
                        <li name="changePwd" title="Click to change password">Change Password</li>
 
38
                        <a href="<?php echo base_url(); ?>logout"><li>Logout</li></a>
 
39
                </ul>
 
40
        </div>
 
41
</div>  
 
 
b'\\ No newline at end of file'