From 8d5782125d067a3e1dc30218707fbc405cfb7047 Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Tue, 16 Apr 2013 15:29:34 +0200 Subject: [PATCH] removed unused CyDefSIG.showowner field. Closes issue #93 --- app/Config/bootstrap.default.php | 1 - app/View/Events/index.ctp | 6 +++--- app/View/Events/view.ctp | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/Config/bootstrap.default.php b/app/Config/bootstrap.default.php index 1131a67be..011d43a2f 100755 --- a/app/Config/bootstrap.default.php +++ b/app/Config/bootstrap.default.php @@ -119,7 +119,6 @@ Configure::write('CyDefSIG.logo', 'orgs/ORGNAME.png'); // used in Events::in Configure::write('CyDefSIG.showorg', 'true'); // show the name/flag of the organisation that uploaded the data -Configure::write('CyDefSIG.showowner', 'false'); // show the email of the owner that uploaded the data Configure::write('CyDefSIG.sync', 'true'); // enable features related to syncing with other CyDefSIG instances - should be always on because of the current distribution model. Configure::write('CyDefSIG.private', 'true'); // respect private to org or server. if ('true' == Configure::read('CyDefSIG.private')) { diff --git a/app/View/Events/index.ctp b/app/View/Events/index.ctp index 93e23ef5d..b57b69668 100755 --- a/app/View/Events/index.ctp +++ b/app/View/Events/index.ctp @@ -16,7 +16,7 @@ endif; ?> Paginator->sort('id');?> Paginator->sort('attribute_count', '#Attr.');?> +if ($isAdmin): ?> Paginator->sort('user_id', 'Email');?> @@ -72,9 +72,9 @@ foreach ($events as $event):?>     + if ($isAdmin): ?> -   diff --git a/app/View/Events/view.ctp b/app/View/Events/view.ctp index 058a7f4ab..ee65a2a42 100755 --- a/app/View/Events/view.ctp +++ b/app/View/Events/view.ctp @@ -55,7 +55,7 @@ endif; ?> - +
Email