Add analytics
[bus.git] / busui / owa / modules / base / templates / header.tpl
maxious 1 <div id="owa_header">
2
3 <span class="owa_logo"><img src="<?php echo $this->makeImageLink('base/i/owa-logo-100w.png'); ?>" alt="Open Web Analytics"></span>
4 &nbsp
5 <span class="owa_navigation">
6 <UL>
7 <LI><a href="<?php echo $this->makeLink(array('do' => 'base.reportDashboard'), true);?>">Reports</a></LI>
8 <LI><a href="<?php echo $this->makeLink(array('do' => 'base.optionsGeneral'));?>">Administration</a></LI>
9 <LI><a href="http://wiki.openwebanalytics.com">Help</a></LI>
10 <LI><a href="http://trac.openwebanalytics.com">Report a Bug</a></LI>
11
12 </UL>
13 </span>
14 <?php $cu = $this->getCurrentUser(); ?>
15 <span class="user-greating" style="">
16 Hi, <?php $this->out( $cu->getUserData('user_id') );?> ! &bull;
17 <?php if ( ! owa_coreAPI::getSetting( 'base', 'is_embedded' ) ):?>
18
19 <?php if (owa_coreAPI::isCurrentUserAuthenticated()):?>
20 <a class="login" href="<?php echo $this->makeLink(array('do' => 'base.logout'), false);?>">Logout</a>
21 <?php else:?>
22 <a class="login" href="<?php echo $this->makeLink(array('do' => 'base.loginForm'), false);?>">Login</a>
23 <?php endif;?>
24
25 <?php endif;?>
26 </span>
27 <div class="post-nav"></div>
28 <?php if (!empty($service_msg)): ?>
29 <div class="owa_headerServiceMsg"><?php echo $service_msg; ?></div>
30 <?php endif;?>
31
32 <?php $this->headerActions(); ?>
33
34 </div>