-bug CC-1823 should be fixed.
This commit is contained in:
parent
7c70385528
commit
0ba5a1f520
14 changed files with 67 additions and 38 deletions
19
application/views/helpers/LoggedInAs.php
Normal file
19
application/views/helpers/LoggedInAs.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
class Airtime_View_Helper_LoggedInAs extends Zend_View_Helper_Abstract
|
||||
{
|
||||
public function loggedInAs ()
|
||||
{
|
||||
//$username = "test";
|
||||
/*
|
||||
$auth = Zend_Auth::getInstance();
|
||||
|
||||
if ($auth->hasIdentity()) {
|
||||
$username = $auth->getIdentity()->username;
|
||||
}
|
||||
*/
|
||||
return "test";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
|
@ -1,16 +1,11 @@
|
|||
<?php
|
||||
echo $this->errorMessage;
|
||||
?>
|
||||
<div id="login-page">
|
||||
<div class="login_box">
|
||||
<div class="logobox"> </div>
|
||||
<h2>Login</h2>
|
||||
|
||||
<div id="login" class="login-content clearfix">
|
||||
<p class="light">Please enter your user name and password</p>
|
||||
<p class="light"><?php echo $this->message; ?></p>
|
||||
<?php echo $this->form; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer"> Airtime 1.6.0 Copyright © Sourcefabric o.p.s 2011. All rights reserved.<br/>
|
||||
Maintained and distributed under GNU GPL v.2 by <a href="http://www.sourcefabric.org"> Sourcefabric o.p.s </a> </div>
|
||||
</div>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<div class="personal-block">
|
||||
<ul>
|
||||
<li>Signed in:</li>
|
||||
<li class="name">Vladimir Stefanovic</li>
|
||||
<li class="name"><?php echo $this->user ?></li>
|
||||
<li><a href="/Login/logout">Logout</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue