/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: b11johgu
  • Date: 2013-05-14 12:30:38 UTC
  • mto: This revision was merged to the branch mainline in revision 65.
  • Revision ID: b11johgu@student.his.se-20130514123038-rthxj3f34o32gpxy
ExamplesController:
- Added expand/collapse arrows for categories/subcategories.
- Added category positioning (incomplete).

more general changes made.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<div id="header">
4
4
        <span class="title">Läran om Gson - D1POPCRN (7.5hp)</span>
5
5
        <a href="#" class="logo" title="Back to startpage">haha poo xD!</a>
6
 
        <span class="outerBorder"></span>
7
6
 
8
7
<?php
9
8
        //$userName
10
9
        //$userType
11
10
        if($userName==''){
12
11
        
13
 
        echo '<span class="userConfig notLoggedIn" id="loginLink" >
 
12
        echo '<span class="userConfig" id="loginLink" >
14
13
        <p class="userLink" title="Click to login">1</p>
15
14
        <span class="userInformation">Login</span>
16
15
        </span>';
17
16
        }
18
17
        else if($userName!=''){
19
18
        
20
 
        echo '<span class="userConfig loggedIn" id="popoutLink">
21
 
        <p class="userLink" title="Configuration">#</p> 
 
19
        echo '<span class="userConfig" id="popoutLink">
 
20
        <p class="userLink" title="Configuration">1</p> 
22
21
        <span class="userInformation">'.$userName.'</span>
23
22
        </span>';
24
23
        }
71
70
                <div class="inputarea">
72
71
                        <input class="text" type="text" size="20" id="username" name="username" placeholder="username"/><br>
73
72
                        <input class="text" type="password" size="20" id="password" name="password" placeholder="password"/><br>
 
73
                
 
74
                
 
75
 
74
76
                </div>
75
77
                <div>
76
 
                        <input class="hint" type="button"/>
77
 
                        <input class="submit" type="submit" value="Login"/>
 
78
                        <input class="hint btn" type="button" onclick="passwordHint('<?php echo base_url(); ?>');"/>
 
79
                        <input class="submit btn" type="submit" value="Login"/>
 
80
                        <div id='hinttext'></div>
78
81
                </div>
79
82
                </form>
80
83
        </div>