vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jftho...@apache.org
Subject svn commit: r1789130 - /vcl/trunk/web/.ht-inc/siteconfig.php
Date Tue, 28 Mar 2017 13:13:54 GMT
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);
 	}



Mime
View raw message