From 679ab64e465f610ae70aff8a1b491191863f7033 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Fri, 1 Apr 2016 00:56:34 -0400 Subject: Update setting modal, user tab to display user head image Also restructured the web form a little and added the form-group to select a new image to upload --- app/view/common/setting.modal.view.php | 47 ++++++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 11 deletions(-) (limited to 'app/view/common/setting.modal.view.php') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 11adc69..2415e18 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -27,21 +27,46 @@

 

- getCurrentUser()->admin == 1) { ?> -

getCurrentUser()->getDisplayName()?> is a Scrott Administrator

- -
-
- - + +
+
+ getCurrentUser()->admin == 1) { ?> +

getCurrentUser()->getDisplayName()?> is a Scrott Administrator

+ + +
+ + +
+ +
+ +
+
+ +
+ <?=$mod->getCurrentUser()->getDisplayName()?> +
+
+ +
+ +
-
- +
+
+ + +
-- cgit v1.2.3 From 0ad5c4d29ca5d4109a7fe33cdfc9b8e6b01ace6b Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Mon, 4 Apr 2016 23:35:23 -0400 Subject: Add view markup for showing user head images to the all users collapse panes --- app/view/common/setting.modal.view.php | 38 +++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) (limited to 'app/view/common/setting.modal.view.php') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 2415e18..19bcf5c 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -223,15 +223,39 @@ -
- - +
+
+
+ + +
+ +
+ +
+
+ +
+ <?=$user->getDisplayName()?> +
+
+ +
+ +
-
- +
+
+ + +
-- cgit v1.2.3 From 423fa09e3f524c8139d18c3e8652f542bcf2cd44 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 27 Apr 2016 23:38:49 -0400 Subject: Update form handler for common/setting-modal, user tab Now supports file upload to replace the user's head image --- app/view/common/setting.modal.view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/view/common/setting.modal.view.php') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 19bcf5c..1d7951a 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -27,7 +27,7 @@

 

- +
@@ -65,7 +65,7 @@
- +
-- cgit v1.2.3 From be1a82affdaa1e87015a0a49979e9230cdc61b4d Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 30 Apr 2016 16:18:24 -0400 Subject: Update form handler for common/setting-modal, all users tab Now supports file upload to replace the user's head image --- app/view/common/setting.modal.view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/view/common/setting.modal.view.php') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 1d7951a..369a789 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -219,7 +219,7 @@
- + @@ -254,7 +254,7 @@
- +
-- cgit v1.2.3 From e9189928e1108d0c1330eb47cc5de20d67f5de51 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 30 Apr 2016 22:34:01 -0400 Subject: Update setting modal to allow user to remove their own head image --- app/view/common/setting.modal.view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/view/common/setting.modal.view.php') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 369a789..60063cf 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -56,7 +56,7 @@ Upload new image
-
-- cgit v1.2.3 From 190a7d81155bc08fd9533f53f1f2154e2cca2c7a Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 1 May 2016 00:45:37 -0400 Subject: Update setting modal to allow admins to remove other users' head images --- app/view/common/setting.modal.view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/view/common/setting.modal.view.php') diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 60063cf..e43f723 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -245,7 +245,7 @@ Upload new image
-
-- cgit v1.2.3