Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
header.php
Go to the documentation of this file.
1 <?php
6 $admin_title = elgg_get_site_entity()->name . ' ' . elgg_echo('admin');
7 
8 $options = array(
9  'sort_by' => 'priority'
10 );
11 
12 ?>
13 
14 <h1 class="elgg-heading-site">
15  <a href="<?php echo elgg_get_site_url(); ?>admin">
16  <?php echo $admin_title; ?>
17  </a>
18 </h1>
19 
20 <a class="elgg-admin-button-nav" rel="toggle" href="#elgg-admin-nav-collapse">
21  <span class="icon-bar"></span>
22  <span class="icon-bar"></span>
23  <span class="icon-bar"></span>
24 </a>
25 
26 <?php echo elgg_view_menu('admin_header', $options); ?>
elgg_get_site_entity($site_guid=0)
Get an entity (default is current site)
Definition: sites.php:18
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$options
Definition: header.php:8
ui autocomplete a
Definition: forms.css.php:258
$admin_title
Elgg admin header.
Definition: header.php:6
elgg_view_menu($menu, array $vars=array())
Render a menu.
Definition: views.php:745