Commit 784ac271 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

More general variable name for sub-page menu tabs


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 1aa745ed
......@@ -410,7 +410,7 @@ EOF;
require_once('group.php');
$group = group_current_group();
$smarty->assign('GROUP', $group);
$smarty->assign('GROUPNAV', group_get_menu_tabs());
$smarty->assign('SUBPAGENAV', group_get_menu_tabs());
$smarty->assign('PAGEHEADING', hsc($group->name));
}
......
......@@ -25,8 +25,8 @@
{if isset($PAGEHEADING)} <h1>{$PAGEHEADING}{if $PAGEHELPNAME}<span class="page-help-icon">{$PAGEHELPICON}</span>{/if}</h1>
{/if}
{if $GROUP}{* Tabs and beginning of page container for group info pages *} <ul class="in-page-tabs">
{foreach from=$GROUPNAV item=item}
{if $SUBPAGENAV}{* Tabs and beginning of page container for group info pages *} <ul class="in-page-tabs">
{foreach from=$SUBPAGENAV item=item}
<li><a {if $item.selected}class="current-tab" {/if}href="{$WWWROOT}{$item.url|escape}">{$item.title|escape}</a></li>
{/foreach}
</ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment