diff options
| author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-05-11 23:30:44 +0300 | 
|---|---|---|
| committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-05-11 23:30:44 +0300 | 
| commit | b40c6fe46ae6e9ebdbbafd22b75d2d0ac0804e97 (patch) | |
| tree | 7318bb3b46a04450fcadf62826083cb691643ed8 | |
| parent | c583d9f5e721764ef413512b8104b4873d807e7a (diff) | |
| download | forums-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
| -rw-r--r-- | phpBB/includes/ucp/ucp_notifications.php | 4 | 
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, +		));  	}  	/** | 
