1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/11533] Columns counter for notification settings

Add columns counter template variable. It counts number of
notification types + column for name + column for checkbox

PHPBB3-11533
This commit is contained in:
Vjacheslav Trushkin 2013-05-11 23:30:44 +03:00
parent c583d9f5e7
commit b40c6fe46a

View File

@ -200,6 +200,10 @@ class ucp_notifications
}
}
}
$template->assign_vars(array(
strtoupper($block) . '_COLS' => sizeof($notification_methods) + 2,
));
}
/**