setupThemeContext

Description

Sets up various $context values used for the theme (most of which are used in index.template.php).

Syntax

void setupThemeContext ()


Notes

  • Sets all the "$context['allow_" items used for the template_menu function
  • Sets $context['news_lines'] and $context['fader_news_lines']
  • Sets various $context['user'] items used for the theme as well
Advertisement: