[Fusionforge-commits] r8534 - trunk/gforge/plugins/svncommitemail/common

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Dec 16 20:55:59 CET 2009


Author: aljeux
Date: 2009-12-16 20:55:58 +0100 (Wed, 16 Dec 2009)
New Revision: 8534

Modified:
   trunk/gforge/plugins/svncommitemail/common/SVNCommitEmailPlugin.class.php
   trunk/gforge/plugins/svncommitemail/common/svncommitemail-init.php
Log:
svncommitemail: xhtml fixes and improved name for the plugin

Modified: trunk/gforge/plugins/svncommitemail/common/SVNCommitEmailPlugin.class.php
===================================================================
--- trunk/gforge/plugins/svncommitemail/common/SVNCommitEmailPlugin.class.php	2009-12-16 19:55:52 UTC (rev 8533)
+++ trunk/gforge/plugins/svncommitemail/common/SVNCommitEmailPlugin.class.php	2009-12-16 19:55:58 UTC (rev 8534)
@@ -26,7 +26,7 @@
 	function SVNCommitEmailPlugin () {
 		$this->Plugin() ;
 		$this->name = "svncommitemail" ;
-		$this->text = "svn->CommitEmail" ;
+		$this->text = "Source Code and Mailing List Integration" ;
 		$this->hooks[] = "groupisactivecheckbox" ; // The "use ..." checkbox in editgroupinfo
 		$this->hooks[] = "groupisactivecheckboxpost" ; //
 	}
@@ -41,12 +41,12 @@
 			if ($group->usesPlugin('scmsvn')) {
 				echo "<tr>";
 				echo "<td>";
-				echo ' <input type="CHECKBOX" name="use_svncommitemailplugin" value="1" ';
-				// CHECKED OR UNCHECKED?
+				echo ' <input type="checkbox" name="use_svncommitemailplugin" value="1" ';
+				// checked or unchecked?
 				if ( $group->usesPlugin ( $this->name ) ) {
-					echo "CHECKED";
+					echo 'checked="checked"';
 				}
-				echo "><br/>";
+				echo " /><br/>";
 				echo "</td>";
 				echo "<td>";
 				echo "<strong>Use ".$this->text." Plugin</strong>";

Modified: trunk/gforge/plugins/svncommitemail/common/svncommitemail-init.php
===================================================================
--- trunk/gforge/plugins/svncommitemail/common/svncommitemail-init.php	2009-12-16 19:55:52 UTC (rev 8533)
+++ trunk/gforge/plugins/svncommitemail/common/svncommitemail-init.php	2009-12-16 19:55:58 UTC (rev 8534)
@@ -19,7 +19,7 @@
  */
 
 global $gfplugins;
-require_once $gfplugins.'svncommitemail/common/SVNCommitEmailPlugin.class.php' ;
+require_once $gfplugins.'svncommitemail/common/SVNCommitEmailPlugin.class.php';
 
 register_plugin (new SVNCommitEmailPlugin) ;
 




More information about the Fusionforge-commits mailing list