1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

- changed _module_*_url to only use the main module name but the mode as parameter

- custom module lang function now suffixed by _lang
- added general custom function with mode and module_row parameter

- do not display friends/foes if zebra has been disabled


git-svn-id: file:///svn/phpbb/trunk@5767 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-04-08 13:01:04 +00:00
parent 4801f813cd
commit 96afdb5168
5 changed files with 35 additions and 34 deletions

View File

@@ -249,4 +249,15 @@ $template->set_filenames(array(
page_footer();
/**
* Function for assigning a template var if the zebra module got included
*/
function _module_zebra($mode, &$module_row)
{
global $template;
$template->assign_var('S_ZEBRA_ENABLED', true);
}
?>