Patch

Serge Grondin <[email protected]> Thu, 22 Jan 2004 15:18:59 -0500
Newsgroups gmane.comp.horde.mottle
Organization Commission Scolaire des Bois-Francs
Message-ID <[email protected]>
Il s'agit d'un message multivolet au format MIME.
--------------DB8E378F7B0AFB007A88C7C1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!,

Here some graphics and little patch for mottle to follow with the change
in the framework.

Thanks for all the good work.

-- 
Serge Grondin
Technicien en Informatique
Commission Scolaire des Bois-Francs
Tel. bur.:   (819) 758-6453, poste 2920
e-Mail bur.: [email protected]
--------------DB8E378F7B0AFB007A88C7C1
Content-Type: text/plain; charset=us-ascii;
 name="mottle.txt-diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="mottle.txt-diff"

Index: edit.php
===================================================================
RCS file: /repository/mottle/edit.php,v
retrieving revision 1.5
diff -u -r1.5 edit.php
--- edit.php    17 Jan 2004 22:57:45 -0000      1.5
+++ edit.php    22 Jan 2004 20:04:35 -0000
@@ -12,7 +12,7 @@
 define('MOTTLE_BASE', dirname(__FILE__));
 require_once MOTTLE_BASE . '/lib/base.php';
 require_once MOTTLE_BASE . '/lib/Driver.php';
-require_once HORDE_BASE . '/lib/Form.php';
+require_once HORDE_LIBS . 'Horde/Form.php';
 
 /* Only admin should be using this. */
 if (!Auth::isAdmin()) {
@@ -52,7 +52,7 @@
 $template->set('notify', Util::bufferOutput(array($notification, 'notify')));
 
 /* Render the form. */
-require_once HORDE_BASE . '/lib/Form/Renderer.php';
+require_once HORDE_LIBS . 'Horde/Form/Renderer.php';
 $renderer = &new Horde_Form_Renderer();
 $main = Util::bufferOutput(array($form, 'renderActive'), $renderer, $vars, 'edit.php', 'post');
 
Index: list.php
===================================================================
RCS file: /repository/mottle/list.php,v
retrieving revision 1.3
diff -u -r1.3 list.php
--- list.php    17 Jan 2004 22:57:45 -0000      1.3
+++ list.php    22 Jan 2004 20:04:35 -0000
@@ -19,6 +19,8 @@
     $notification->push(_("Mottle is not properly configured"),
                         'horde.error');
 }
+/* Page variable */
+$title = _("MOTD");
 
 /* Set up the template fields. */
 $template->set('menu', $menu->getMenu());

--------------DB8E378F7B0AFB007A88C7C1
Content-Type: text/plain; charset=us-ascii;
 name="registry.txt-diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="registry.txt-diff"

Index: registry.php.dist
===================================================================
RCS file: /repository/horde/config/registry.php.dist,v
retrieving revision 1.200
diff -u -r1.200 registry.php.dist
--- registry.php.dist   14 Jan 2004 09:21:39 -0000      1.200
+++ registry.php.dist   22 Jan 2004 20:08:07 -0000
@@ -351,7 +351,7 @@
 $this->applications['mottle'] = array(
     'fileroot' => dirname(__FILE__) . '/../mottle',
     'webroot' => $this->applications['horde']['webroot'] . '/mottle',
-    'icon' => $this->applications['horde']['webroot'] . '/graphics/alerts/mottle.gif',
+    'icon' => $this->applications['horde']['webroot'] . 'mottle/graphics/mottle.gif',
     'name' => _("MOTD"),
     'allow_guests' => true,
     'status' => 'inactive',

--------------DB8E378F7B0AFB007A88C7C1
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


-- 
mottle mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]

--------------DB8E378F7B0AFB007A88C7C1--