From 34d7450d3c13342715e90ec21bceaa13e1baa876 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 28 Dec 2014 11:28:50 -0500 Subject: Template helpers refactoring --- app/Template/user/notifications.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/Template/user/notifications.php') diff --git a/app/Template/user/notifications.php b/app/Template/user/notifications.php index 33da61fb..56c48f8f 100644 --- a/app/Template/user/notifications.php +++ b/app/Template/user/notifications.php @@ -2,18 +2,18 @@

-
+ - + formCsrf() ?> -
+ formCheckbox('notifications_enabled', t('Enable email notifications'), '1', $notifications['notifications_enabled'] == 1) ?>



$project_name): ?> -
+ formCheckbox('projects['.$project_id.']', $project_name, '1', isset($notifications['project_'.$project_id])) ?>
@@ -21,6 +21,6 @@
- $user['id'])) ?> + a(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?>
\ No newline at end of file -- cgit v1.2.3