[Fusionforge-commits] r10381 - in trunk/src: common/widget www/include

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Sep 1 17:53:55 CEST 2010


Author: nerville
Date: 2010-09-01 17:53:54 +0200 (Wed, 01 Sep 2010)
New Revision: 10381

Modified:
   trunk/src/common/widget/WidgetLayoutManager.class.php
   trunk/src/www/include/html.php
Log:
fix copyrights & warnings

Modified: trunk/src/common/widget/WidgetLayoutManager.class.php
===================================================================
--- trunk/src/common/widget/WidgetLayoutManager.class.php	2010-09-01 15:45:34 UTC (rev 10380)
+++ trunk/src/common/widget/WidgetLayoutManager.class.php	2010-09-01 15:53:54 UTC (rev 10381)
@@ -256,7 +256,7 @@
 				echo '<input type="radio" name="layout_id" value="'. $data['id'] .'" id="layout_'. $data['id'] .'" '. $checked .'/>';
 				echo '</td><td>';
 				echo '<label for="layout_'. $data['id'] .'">';
-				echo html_image('layout/'. strtolower(preg_replace('/(\W+)/', '-', $data['name'])) .'.png');
+				echo html_image('layout/'. strtolower(preg_replace('/(\W+)/', '-', $data['name'])) .'.png', 50, 50, array('alt'=>'layout'));
 				echo '</label>';
 				echo '</td><td>';
 				echo '<label for="layout_'. $data['id'] .'"><strong>'. $data['name'] .'</strong><br />';
@@ -270,7 +270,7 @@
 			echo '<input type="radio" name="layout_id" value="-1" id="layout_custom" '. $checked .'/>';
 			echo '</td><td>';
 			echo '<label for="layout_custom">';
-			echo html_image('layout/custom.png', array('style' => 'vertical-align:top;float:left;'));
+			echo html_image('layout/custom.png', 50, 50, array('style' => 'vertical-align:top;float:left;'));
 			echo '</label>';
 			echo '</td><td>';
 			echo '<label for="layout_custom"><strong>'. 'Custom' .'</strong><br />';

Modified: trunk/src/www/include/html.php
===================================================================
--- trunk/src/www/include/html.php	2010-09-01 15:45:34 UTC (rev 10380)
+++ trunk/src/www/include/html.php	2010-09-01 15:53:54 UTC (rev 10381)
@@ -1,11 +1,25 @@
 <?php
 /**
- * Misc HTML functions
+ * FusionForge Misc HTML functions
  *
- * SourceForge: Breaking Down the Barriers to Open Source Development
  * Copyright 1999-2001 (c) VA Linux Systems
- * http://sourceforge.net
  *
+ * This file is part of FusionForge.
+ *
+ * FusionForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License,
+ * or (at your option) any later version.
+ * 
+ * FusionForge is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
  */
 
 /**




More information about the Fusionforge-commits mailing list