Changeset 151 for trunk/start.php

Show
Ignore:
Timestamp:
08/31/10 10:15:30 (21 months ago)
Author:
gnum
Message:

Fixes #98, Edufeedr menu is also displayed with context 'main' for loggedin users.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/start.php

    r150 r151  
    4343        global $CONFIG; 
    4444 
    45         if (get_context() == 'edufeedr') { 
     45        if (get_context() == 'edufeedr' || (get_context() == 'main' && isloggedin())) { 
    4646            /*translation:All courses*/ 
    4747                add_submenu_item(elgg_echo('edufeedr:submenu:all:courses'), $CONFIG->wwwroot . 'pg/edufeedr/index');