After the release of FA v2.3.12 (Mercurial Changeset 3061), important changes have been made (in Mercurial Changeset 3068) to the all default themes' renderer.php files that need to be backported to the existing non default themes to make them compatible for use in future releases.
In Mercurial Changeset 3068 certain rendering functions viz.,
check_application_access
check_module_access
hide_inaccessible_menu_items
have been shifted from
themes/*/renderer.php files
to
includes/current_user.inc
Hence in the hitherto non-default themes, the renderer.php files must get rid of the said functions and replace the following calls:
$this->check_application_access($app)
$this->check_application_access($selected_app)
$this->check_module_access($module)
$this->hide_inaccessible_menu_items()
with
$_SESSION["wa_current_user"]->check_application_access($app)
$_SESSION["wa_current_user"]->check_application_access($selected_app)
$_SESSION["wa_current_user"]->check_module_access($module)
$_SESSION["wa_current_user"]->hide_inaccessible_menu_items()
respectively.
Consequently, the function menu_header in the themes/*/renderer.php file will no longer need access to the variable $show_inaccessible_menu_items from the global context as it now has access to it's SESSION variable instead.
ie.,
global $path_to_root, $help_base_url, $db_connections, $show_inaccessible_menu_items;
will now be:
global $path_to_root, $help_base_url, $db_connections;