[dev] Babel :: update patch

Joel Vandal jvandal at infoteck.qc.ca
Fri Feb 6 12:23:22 PST 2004


Minor update for Babel

-- 
Joel Vandal                                    Infoteck Internet
http://www.infoteck.qc.ca            Tel.  819-370-3232
jvandal at infoteck.qc.ca                 Fax. 819-370-3624
-------------- next part --------------
Index: index.php
===================================================================
RCS file: /repository/babel/index.php,v
retrieving revision 1.5
diff -u -r1.5 index.php
--- index.php   1 Jan 2004 15:13:58 -0000       1.5
+++ index.php   6 Feb 2004 20:18:35 -0000
@@ -10,8 +10,7 @@

 define('BABEL_BASE', dirname(__FILE__));
 $babel_configured = (@is_readable(BABEL_BASE . '/config/conf.php') &&
-                     @is_readable(BABEL_BASE . '/config/html.php') &&
-                     @is_readable(BABEL_BASE . '/config/prefs.php'));
+                     @is_readable(BABEL_BASE . '/config/html.php'));

 if ($babel_configured) {
     include_once BABEL_BASE . '/lib/base.php';
@@ -26,7 +25,9 @@

 /* Babel isn't configured */
 } else {
-    include BABEL_BASE . '/templates/index/notconfigured.inc';
+    define('HORDE_LIBS', '');
+    require BABEL_BASE . '/../lib/Test.php';
+    Horde_Test::configFilesMissing('Babel', BABEL_BASE, array('conf.php', 'html.ph
p'));
 }

 ?>
Index: templates/common-header.inc
===================================================================
RCS file: /repository/babel/templates/common-header.inc,v
retrieving revision 1.9
diff -u -r1.9 common-header.inc
--- templates/common-header.inc 18 Jan 2004 17:54:12 -0000      1.9
+++ templates/common-header.inc 6 Feb 2004 20:18:39 -0000
@@ -20,7 +20,7 @@

 ?>
 <title><?php echo $page_title ?></title>
-<?php echo Horde::stylesheetLink(Horde::getThemeConfig(), 'babel') ?>
+<?php echo Horde::stylesheetLink('babel') ?>
 </head>

 <body<?php if (Util::nonInputVar('bodyClass')) echo ' class="' . $bodyClass . '"'
?>>


More information about the dev mailing list