[Fusionforge-commits] r11413 - trunk/src/www/admin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sat Nov 6 14:39:17 CET 2010


Author: aljeux
Date: 2010-11-06 14:39:17 +0100 (Sat, 06 Nov 2010)
New Revision: 11413

Modified:
   trunk/src/www/admin/admin_table.php
Log:
Fix: css for warning message is warning_msg

Modified: trunk/src/www/admin/admin_table.php
===================================================================
--- trunk/src/www/admin/admin_table.php	2010-11-06 13:39:12 UTC (rev 11412)
+++ trunk/src/www/admin/admin_table.php	2010-11-06 13:39:17 UTC (rev 11413)
@@ -114,7 +114,7 @@
 		$result = db_numrows(db_query_params ('SELECT processor_id FROM frs_file WHERE processor_id = $1',
 			array($id)));
 		if ($result > 0) {
-			echo '<div class="warning">'.sprintf(_('You can\'t delete the processor %1$s since it\'s currently referenced in a file release.'), db_result(db_query_params ('select name from frs_processor where processor_id = $1',
+			echo '<div class="warning_msg">'.sprintf(_('You can\'t delete the processor %1$s since it\'s currently referenced in a file release.'), db_result(db_query_params ('select name from frs_processor where processor_id = $1',
 			array($id)), 0, 0)).'</div>';
 			return;
 		}
@@ -123,7 +123,7 @@
 		$result = db_numrows(db_query_params ('SELECT license FROM groups WHERE license = $1',
 			array($id)));
 		if ($result > 0) {
-			echo '<div class="warning">'.sprintf(_('You can\'t delete the license %1$s since it\'s currently referenced in a project.'), db_result(db_query_params ('select license_name from licenses where license_id = $1',
+			echo '<div class="warning_msg">'.sprintf(_('You can\'t delete the license %1$s since it\'s currently referenced in a project.'), db_result(db_query_params ('select license_name from licenses where license_id = $1',
 			array($id)), 0, 0)).'</div>';
 			return;
 		}
@@ -131,7 +131,7 @@
 	if ($unit == "supported_language") {
 		$result = db_numrows(db_query_params("SELECT language FROM users WHERE language=$1", array($id)));
 		if ($result > 0) {
-			echo '<div class="warning">'.sprintf(_('You can\'t delete the language %1$s since it\'s currently referenced in a user profile.'), db_result(db_query_params ('select license_name from licenses where license_id = $1',
+			echo '<div class="warning_msg">'.sprintf(_('You can\'t delete the language %1$s since it\'s currently referenced in a user profile.'), db_result(db_query_params ('select license_name from licenses where license_id = $1',
 			array($id)), 0, 0)).'</div>';
 			return;
 		}




More information about the Fusionforge-commits mailing list