[Fusionforge-commits] r8535 - trunk/gforge/plugins/fckeditor/common

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


Author: aljeux
Date: 2009-12-16 20:56:04 +0100 (Wed, 16 Dec 2009)
New Revision: 8535

Modified:
   trunk/gforge/plugins/fckeditor/common/fckeditorPlugin.class.php
Log:
fckeditor: xhtml fixes and improved name to HTML editor

Modified: trunk/gforge/plugins/fckeditor/common/fckeditorPlugin.class.php
===================================================================
--- trunk/gforge/plugins/fckeditor/common/fckeditorPlugin.class.php	2009-12-16 19:55:58 UTC (rev 8534)
+++ trunk/gforge/plugins/fckeditor/common/fckeditorPlugin.class.php	2009-12-16 19:56:04 UTC (rev 8535)
@@ -32,7 +32,7 @@
 	function fckeditorPlugin () {
 		$this->Plugin() ;
 		$this->name = "fckeditor" ;
-		$this->text = "FCKeditor";
+		$this->text = "HTML editor";
 		$this->hooks[] = "groupisactivecheckbox";
 		$this->hooks[] = "groupisactivecheckboxpost";
 		$this->hooks[] = "text_editor"; // shows the editor
@@ -61,15 +61,15 @@
 			$group = &group_get_object($group_id);
 			echo "<tr>";
 			echo "<td>";
-			echo ' <input type="CHECKBOX" name="use_fckeditorplugin" value="1" ';
-			// Checked or Unchecked?
+			echo ' <input type="checkbox" name="use_fckeditorplugin" 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>".$this->text." Plugin</strong>";
+			echo "<strong>Use ".$this->text." Plugin (for forums and news)</strong>";
 			echo "</td>";
 			echo "</tr>";
 		} elseif ($hookname == "groupisactivecheckboxpost") {




More information about the Fusionforge-commits mailing list