// setup footer menu
elgg_register_menu_item('admin_footer', array(
'name' => 'faq',
- 'text' => elgg_echo('admin:faq'),
+ 'text' => elgg_echo('admin:footer:faq'),
'href' => 'http://docs.elgg.org/wiki/Category:Administration_FAQ',
));
+
+ elgg_register_menu_item('admin_footer', array(
+ 'name' => 'manual',
+ 'text' => elgg_echo('admin:footer:manual'),
+ 'href' => 'http://docs.elgg.org/wiki/Administration_Manual',
+ ));
+
+ elgg_register_menu_item('admin_footer', array(
+ 'name' => 'community_forums',
+ 'text' => elgg_echo('admin:footer:community_forums'),
+ 'href' => 'http://community.elgg.org/pg/groups/world/',
+ ));
+
+ elgg_register_menu_item('admin_footer', array(
+ 'name' => 'blog',
+ 'text' => elgg_echo('admin:footer:blog'),
+ 'href' => 'http://blog.elgg.org/',
+ ));
}
}
'admin:widget:admin_welcome' => 'Welcome',
'admin:widget:admin_welcome:help' => "A short introduction to Elgg's admin area",
+ 'admin:footer:faq' => 'Administration FAQ',
+ 'admin:footer:manual' => 'Administration Manual',
+ 'admin:footer:community_forums' => 'Elgg Community Forums',
+ 'admin:footer:blog' => 'Elgg Blog',
+
+
/**
* Plugins
*/
* Elgg admin footer. Extend this view to add content to the admin footer
*/
-echo elgg_view_menu('admin_footer');
-echo 'test';
\ No newline at end of file
+$options = array(
+ 'class' => 'elgg-menu-hz'
+);
+echo elgg_view_menu('admin_footer', $options);
\ No newline at end of file
<?php //What to do with states that don't have default styles? ?>
.elgg-state-selected {}
.elgg-state-disabled {}
+
+/* ***************************************
+ Footer and horizontal menus
+*************************************** */
+
+/* Horizontal menus w/ separator support */
+.elgg-menu-hz > li,
+.elgg-menu-hz > li:after,
+.elgg-menu-hz > li > a {
+ display:inline-block;
+ vertical-align:middle;
+}
+
+/* Allow inline image blocks in horizontal menus */
+.elgg-menu-hz .elgg-body:after {
+ content: '.';
+}
+.elgg-menu-admin-footer a {
+ color: #eeeeee;
+}
+
+.elgg-menu-admin-footer > li {
+ padding-right: 25px;
+}
\ No newline at end of file