You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2017/03/28 13:13:54 UTC

svn commit: r1789130 - /vcl/trunk/web/.ht-inc/siteconfig.php

Author: jfthomps
Date: Tue Mar 28 13:13:54 2017
New Revision: 1789130

URL: http://svn.apache.org/viewvc?rev=1789130&view=rev
Log:
VCL-1029 - add a section for managing affiliations to Site Configuration

siteconfig.php: modified generalOptions: ...and actually made it check for *having* global site configuration permissions rather than *not* having them

Modified:
    vcl/trunk/web/.ht-inc/siteconfig.php

Modified: vcl/trunk/web/.ht-inc/siteconfig.php
URL: http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/siteconfig.php?rev=1789130&r1=1789129&r2=1789130&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/siteconfig.php (original)
+++ vcl/trunk/web/.ht-inc/siteconfig.php Tue Mar 28 13:13:54 2017
@@ -72,7 +72,7 @@ function generalOptions($globalopts) {
 
 	# -------- left column ---------
 	$h .= "<div id=\"siteconfigleftcol\">\n";
-	if(! checkUserHasPerm('Site Configuration (global)')) {
+	if(checkUserHasPerm('Site Configuration (global)')) {
 		$obj = new Affiliations();
 		$h .= $obj->getHTML($globalopts);
 	}