From 57c47a8e3660b8b968b36ff7b379f51aa398a684 Mon Sep 17 00:00:00 2001 From: FlxAlbroscheit Date: Tue, 12 May 2015 14:04:42 +0200 Subject: [PATCH 1/2] Add a group with one click --- include/group.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/group.php b/include/group.php index 380c4eecc9..bbfac7ac1d 100644 --- a/include/group.php +++ b/include/group.php @@ -270,6 +270,8 @@ function group_side($every="contacts",$each="group",$edit = false, $group_id = 0 '$title' => t('Groups'), '$edittext' => t('Edit group'), '$createtext' => t('Create a new group'), + '$creategroup' => t('Group Name: '), + '$form_security_token' => get_form_security_token("group_edit"), '$ungrouped' => (($every === 'contacts') ? t('Contacts not in any group') : ''), '$groups' => $groups, '$add' => t('add'), From 4667d0e7e8ccff13e33448c787013400ebc5da56 Mon Sep 17 00:00:00 2001 From: FlxAlbroscheit Date: Tue, 12 May 2015 14:09:51 +0200 Subject: [PATCH 2/2] Add a group with one click --- view/templates/group_side.tpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/view/templates/group_side.tpl b/view/templates/group_side.tpl index b304be3b99..fa3a111480 100644 --- a/view/templates/group_side.tpl +++ b/view/templates/group_side.tpl @@ -1,4 +1,3 @@ -

{{$title}}

@@ -22,7 +21,11 @@
{{if $ungrouped}}