[Fusionforge-commits] r10611 - in trunk/src/www/forum: . include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Sep 21 22:00:18 CEST 2010


Author: aljeux
Date: 2010-09-21 22:00:17 +0200 (Tue, 21 Sep 2010)
New Revision: 10611

Modified:
   trunk/src/www/forum/include/AttachManager.class.php
   trunk/src/www/forum/message.php
Log:
Minor html changes

Modified: trunk/src/www/forum/include/AttachManager.class.php
===================================================================
--- trunk/src/www/forum/include/AttachManager.class.php	2010-09-21 20:00:00 UTC (rev 10610)
+++ trunk/src/www/forum/include/AttachManager.class.php	2010-09-21 20:00:17 UTC (rev 10611)
@@ -137,7 +137,7 @@
 		}
 		if ($attachid) {
 			$attach = "<br/>
-			<a href=\"javascript:manageattachments('".util_make_url("/forum/attachment.php?attachid=$attachid&amp;group_id=$group_id&amp;forum_id=$forum_id$pend")."','no');\">" . html_image('ic/cfolder15.png',"15","13",array("border"=>"0")) . db_result($res,0,'filename') . "</a>  (" . db_result($res,0,'counter') . ") downloads";
+			<a href=\"javascript:manageattachments('".util_make_url("/forum/attachment.php?attachid=$attachid&amp;group_id=$group_id&amp;forum_id=$forum_id$pend")."','no');\">" . html_image('ic/cfolder15.png',"15","13") . db_result($res,0,'filename') . "</a>  (" . db_result($res,0,'counter') . ") downloads";
 			$attach_userid = db_result($res,0,'userid');
 			
 			$f = $msg->getForum();
@@ -157,7 +157,7 @@
 			if (!$f || !is_object($f)) {
 			exit_error('Error','Could Not Get Forum Object');
 			} else {
-//				$attach = html_image('ic/cfolder15.png',"15","13",array("border"=>"0")) . _('No attachment found');
+//				$attach = html_image('ic/cfolder15.png',"15","13") . _('No attachment found');
 				$attach = '';
 				if ( ((user_getid() == $msg->getPosterID())
 				      || (forge_check_perm ('forum_admin', $f->Group->getID())))

Modified: trunk/src/www/forum/message.php
===================================================================
--- trunk/src/www/forum/message.php	2010-09-21 20:00:00 UTC (rev 10610)
+++ trunk/src/www/forum/message.php	2010-09-21 20:00:17 UTC (rev 10611)
@@ -222,7 +222,8 @@
 
 } else {
 	forum_header(array('title'=>_('You Must Choose a Message First')));
-	echo '<div class="warning">'._('You Must Choose a Message First').'</div>';
+	echo '<p class="error">'._('You Must Choose a Message First').'</p>';
+
 }
 
 forum_footer(array());




More information about the Fusionforge-commits mailing list