aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-05-11 23:30:44 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-05-11 23:30:44 +0300
commitb40c6fe46ae6e9ebdbbafd22b75d2d0ac0804e97 (patch)
tree7318bb3b46a04450fcadf62826083cb691643ed8 /phpBB/includes
parentc583d9f5e721764ef413512b8104b4873d807e7a (diff)
downloadforums-b40c6fe46ae6e9ebdbbafd22b75d2d0ac0804e97.tar
forums-b40c6fe46ae6e9ebdbbafd22b75d2d0ac0804e97.tar.gz
forums-b40c6fe46ae6e9ebdbbafd22b75d2d0ac0804e97.tar.bz2
forums-b40c6fe46ae6e9ebdbbafd22b75d2d0ac0804e97.tar.xz
forums-b40c6fe46ae6e9ebdbbafd22b75d2d0ac0804e97.zip
[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
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/ucp/ucp_notifications.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_notifications.php b/phpBB/includes/ucp/ucp_notifications.php
index 338c921e94..72c41776b3 100644
--- a/phpBB/includes/ucp/ucp_notifications.php
+++ b/phpBB/includes/ucp/ucp_notifications.php
@@ -200,6 +200,10 @@ class ucp_notifications
}
}
}
+
+ $template->assign_vars(array(
+ strtoupper($block) . '_COLS' => sizeof($notification_methods) + 2,
+ ));
}
/**