[Fusionforge-commits] r14729 - in trunk: . src/common/tracker/actions

Roland Mas lolando at fusionforge.org
Wed Oct 26 16:03:12 CEST 2011


Author: lolando
Date: 2011-10-26 16:03:12 +0200 (Wed, 26 Oct 2011)
New Revision: 14729

Modified:
   trunk/
   trunk/src/common/tracker/actions/admin-ind.php
Log:
Removed UI for public/private and moderation settings for trackers (handled by RBAC)

Modified: trunk/src/common/tracker/actions/admin-ind.php
===================================================================
--- trunk/src/common/tracker/actions/admin-ind.php	2011-10-26 14:03:01 UTC (rev 14728)
+++ trunk/src/common/tracker/actions/admin-ind.php	2011-10-26 14:03:12 UTC (rev 14729)
@@ -27,8 +27,6 @@
 if (getStringFromRequest('post_changes')) {
 	$name = getStringFromRequest('name');
 	$description = getStringFromRequest('description');
-	$is_public = getStringFromRequest('is_public');
-	$allow_anon = getStringFromRequest('allow_anon');
 	$email_all = getStringFromRequest('email_all');
 	$email_address = getStringFromRequest('email_address');
 	$due_period = getStringFromRequest('due_period');
@@ -42,7 +40,7 @@
 
 	if (getStringFromRequest('add_at')) {
 		$res=new ArtifactTypeHtml($group);
-		if (!$res->create($name,$description,$is_public,$allow_anon,$email_all,$email_address,
+		if (!$res->create($name,$description,0,0,$email_all,$email_address,
 			$due_period,$use_resolution,$submit_instructions,$browse_instructions)) {
 			exit_error($res->getErrorMessage(),'tracker');
 		} else {
@@ -143,9 +141,6 @@
 	<strong><?php echo _('Description') ?>:</strong><br />
 	<input type="text" name="description" value="" size="50" /></p>
 	<p>
-	<input type="checkbox" name="is_public" value="1" /> <strong><?php echo _('Publicly Available') ?></strong><br />
-	<input type="checkbox" name="allow_anon" value="1" /> <strong><?php echo _('Allow non-logged-in postings') ?></strong></p>
-	<p>
 	<strong><?php echo _('Send email on new submission to address') ?>:</strong><br />
 	<input type="text" name="email_address" value="" /></p>
 	<p>




More information about the Fusionforge-commits mailing list