on line 760...
- Code: Select all
// Show the [roster] button.
echo ($current_action=='roster' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '<td class="maintab_off_'
. $first . '"> </td>' , '
<td valign="top" class="maintab_' , $current_action == 'roster' ? 'active_back' : 'off_back' , '">
<a href="/roster/">'.$txt[500] , '</a>
</td>' , $current_action == 'roster' ? '<td class="maintab_active_' . $last . '"> </td>' : '<td class="maintab_off_' . $last . '">
</td>';
Then I went to the Themes/default/languages/index.english.php
I created an entry of
- Code: Select all
$txt[500] = 'Roster';
This adds the tab - but I haven't used the action mod yet - so the url I pointed to earlier /roster/ may change if I decide to use it.
-----------
Edit:
I installed the Action Mod - and the url now looks like this:
- Code: Select all
<a href="', $scripturl, '?action=roster">'.$txt[500] , '</a>