• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • File List

system/admin/footer.php

00001 <?php namespace Habari; ?>
00002 <?php if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); } ?>
00003   <div id="footer" class="columns sixteen">
00004     <p>
00005       <span><a href="http://habariproject.org/" title="<?php _e('Go to the Habari site'); ?>">Habari
00006     <?php
00007     echo Version::get_habariversion();
00008     ?> </a></span>
00009      <span class="middot">&middot;</span>
00010      <span><?php _e('Logged in as'); ?></span>
00011      <?php if ( User::identify()->can( 'manage_users' ) || User::identify()->can( 'manage_self' ) ) { ?>
00012          <a href="<?php Site::out_url( 'admin' ); ?>/user" title="<?php _e('Go to your user page'); ?>"><?php echo User::identify()->displayname ?></a>
00013     <?php } else { ?>
00014          <span><?php echo User::identify()->displayname ?></span>
00015     <?php } ?>
00016      <span class="middot">&middot;</span>
00017      <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>
00018     <?php
00019       if ( User::identify()->can('super_user') ) {
00020         ?>
00021           <span class="middot">&middot;</span>
00022           <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>
00023         <?php
00024       }
00025     ?>
00026   
00027     </p>
00028   </div>
00029 <?php
00030   Plugins::act( 'admin_footer', $this );
00031   Stack::out( 'admin_footer_javascript', Method::create('\\Habari\\Stack', 'scripts') );
00032   include ('db_profiling.php');
00033 ?>
00034 
00035 </div>
00036 
00037 <?php if ( Session::has_messages() ): ?>
00038   <script type="text/javascript">
00039   jQuery(document).ready(function() {
00040     <?php Session::messages_out( true, Method::create( '\\Habari\\Format', 'humane_messages' ) ); ?>
00041   })
00042   </script>
00043 <?php endif; ?>
00044 
00045 </body>
00046 </html>

Generated on Sun Aug 4 2013 12:51:42 for Habari by  doxygen 1.7.1