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:
@@ -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);
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user