bzr branch
http://gegoxaren.bato24.eu/bzr/lenasys/trunk
52.1.1
by b11johgu
Added controllers for examplepage, templatelayout. |
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 |
||
64.1.1
by b11johgu
ExamplesController: |
11 |
echo '<span class="userConfig" id="loginLink" > |
52.1.1
by b11johgu
Added controllers for examplepage, templatelayout. |
12 |
<p class="userLink" title="Click to login">1</p>
|
13 |
<span class="userInformation">Login</span>
|
|
14 |
</span>'; |
|
15 |
}
|
|
16 |
else if($userName!=''){ |
|
17 |
||
64.1.1
by b11johgu
ExamplesController: |
18 |
echo '<span class="userConfig" id="popoutLink"> |
19 |
<p class="userLink" title="Configuration">1</p>
|
|
52.1.1
by b11johgu
Added controllers for examplepage, templatelayout. |
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> |
|
83.1.1
by Erik Wikström
Moved login- and password change-views to to an own popups.php-view |
41 |
</div> |