Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 46 lines (41 sloc) 1.642 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
<?php if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); } ?>
<div id="footer">
<p>
<span><a href="http://habariproject.org/" title="<?php _e('Go to the Habari site'); ?>">Habari
<?php
echo Version::get_habariversion();
?> </a></span>
<span class="middot">&middot;</span>
<span><?php _e('Logged in as'); ?></span>
<?php if ( User::identify()->can( 'manage_users' ) || User::identify()->can( 'manage_self' ) ) { ?>
<a href="<?php Site::out_url( 'admin' ); ?>/user" title="<?php _e('Go to your user page'); ?>"><?php echo User::identify()->displayname ?></a>
<?php } else { ?>
<span><?php echo User::identify()->displayname ?></span>
<?php } ?>
<span class="middot">&middot;</span>
<span><a href="<?php Site::out_url( 'habari' ); ?>/doc/manual/index.html" onclick="popUp(this.href); return false;" title="<?php _e('Open the Habari manual in a new window'); ?>"><?php _e('Manual'); ?></a></span>
<?php
if ( User::identify()->can('super_user') ) {
?>
<span class="middot">&middot;</span>
<span><a href="<?php Site::out_url( 'admin' ); ?>/sysinfo" title="<?php _e('Display information about the server and Habari'); ?>"> <?php _e( 'System Information'); ?></a></span>
<?php
}
?>

</p>
</div>

<?php
Plugins::act( 'admin_footer', $this );
Stack::out( 'admin_footer_javascript', array('Stack', 'scripts') );
include ('db_profiling.php');
?>

</div>

<?php if ( Session::has_messages() ): ?>
<script type="text/javascript">
jQuery(document).ready(function() {
<?php Session::messages_out( true, array( 'Format', 'humane_messages' ) ); ?>
})
</script>
<?php endif; ?>

</body>
</html>
Something went wrong with that request. Please try again.