[Fusionforge-commits] r12965 - in branches/Branch_5_1/src/plugins/mailman/www: . admin

Alain Peyrat aljeux at fusionforge.org
Thu Mar 31 18:43:07 CEST 2011


Author: aljeux
Date: 2011-03-31 18:43:07 +0200 (Thu, 31 Mar 2011)
New Revision: 12965

Modified:
   branches/Branch_5_1/src/plugins/mailman/www/admin/index.php
   branches/Branch_5_1/src/plugins/mailman/www/index.php
Log:
Rework text

Modified: branches/Branch_5_1/src/plugins/mailman/www/admin/index.php
===================================================================
--- branches/Branch_5_1/src/plugins/mailman/www/admin/index.php	2011-03-31 16:42:58 UTC (rev 12964)
+++ branches/Branch_5_1/src/plugins/mailman/www/admin/index.php	2011-03-31 16:43:07 UTC (rev 12965)
@@ -116,7 +116,9 @@
 					'title' => _('Add a Mailing List'),
 					'help'=>'CommunicationServices.html#MailingLists',
 					'admin' => '1'));
-		printf(_('<p>Lists are named in this manner:<br /><strong>projectname-listname@%1$s</strong></p><p>It will take <span class="important">few minutes</span> for your list to be created.</p>'), forge_get_config('lists_host'));
+		echo '<p>';
+		printf(_('Lists are named in this manner:<br /><strong>projectname-listname@%1$s</strong></p><p>It will take <span class="important">few minutes</span> for your list to be created.'), forge_get_config('lists_host'));
+		echo '</p>';
 
 		$mlFactory = new MailmanListFactory($Group);
 		if (!$mlFactory || !is_object($mlFactory) || $mlFactory->isError()) {

Modified: branches/Branch_5_1/src/plugins/mailman/www/index.php
===================================================================
--- branches/Branch_5_1/src/plugins/mailman/www/index.php	2011-03-31 16:42:58 UTC (rev 12964)
+++ branches/Branch_5_1/src/plugins/mailman/www/index.php	2011-03-31 16:43:07 UTC (rev 12965)
@@ -23,15 +23,11 @@
 if (isset ($group_id)) {
 	
 	if (!$Group || !is_object($Group)) {
-		
 		exit_error(_('Error'), 'Could Not Get Group');
-	}
-	elseif ($Group->isError()) {
-		
+	} elseif ($Group->isError()) {
 		exit_no_group();
 	}
 
-	
 	$mlFactory = new MailmanListFactory($Group);
 	if (!$mlFactory || !is_object($mlFactory)) {
 		exit_error(_('Error'), 'Could Not Get MailmanListFactory');
@@ -66,12 +62,16 @@
 
 	if (isLogged()){
 		if ($mlFactory->compareInfos()) {
-		echo _('<p>You seem to have mailman account with a different name or password. If you want to update mailman information, click on ');
-		echo '<a href="index.php?group_id=' . $group_id . '&action=update">' . _('Update</p>') . '</a>';
+			echo '<p>';
+			echo _('You seem to have mailman account with a different name or password. If you want to update mailman information, click on ');
+			echo '<a href="index.php?group_id=' . $group_id . '&action=update">' . _('Update') . '</a>';
+			echo '</p>';
 	}
 	}
 	
-	echo _('<p>Choose a list to browse, search, and post messages.</p>');
+	echo '<p>';
+	echo _('Choose a list to browse, search, and post messages.');
+	echo '</p>';
 
 	table_begin();
 	for ($j = 0; $j < $mlCount; $j++) {




More information about the Fusionforge-commits mailing list