[evolvis-commits] r12575: Fix [#5569] unable to add a theme

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Feb 28 01:47:41 CET 2011


Author: mirabilos
Date: 2011-02-28 01:47:41 +0100 (Mon, 28 Feb 2011)
New Revision: 12575

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/www/admin/admin_table.php
Log:
Fix [#5569] unable to add a theme

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/www/admin/admin_table.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/www/admin/admin_table.php	2011-02-28 00:47:38 UTC (rev 12574)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/www/admin/admin_table.php	2011-02-28 00:47:41 UTC (rev 12575)
@@ -39,7 +39,9 @@
 	if ($result) {
 		$cols = db_numfields($result);
 
-		printf(_('Create a new %1$s below:'), getUnitLabel($unit)).'
+		printf(_('Create a new %1$s below:'), getUnitLabel($unit));
+
+		echo '
 			<form name="add" action="'.getStringFromServer('PHP_SELF').'?function=postadd" method="post">
 			<input type="hidden" name="form_key" value="'.form_generate_key().'">
 			<table>';
@@ -174,7 +176,9 @@
 	if ($result) {
 		$cols = db_numfields($result);
 
-		printf(_('Modify the %1$s below:'), getUnitLabel($unit)).'
+		printf(_('Modify the %1$s below:'), getUnitLabel($unit));
+		
+		echo '
 			<form name="edit" action="'.getStringFromServer('PHP_SELF').'?function=postedit&id='.$id.'" method="post">
 			<table>';
 



More information about the evolvis-commits mailing list