fix(views): removes hard coded menu from admin header

Yes, that could work.

On Mon, Sep 22, 2014, 7:08 AM Per Jensen <notifications@github.com> wrote:

> In views/default/admin/header.php:
>
> >  $admin_title = elgg_get_site_entity()->name . ' ' . elgg_echo('admin');
> >
> > -$view_site = elgg_view('output/url', array(
> > -	'href' => elgg_get_site_url(),
> > -	'text' => elgg_echo('admin:view_site'),
> > -	'is_trusted' => true,
> > -));
> > +$options = array(
> > +	'sort_by' => 'priority'
> > +);
> > +echo elgg_view_menu('user', $options);
>
> I too prefer admin- something. admin-topbar is ok - or admin_header since
> we already have elgg_view_menu('admin_footer') and this one is in the
> header.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Elgg/Elgg/pull/7230/files#r17850621>.
>