Skip to content

Commit

Permalink
Function naming consistency matters - original idea from TimeVortex :P
Browse files Browse the repository at this point in the history
Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Jan 28, 2013
1 parent c35408a commit 217a97b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Themes/default/BoardIndex.template.php
Expand Up @@ -22,6 +22,13 @@ function template_boardindex_outer_above()
', $settings['show_latest_member'] ? ' ' . sprintf($txt['welcome_newest_member'], ' <strong>' . $context['common_stats']['latest_member']['link'] . '</strong>') : '' , '
</div>';

template_newsfader();
}

function template_newsfader()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

// Show the news fader? (assuming there are things to show...)
if (!empty($settings['show_newsfader']) && !empty($context['news_lines']))
{
Expand Down Expand Up @@ -247,6 +254,11 @@ function template_main()
}

function template_boardindex_outer_below()
{
template_info_center();
}

function template_info_center()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

Expand Down

0 comments on commit 217a97b

Please sign in to comment.