[Fusionforge-commits] r12698 - branches/Branch_5_1/src/common/forum

Alain Peyrat aljeux at fusionforge.org
Fri Mar 11 18:11:00 CET 2011


Author: aljeux
Date: 2011-03-11 18:11:00 +0100 (Fri, 11 Mar 2011)
New Revision: 12698

Modified:
   branches/Branch_5_1/src/common/forum/ForumHTML.class.php
Log:
Drop size in images when possible to allow more flexibility for themes.

Modified: branches/Branch_5_1/src/common/forum/ForumHTML.class.php
===================================================================
--- branches/Branch_5_1/src/common/forum/ForumHTML.class.php	2011-03-11 17:10:51 UTC (rev 12697)
+++ branches/Branch_5_1/src/common/forum/ForumHTML.class.php	2011-03-11 17:11:00 UTC (rev 12698)
@@ -138,17 +138,17 @@
 		if ($f) {
 			if ($f->isMonitoring()) {
 				echo util_make_link ('/forum/monitor.php?forum_id='.$forum_id.'&group_id='.$group_id.'&stop=1',
-						     html_image('ic/xmail16w.png','20','20').' '._('Stop Monitoring')).' | ';
+							     html_image('ic/xmail16w.png').' '._('Stop Monitoring')).' | ';
 			} else {
 				echo util_make_link ('/forum/monitor.php?forum_id='.$forum_id.'&group_id='.$group_id.'&start=1',
-						     html_image('ic/mail16w.png','20','20').' '._('Monitor Forum')).' | ';
+						     html_image('ic/mail16w.png').' '._('Monitor Forum')).' | ';
 			}
 			echo util_make_link ('/forum/save.php?forum_id='.$forum_id.'&group_id='.$group_id,
-					     html_image('ic/save.png','24','24') .' '._('Save Place')).' | ';
+					     html_image('ic/save.png') .' '._('Save Place')).' | ';
 		}
 	} elseif ($f) {
 		echo '<a href="/forum/monitor.php?forum_id='.$forum_id.'&group_id='.$group_id.'&start=1">' .
-			html_image('ic/mail16w.png','20','20').' '._('Monitor Forum').'</a> | ';		
+			html_image('ic/mail16w.png').' '._('Monitor Forum').'</a> | ';		
 	}
 
 	if ($f && $forum_id) {
@@ -592,7 +592,7 @@
 		plugin_hook("text_editor",$params);
 		if (!$GLOBALS['editor_was_set_up']) {
 			//if we don't have any plugin for text editor, display a simple textarea edit box
-			echo '<textarea name="body"  rows="10" cols="70" wrap="soft">' . $body . '</textarea>';
+					echo '<textarea name="body"  rows="10" cols="70">' . $body . '</textarea>';
 		}
 		unset($GLOBALS['editor_was_set_up']);
 		?> <?php //$text_support->displayTextField('body'); ?> <br>




More information about the Fusionforge-commits mailing list