[Fusionforge-commits] r10385 - trunk/src/www/widgets

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Thu Sep 2 10:15:13 CEST 2010


Author: nerville
Date: 2010-09-02 10:15:13 +0200 (Thu, 02 Sep 2010)
New Revision: 10385

Modified:
   trunk/src/www/widgets/updatelayout.php
   trunk/src/www/widgets/widget.php
Log:
fix require; add common header => need real header

Modified: trunk/src/www/widgets/updatelayout.php
===================================================================
--- trunk/src/www/widgets/updatelayout.php	2010-09-01 18:19:59 UTC (rev 10384)
+++ trunk/src/www/widgets/updatelayout.php	2010-09-02 08:15:13 UTC (rev 10385)
@@ -1,10 +1,28 @@
 <?php
+/*
+ * 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
+ */
+
 require_once('../env.inc.php');
 require_once $gfcommon.'include/pre.php';
 require_once $gfcommon.'include/preplugins.php';
 require_once $gfcommon.'include/plugins_utils.php';
-require_once $gfcommon.'/widget/WidgetLayoutManager.class.php';
-require_once $gfcommon.'/widget/Widget.class.php';
+require_once $gfcommon.'widget/WidgetLayoutManager.class.php';
+require_once $gfcommon.'widget/Widget.class.php';
 
 $request =& HTTPRequest::instance();
 

Modified: trunk/src/www/widgets/widget.php
===================================================================
--- trunk/src/www/widgets/widget.php	2010-09-01 18:19:59 UTC (rev 10384)
+++ trunk/src/www/widgets/widget.php	2010-09-02 08:15:13 UTC (rev 10385)
@@ -1,12 +1,30 @@
 <?php
-require_once('env.inc.php');
-require_once('pre.php');
-require_once('preplugins.php');
-require_once('plugins_utils.php');
-require_once('common/widget/Widget.class.php');
-require_once('common/widget/WidgetLayoutManager.class.php');
-require_once('common/widget/Valid_Widget.class.php');
+/*
+ * 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
+ */
 
+require_once('../env.inc.php');
+require_once $gfcommon.'include/pre.php';
+require_once $gfcommon.'include/preplugins.php';
+require_once $gfcommon.'include/plugins_utils.php';
+require_once $gfcommon.'widget/WidgetLayoutManager.class.php';
+require_once $gfcommon.'widget/Widget.class.php';
+require_once $gfcommon.'widget/Valid_Widget.class.php';
+
 $lm = new WidgetLayoutManager();
 
 $request =& HTTPRequest::instance();




More information about the Fusionforge-commits mailing list