mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
Merge remote-tracking branch 'github-nickvergessen/ticket/12612-ascraeus' into develop-ascraeus
* github-nickvergessen/ticket/12612-ascraeus: [ticket/12612] Move functions from mcp.php to functions_mcp.php [ticket/12612] Move function from ucp.php to functions_user.php [ticket/12612] Move functions from memberlist.php to functions_display.php [ticket/12612] Move functions from posting.php to functions_posting.php
This commit is contained in:
@@ -3545,3 +3545,23 @@ function phpbb_get_banned_user_ids($user_ids = array(), $ban_end = true)
|
||||
|
||||
return $banned_ids_list;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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);
|
||||
|
||||
if ($mode == 'friends')
|
||||
{
|
||||
$template->assign_var('S_ZEBRA_FRIENDS_ENABLED', true);
|
||||
}
|
||||
|
||||
if ($mode == 'foes')
|
||||
{
|
||||
$template->assign_var('S_ZEBRA_FOES_ENABLED', true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user