Upgrade to Horde 4 coding conventions
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 16 Jul 2009 17:24:31 +0000 (11:24 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 16 Jul 2009 18:23:20 +0000 (12:23 -0600)
97 files changed:
framework/Image/lib/Horde/Image/Png.php
framework/Image/lib/Horde/Image/Swf.php
framework/Image/lib/Horde/Image/rgb.php
framework/Model/lib/Horde/Form/Renderer.php
framework/Model/lib/Horde/Form/VarRenderer.php
framework/Model/lib/Horde/Form/VarRenderer/Xhtml.php
framework/Model/www/test.php
framework/Rdo/examples/Horde/Rdo/Clotho.php
framework/Rdo/examples/Horde/Rdo/RelationshipTest.php
framework/Rdo/examples/Horde/Rdo/Task.php
framework/Rdo/examples/Horde/Rdo/User.php
framework/Rdo/examples/Horde/Rdo/users.mysql.sql
framework/Rdo/examples/Horde/Rdo/users.pgsql.sql
framework/Rdo/examples/Horde/Rdo/users.sqlite.sql
framework/Rdo/www/crud.php
framework/Rdo/www/index.php
ingo/lib/base.php
ingo/locale/ca_ES/help.xml
ingo/locale/de_DE/help.xml
ingo/locale/en_US/help.xml
ingo/locale/es_ES/help.xml
ingo/locale/eu_ES/help.xml
ingo/locale/fi_FI/help.xml
ingo/locale/fr_FR/help.xml
ingo/locale/lv_LV/help.xml
jeta/index.php
jeta/lib/base.load.php [new file with mode: 0644]
jeta/lib/base.php
jeta/locale/es_ES/help.xml
jeta/test.php
kronolith/calendars/delete.php
kronolith/calendars/edit.php
kronolith/calendars/index.php
kronolith/calendars/info.php
kronolith/calendars/remote_edit.php
kronolith/calendars/remote_subscribe.php
kronolith/calendars/remote_unsubscribe.php
kronolith/feed/index.php
kronolith/imple.php
kronolith/lib/Block/month.php
kronolith/lib/Block/monthlist.php
kronolith/lib/Block/prevmonthlist.php
kronolith/lib/Block/summary.php
kronolith/lib/Block/tree_alarms.php
kronolith/lib/Block/tree_menu.php
kronolith/lib/FreeBusy.php
kronolith/lib/FreeBusy/View.php
kronolith/lib/Storage.php
kronolith/lib/Storage/kolab.php
kronolith/lib/Storage/sql.php
kronolith/lib/Views/Day.php
kronolith/lib/Views/ExportEvent.php
kronolith/lib/Views/Month.php
kronolith/lib/Views/Week.php
kronolith/lib/Views/WorkWeek.php
kronolith/lib/Views/Year.php
kronolith/lib/api.php
kronolith/lib/base.php
kronolith/lib/prefs.php
kronolith/locale/ca_ES/help.xml
kronolith/locale/de_DE/help.xml
kronolith/locale/en_US/help.xml
kronolith/locale/es_ES/help.xml
kronolith/locale/eu_ES/help.xml
kronolith/locale/fi_FI/help.xml
kronolith/locale/fr_FR/help.xml
kronolith/locale/hu_HU/help.xml
kronolith/locale/pt_BR/help.xml
kronolith/locale/tr_TR/help.xml
kronolith/packaging/redhat/kronolith.README
kronolith/packaging/redhat/kronolith.conf
kronolith/packaging/redhat/kronolith.spec
kronolith/perms.php
kronolith/scripts/agenda.php
kronolith/scripts/import_icals.php
kronolith/scripts/import_squirrelmail_calendar.php
kronolith/scripts/upgrades/1.1_to_2.0.mysql.sql
kronolith/scripts/upgrades/1.1_to_2.0.oci8.sql
kronolith/scripts/upgrades/1.1_to_2.0.pgsql.sql
kronolith/scripts/upgrades/2.1_to_2.2.pgsql.sql
kronolith/scripts/upgrades/2.1_to_2.2.sql
kronolith/scripts/upgrades/2006-03-16_add_private_flag.sql
kronolith/scripts/upgrades/2008-10-21_add_allday_flag.pgsql.sql
kronolith/scripts/upgrades/2008-10-21_add_allday_flag.sql
kronolith/scripts/upgrades/convert_datatree_shares_to_sql.php
kronolith/scripts/upgrades/convert_to_utc.php
kronolith/templates/javascript_defs.php
kronolith/themes/bluewhite/screen.css
kronolith/themes/burntorange/screen.css
kronolith/themes/fadetogreen/screen.css
kronolith/themes/mozilla/screen.css
kronolith/themes/print/screen.css
kronolith/themes/screen.css
kronolith/themes/silver/screen.css
kronolith/themes/simplex/screen.css
kronolith/themes/tango-blue/screen.css
turba/config/conf.xml

index 6b45364..feef196 100644 (file)
@@ -4,15 +4,12 @@
  * mainly provides some utility functions, such as the ability to make
  * pixels or solid images for now.
  *
- * $Horde: framework/Image/Image/png.php,v 1.30 2009/01/06 17:49:20 jan Exp $
- *
  * Copyright 2003-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (LGPL). If you
  * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
  *
  * @author  Mike Cochrane <mike@graftonhall.co.nz>
- * @since   Horde 3.0
  * @package Horde_Image
  */
 class Horde_Image_Png extends Horde_Image {
index d328efe..a8cf116 100644 (file)
@@ -1,20 +1,14 @@
 <?php
-
-require_once dirname(__FILE__) . '/../Image.php';
-
 /**
  * This class implements the Horde_Image:: API for SWF, using the PHP
  * Ming extension.
  *
- * $Horde: framework/Image/Image/swf.php,v 1.35 2009/01/06 17:49:20 jan Exp $
- *
  * Copyright 2002-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (LGPL). If you
  * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
  *
  * @author  Chuck Hagenbuch <chuck@horde.org>
- * @since   Horde 3.0
  * @package Horde_Image
  */
 class Horde_Image_Swf extends Horde_Image {
index 2d30976..a606c39 100644 (file)
@@ -2,13 +2,11 @@
 /**
  * RGB color names/values.
  *
- * $Horde: framework/Image/Image/rgb.php,v 1.3 2005/10/13 05:59:17 selsky Exp $
- *
  * @package Horde_Image
  */
 $GLOBALS['horde_image_rgb_colors'] = array(
-    'aqua' => array(0, 255, 255),              
-    'lime' => array(0, 255, 0),                
+    'aqua' => array(0, 255, 255),
+    'lime' => array(0, 255, 0),
     'teal' => array(0, 128, 128),
     'whitesmoke' => array(245, 245, 245),
     'gainsboro' => array(220, 220, 220),
index 867f114..ca8f5b4 100644 (file)
@@ -7,8 +7,6 @@
  * The Horde_Form_Renderer class provides HTML and other renderings of
  * forms for the Horde_Form:: package.
  *
- * $Horde: incubator/Horde_Form/Horde/Form/Renderer.php,v 1.7 2007/09/16 19:51:08 chuck Exp $
- *
  * Copyright 2001-2007 Robert E. Coyle <robertecoyle@hotmail.com>
  * Copyright 2005-2007 Matt Warden <mwarden@gmail.com>
  *
index 60947ba..c182328 100644 (file)
@@ -3,8 +3,6 @@
  * The Horde_Form_VarRenderer:: class provides base functionality for
  * other Horde_Form elements.
  *
- * $Horde: incubator/Horde_Form/Horde/Form/VarRenderer.php,v 1.8 2008/01/02 11:12:48 jan Exp $
- *
  * Copyright 2003-2009 The Horde Project (http://www.horde.org/)
  * Copyright 2005-2007 Matt Warden <mwarden@gmail.com>
  *
index 68ec1e3..aa2e2cb 100644 (file)
@@ -2,8 +2,6 @@
 /**
  * The Horde_Form_VarRenderer_Xhtml:: class renders variables as Xhtml.
  *
- * $Horde: incubator/Horde_Form/Horde/Form/VarRenderer/Xhtml.php,v 1.14 2008/01/02 11:12:48 jan Exp $
- *
  * Copyright 2003-2009 The Horde Project (http://www.horde.org/)
  * Copyright 2005 Matt Warden <mwarden@gmail.com>
  *
index 7385043..b87dfc5 100644 (file)
@@ -4,15 +4,12 @@
  *
  * The initial Horde_Form xhtml rewrite was supported by Google SoC
  * 2005.
- *
- * $Horde: incubator/Horde_Form/test.php,v 1.25 2008/09/02 17:43:09 chuck Exp $
  */
 
 @define('HORDE_BASE', dirname(__FILE__) . '/../..');
 @define('INCUBATOR_BASE', dirname(__FILE__));
 
 require_once HORDE_BASE . '/lib/core.php';
-require_once 'Horde/Autoloader.php';
 Horde_Autoloader::addClassPath(dirname(__FILE__));
 $registry = Horde_Registry::singleton();
 $vars = Horde_Variables::getDefaultVariables();
index 142da6b..0edfe2d 100644 (file)
@@ -2,8 +2,6 @@
 /**
  * @package Horde_Rdo
  * @subpackage UnitTests
- *
- * $Horde: framework/Rdo/examples/Horde/Rdo/Clotho.php,v 1.2 2008/09/02 17:24:59 chuck Exp $
  */
 
 require_once 'Horde/Autoloader.php';
index 107c84d..7497b0a 100644 (file)
@@ -2,8 +2,6 @@
 /**
  * @package Horde_Rdo
  * @subpackage UnitTests
- *
- * $Horde: framework/Rdo/examples/Horde/Rdo/RelationshipTest.php,v 1.1 2008/03/05 20:37:32 chuck Exp $
  */
 
 // class definitions.
index ea2361d..de3131d 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: framework/Rdo/examples/Horde/Rdo/Task.php,v 1.2 2008/09/02 17:24:59 chuck Exp $
- *
  * @package Horde_Rdo
  */
 
index ef38514..2f6627e 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: framework/Rdo/examples/Horde/Rdo/User.php,v 1.3 2008/09/02 17:24:59 chuck Exp $
- *
  * @package Horde_Rdo
  */
 
index 9d163bd..d7c25d7 100644 (file)
@@ -1,4 +1,3 @@
--- $Horde: framework/Rdo/examples/Horde/Rdo/users.mysql.sql,v 1.1 2008/03/05 20:37:32 chuck Exp $
 CREATE TABLE users (
     id INT(11) auto_increment  NOT NULL,
     name varchar(255),
index a527783..5ecef6b 100644 (file)
@@ -1,4 +1,3 @@
--- $Horde: framework/Rdo/examples/Horde/Rdo/users.pgsql.sql,v 1.1 2008/03/05 20:37:32 chuck Exp $
 CREATE TABLE users (
     id bigserial NOT NULL,
     name varchar(255),
index 67b378c..9619286 100644 (file)
@@ -1,4 +1,3 @@
--- $Horde: framework/Rdo/examples/Horde/Rdo/users.sqlite.sql,v 1.1 2008/03/05 20:37:32 chuck Exp $
 CREATE TABLE users (
     id INTEGER PRIMARY KEY AUTOINCREMENT,
     name VARCHAR(255),
index 7ffef3b..dae3283 100644 (file)
@@ -4,13 +4,10 @@
  *
  * Copyright 2006-2007 Duck <duck@obala.net>
  *
- * $Horde: incubator/Horde_Rdo/crud.php,v 1.8 2008/09/02 17:25:04 chuck Exp $
- *
  * See the enclosed file COPYING for license information (LGPL). If you
  * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
  *
  * @author  Duck <duck@obala.net>
- * @since   Horde 4.0
  * @package Horde_Rdo
  */
 
index 398f844..9d24944 100644 (file)
@@ -4,13 +4,10 @@
  *
  * Copyright 2006-2007 Duck <duck@obala.net>
  *
- * $Horde: incubator/Horde_Rdo/index.php,v 1.2 2007/06/27 17:23:28 jan Exp $
- *
  * See the enclosed file COPYING for license information (LGPL). If you
  * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
  *
  * @author  Duck <duck@obala.net>
- * @since   Horde 4.0
  * @package Horde_Rdo
  */
 
index 3e45a74..63b913d 100644 (file)
@@ -35,7 +35,7 @@ if (!defined('INGO_TEMPLATES')) {
 }
 
 // Notification system.
-$notification = &Horde_Notification::singleton();
+$notification = Horde_Notification::singleton();
 $notification->attach('status');
 
 // Redirect the user to the Horde login page if they haven't authenticated.
@@ -58,7 +58,7 @@ if (!isset($_SESSION['ingo']) || !is_array($_SESSION['ingo'])) {
 // Create shares if necessary.
 $driver = Ingo::getDriver();
 if ($driver->supportShares()) {
-    $GLOBALS['ingo_shares'] = &Horde_Share::singleton($registry->getApp());
+    $GLOBALS['ingo_shares'] = Horde_Share::singleton($registry->getApp());
     $GLOBALS['all_rulesets'] = Ingo::listRulesets();
 
     /* If personal share doesn't exist then create it. */
index 309e802..bfb7a2c 100755 (executable)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Horde: ingo/locale/ca_ES/help.xml,v 1.3 2007/04/16 18:01:31 jan Exp $ -->
 <help>
   <entry id="blacklist" md5="5c12e162f66f68c6c2d84cc7c280d710" state="uptodate">
     <title>Llista negra</title>
@@ -30,7 +29,7 @@
     <title>Reenviar: Adreces</title>
     <heading>Reenviar: Adreces</heading>
     <para>
-    Pot optar per reexpedir el correu entrant a altre compte. Pot introduir tantes adreces com desitgi, cadascuna en una línia diferent. 
+    Pot optar per reexpedir el correu entrant a altre compte. Pot introduir tantes adreces com desitgi, cadascuna en una línia diferent.
     </para>
   </entry>
   <entry id="forward-keepcopy" md5="be1f36c2f9a8dcba7517b8edf5319d64" state="uptodate">
   <entry id="rule-action" md5="0f66574fec21645147b3cbb967cc23b1" state="uptodate">
     <title>Regla de filtratge: Acció</title>
     <para>
-    Aquestes són les accions que es poden portar a terme si un missatge entrant compleix la condició indicada. Tingui en compte que pot ser que no totes aquestes opcions estan disponibles - només es mostraran les opcions que funcionin amb el programari de filtrat utilitzat. 
+    Aquestes són les accions que es poden portar a terme si un missatge entrant compleix la condició indicada. Tingui en compte que pot ser que no totes aquestes opcions estan disponibles - només es mostraran les opcions que funcionin amb el programari de filtrat utilitzat.
     </para>
     <heading>Entregar a la meva bústia d'entrada</heading>
     <para>
-El missatge es guardarà a la bústia a la seva safata d'entrada. Ã‰s la opció per omisió. 
+El missatge es guardarà a la bústia a la seva safata d'entrada. Ã‰s la opció per omisió.
     </para>
     <heading>Entregar a la bústia</heading>
     <para>
@@ -74,7 +73,7 @@ El missatge s'emmagatzemar
     </para>
     <heading>Eliminar completament el missatge</heading>
     <para>
-    S'eliminarà silenciosament el missatge. Ni vostè ni el remitent rebran notificació alguna que ha succeït. 
+    S'eliminarà silenciosament el missatge. Ni vostè ni el remitent rebran notificació alguna que ha succeït.
     </para>
     <heading>Redirigir a</heading>
     <para>
@@ -86,7 +85,7 @@ El missatge s'emmagatzemar
     </para>
     <heading>Rebutjar el motiu</heading>
     <para>
-    El missatge original s'eliminarà i s'enviarà un missatge nou al remitent amb el text que indiqui. 
+    El missatge original s'eliminarà i s'enviarà un missatge nou al remitent amb el text que indiqui.
     </para>
   </entry>
   <entry id="rule-combine" md5="29484c1ebdd7ce71edc34fc8100ef69c" state="uptodate">
@@ -124,7 +123,7 @@ El missatge s'emmagatzemar
   <entry id="rule-matches" md5="517e24971f2c5443b2ed04e9c504e7eb" state="uptodate">
     <title>Regla de filtrat: Coincidència</title>
     <para>
-   A cada condició d'una regla hi ha tres components. El primer en el camp que cal examinar. El segon Ã©s el tipus de comparació a realitzar. El tercer Ã©s el valor amb el qual cal comparar el camp. Existeixen diversos tipus diferents de comparances realizables. Les comparances disponibles per a cada camp depenen tant del tipus de camp com del que pugui manejar el programari utilitzat. Per això no totes les següents possibles opcions de coincidència apareixeran en un camp determinat. 
+   A cada condició d'una regla hi ha tres components. El primer en el camp que cal examinar. El segon Ã©s el tipus de comparació a realitzar. El tercer Ã©s el valor amb el qual cal comparar el camp. Existeixen diversos tipus diferents de comparances realizables. Les comparances disponibles per a cada camp depenen tant del tipus de camp com del que pugui manejar el programari utilitzat. Per això no totes les següents possibles opcions de coincidència apareixeran en un camp determinat.
     </para>
     <heading>Conté</heading>
     <para>
@@ -136,7 +135,7 @@ El missatge s'emmagatzemar
     </para>
     <heading>És</heading>
     <para>
-    Es considerarà cert si la cadena indicada coincideix exactament amb la línia. Exemple: usuari@exemple Ã©s usuari@exemple 
+    Es considerarà cert si la cadena indicada coincideix exactament amb la línia. Exemple: usuari@exemple Ã©s usuari@exemple
     </para>
     <heading>No Ã©s</heading>
     <para>
@@ -148,7 +147,7 @@ El missatge s'emmagatzemar
     </para>
     <heading>No comença per</heading>
     <para>
-    Es considerarà cert si la cadena indicada no coincideix amb el començament de la línia. Exemple: josep@exemple.com No comença per usuari@exemple 
+    Es considerarà cert si la cadena indicada no coincideix amb el començament de la línia. Exemple: josep@exemple.com No comença per usuari@exemple
     </para>
     <heading>Finalitza per</heading>
     <para>
@@ -156,7 +155,7 @@ El missatge s'emmagatzemar
     </para>
     <heading>No finalitza per</heading>
     <para>
-    Es considerarà cert si la cadena indicada no coincideix amb el final de la línia. Exemple: usuari@exemple No acaba per @exemple.com 
+    Es considerarà cert si la cadena indicada no coincideix amb el final de la línia. Exemple: usuari@exemple No acaba per @exemple.com
     </para>
     <heading>Existeix</heading>
     <para>
@@ -172,31 +171,31 @@ Es considerar
     Exemple: "Rebut des de [*\.*\.*\.*] per (amfitrio-a|amfitrio-b).exemple.com*" s'ha de cumplir amb "Rebut des de [172.16.100.1] per amfitrio-a.exemple.com el Dimarts"
     </para>
     <heading>Coincideix</heading>
-    <para>Coincideix Ã©s semblat a Conté amb la excepció que poden utilitzar-se * i ? com comodins. Un * substituirà qualsevol número de caràcters i una ? substituirà exactament un. Exemple: "*usuari?@exemple.com" es complirá tant amb "usuari1@exemple.com" com amb "otrousuario2@exemple.com" 
+    <para>Coincideix Ã©s semblat a Conté amb la excepció que poden utilitzar-se * i ? com comodins. Un * substituirà qualsevol número de caràcters i una ? substituirà exactament un. Exemple: "*usuari?@exemple.com" es complirá tant amb "usuari1@exemple.com" com amb "otrousuario2@exemple.com"
     </para>
     <heading>No coincideix</heading>
     <para>
-No coincideix Ã©s el mateix que Coincideix excepte per que serà fals si el valor indicat coincideix amb la cadena de la capçalera del missatge.     
+No coincideix Ã©s el mateix que Coincideix excepte per que serà fals si el valor indicat coincideix amb la cadena de la capçalera del missatge.
     </para>
     <heading>Menor que</heading>
     <para>
-Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge. 
+Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge.
     </para>
     <heading>Menor o igual que</heading>
     <para>
-Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge. 
+Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge.
     </para>
     <heading>Igual que</heading>
     <para>
-Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge. 
+Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge.
     </para>
     <heading>Major o igual que</heading>
     <para>
-   Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge. 
+   Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge.
     </para>
     <heading>Major que</heading>
     <para>
-   Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge. 
+   Aquesta Ã©s una prova relacional que compara numéricament el valor indicat i el valor de la capçalera del missatge.
     </para>
   </entry>
   <entry id="rule-name" md5="8faaf71e4bf2f91d943d77f803f9a2d5" state="uptodate">
@@ -208,13 +207,13 @@ Es tracta d'un nom descriptiu d'una regla. Pot usar-lo per a identificar una reg
   <entry id="rule-stop" md5="677c920effca959123b7d539b3b0d864" state="uptodate">
     <title>Regla de filtrat: Detenir comprovació</title>
     <para>
-Si s'activa aquesta opció i un missatge compleix la regla, la resta dels missatges no es processarán. 
+Si s'activa aquesta opció i un missatge compleix la regla, la resta dels missatges no es processarán.
     </para>
   </entry>
   <entry id="vacation" md5="2c9e12973d36fe94aeb73b32db9a64e6" state="uptodate">
     <title>Absència</title>
     <para>
-Els missatges d'absència són respostes automàticas enviades a la gent que li envíi correu. Normalment s'utilitzen quan va a estar absent per un llarg període de temps. 
+Els missatges d'absència són respostes automàticas enviades a la gent que li envíi correu. Normalment s'utilitzen quan va a estar absent per un llarg període de temps.
     </para>
   </entry>
   <entry id="vacation-period" state="new">
@@ -224,50 +223,50 @@ Els missatges d'abs
   <entry id="vacation-bulk" md5="6f6e4178e80f46e7876c7ee5d0ac53b7" state="uptodate">
     <title>Absència: No respondre a orri</title>
     <para>
-Activant aquesta opció les respostes per absència no s'enviaran amb missatges que semblin procedir de llistes de correu o que estiguin marcats com correu a orri. 
+Activant aquesta opció les respostes per absència no s'enviaran amb missatges que semblin procedir de llistes de correu o que estiguin marcats com correu a orri.
     </para>
   </entry>
   <entry id="vacation-days" md5="25ba74c0e79ce72237795eb809ee4585" state="uptodate">
     <title>Absència: Interval de resposta</title>
     <para>
-És el nombre de dies a esperar abans de tornar a enviar una resposta automàtica a una adreça que ja hagi rebut una. 
+És el nombre de dies a esperar abans de tornar a enviar una resposta automàtica a una adreça que ja hagi rebut una.
     </para>
   </entry>
   <entry id="vacation-myemail" md5="ef3fa70e940ed1472276c0fde5ae2aed" state="uptodate">
     <title>Absència: Les meves adreces de correu</title>
     <para>
-Si té més d'una adreça de correu assignades a aquesta bústia, indiqueu-les aquí. 
+Si té més d'una adreça de correu assignades a aquesta bústia, indiqueu-les aquí.
     </para>
   </entry>
   <entry id="vacation-noresponse" md5="2b72e12b6989c9ef1667a59040c70310" state="uptodate">
     <title>Absència: Sense respostes</title>
     <para>
-No enviar la notificació d'absència a aquests destinataris. Cada adreça ha d'estar en una línia diferent. 
+No enviar la notificació d'absència a aquests destinataris. Cada adreça ha d'estar en una línia diferent.
     </para>
   </entry>
   <entry id="vacation-reason" md5="d4da2f3a0d357e00950ec57d984cbcee" state="uptodate">
     <title>Absència: Motiu de l'absència</title>
     <para>
-És el text que s'enviarà en les seves notificacions d'absència.     
+És el text que s'enviarà en les seves notificacions d'absència.
     </para>
   </entry>
   <entry id="vacation-subject" md5="ce16c7c6a08993821208cfbee0b188a0" state="uptodate">
     <title>Absència: Assumpte de l'absència</title>
     <para>
-És l'assumpte que s'utilitzarà en les notificacions d'absència.     
+És l'assumpte que s'utilitzarà en les notificacions d'absència.
     </para>
   </entry>
   <entry id="whitelist" md5="ecbf7000f107832d68bd7ba8f5121909" state="uptodate">
     <title>Llista blanca</title>
     <heading>Llista blanca</heading>
     <para>
-La llista blanca Ã©s un llistat d'adreces (legítimes) de les quals sempre desitja poder veure els missatges en la safata d'Entrada. Cada adreça ha d'incloure's en una línia distinta. 
+La llista blanca Ã©s un llistat d'adreces (legítimes) de les quals sempre desitja poder veure els missatges en la safata d'Entrada. Cada adreça ha d'incloure's en una línia distinta.
     </para>
   </entry>
   <entry id="whitelist-addresses" md5="8fe054c1b55e6adc81d1d8525c131637" state="uptodate">
     <title>Llista blanca: Adreces</title>
     <para>
-   PENDENT. Cada adreça ha d'incloure's en una línia distinta. 
+   PENDENT. Cada adreça ha d'incloure's en una línia distinta.
     </para>
   </entry>
   <entry id="spam-level" state="new">
index 157d117..2d58108 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Horde: ingo/locale/de_DE/help.xml,v 1.6 2007/04/16 18:01:10 jan Exp $ -->
 <help>
   <entry id="blacklist" md5="5c12e162f66f68c6c2d84cc7c280d710" state="uptodate">
     <title>Ausschlussliste</title>
@@ -37,7 +36,7 @@
       in der Ausschlussliste gelöscht, haben die nachfolgenden Regeln
       keinen Einfluss auf diese Email mehr.</tip>
     </para>
-    
+
   </entry>
   <entry id="forward" md5="c9664b960ceef87cab4af83e8f33412c" state="uptodate">
     <title>Weiterleitung</title>
index 6bee830..31ea11e 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0"?>
-<!-- $Horde: ingo/locale/en_US/help.xml,v 1.16 2007/04/16 17:30:26 jan Exp $ -->
 <help>
   <entry id="blacklist">
     <title>Blacklist</title>
index 3c82a70..358dcc2 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0"?>
-<!-- $Horde: ingo/locale/es_ES/help.xml,v 1.7 2008/02/19 22:28:03 jan Exp $ -->
 <help>
        <entry id="blacklist" md5="5c12e162f66f68c6c2d84cc7c280d710" state="uptodate">
                <title>Lista negra</title>
index f5132a1..d431367 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0"?>
-<!-- $Horde: ingo/locale/eu_ES/help.xml,v 1.1 2008/07/17 21:07:11 jan Exp $ -->
 <help><entry id="blacklist" md5="5c12e162f66f68c6c2d84cc7c280d710" state="uptodate">
     <title>Zerrenda beltza</title>
     <para>SARRERAKO ONTZIAn ikusi nahi ez dituzun helbide elektronikoen zerrenda bat da zerrenda beltza.</para></entry> <entry id="blacklist-action" md5="1701f4152c090004e3b40205439f9108" state="uptodate">
index b4e1832..2a40061 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0"?>
-<!-- $Horde: ingo/locale/fi_FI/help.xml,v 1.6 2008/02/22 13:35:45 jan Exp $ -->
 <help>
   <entry id="blacklist" state="uptodate" md5="5c12e162f66f68c6c2d84cc7c280d710">
     <title>Musta lista</title>
index fe3a8bf..5f18269 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Horde: ingo/locale/fr_FR/help.xml,v 1.3 2007/04/16 18:01:30 jan Exp $ -->
 <help>
   <entry id="blacklist" md5="5c12e162f66f68c6c2d84cc7c280d710" state="uptodate">
     <title>Liste noire</title>
@@ -7,36 +6,36 @@
     <para>
 La liste noire est une liste des adresses de courriel dont vous ne désirez pas recevoir de courriel dans votre boîte de réception.
     </para>
-       
+
 </entry>
   <entry id="blacklist-action" md5="1701f4152c090004e3b40205439f9108" state="uptodate">
     <title>Liste noire: Action</title>
     <para>
-           Cette action définit ce que vous désirez faire lorsqu'un message provenant d'une adresse que vous avez bloquée vous est envoyé.  Les valeurs possibles sont de supprimer le message complètement, de marquer le message comme supprimé ou de déplacer le message vers un dossier. Dans le cas où le message est complètement supprimé, le message sera Ã©carté avant même de parvenir Ã  votre boîte de réception. Si vous marquez le message comme supprimé, il se retrouvera alors dans votre corbeille.    
+           Cette action définit ce que vous désirez faire lorsqu'un message provenant d'une adresse que vous avez bloquée vous est envoyé.  Les valeurs possibles sont de supprimer le message complètement, de marquer le message comme supprimé ou de déplacer le message vers un dossier. Dans le cas où le message est complètement supprimé, le message sera Ã©carté avant même de parvenir Ã  votre boîte de réception. Si vous marquez le message comme supprimé, il se retrouvera alors dans votre corbeille.
     </para>
-       
+
 </entry>
   <entry id="blacklist-addresses" md5="3431e98a8d15bfa645af394cefd8346d" state="uptodate">
     <title>Liste noire: Adresses</title>
     <para>
     La liste des adresses Ã  bloquer. Chaque adresse doit Ãªtre entrée sur un ligne séparée.
     </para>
-       
+
 </entry>
   <entry id="filters_rules" md5="d84617a2f5002d24ef11509e5f4eb6c0" state="uptodate">
     <title>Règles de filtrage</title>
     <para> Ceci est l'écran principal où trouver les règles. D'ici, vous pouvez:
-           - créer de nouvelles règles en cliquant sur le bouton Â« Nouvelle règle Â»; 
+           - créer de nouvelles règles en cliquant sur le bouton Â« Nouvelle règle Â»;
            - réarranger l'ordre des règles en cliquant les flèches vers le haut ou vers le bas, ou en entrant la nouvelle position de la règle dans le champ Â« A Â»: Ã  droite de la règle;
            - activer ou désactiver des règles spécifiques en cliquant sur l'icône situé dans la colonne Â« Activé Â»;
-           - modifier une règle Ã  la fois en cliquant sur l'icône de gauche de la colonne Â« Modifier Â» ou sur le nom de la règle. 
+           - modifier une règle Ã  la fois en cliquant sur l'icône de gauche de la colonne Â« Modifier Â» ou sur le nom de la règle.
     </para>
     <para>
            <tip>Veuillez noter que les règles sont exécutées dans l'ordre où elles sont affichées ici.
                    Par exemple, si un courriel est supprimé par la liste noire, les règles qui suivent n'auront aucune influence sur ce courriel.
            </tip>
     </para>
-       
+
   </entry>
   <entry id="forward" md5="c9664b960ceef87cab4af83e8f33412c" state="uptodate">
     <title>Redirection</title>
@@ -44,15 +43,15 @@ La liste noire est une liste des adresses de courriel dont vous ne d
     <para>
 Vous pouvez choisir de rediriger automatiquement vos courriels entrants vers d'autres adresses.
     </para>
-       
+
 </entry>
   <entry id="forward-addresses" md5="817c5f002f99c0afd0010aabaf07c91c" state="uptodate">
        <title>Redirection: Adresses</title>
        <heading>Redirection: Adresses</heading>
        <para>
-               Vous pouvez rediriger vos courriels entrants vers un autre compte.  Vous pouvez entrer autant d'adresses que vous désirez.Entrez chaque adresse sur une ligne différente. 
+               Vous pouvez rediriger vos courriels entrants vers un autre compte.  Vous pouvez entrer autant d'adresses que vous désirez.Entrez chaque adresse sur une ligne différente.
        </para>
-       
+
 </entry>
   <entry id="forward-keepcopy" md5="be1f36c2f9a8dcba7517b8edf5319d64" state="uptodate">
     <title>Redirection: Garder une copie</title>
@@ -62,7 +61,7 @@ Si cette option est s
 sauvegardée dans votre compte en même temps qu'ils seront envoyés vers les
 adresses où vous avez choisi de rediriger vos courriels.
     </para>
-       
+
 </entry>
   <entry id="pref-show_filter_msg" md5="d8795e5b71c6287ed7bfe3f8dc4f4861" state="uptodate">
     <title>Option: Afficher un message détaillé après l'application de chaque
@@ -74,7 +73,7 @@ adresses o
            Sinon, seul un sommaire de l'action des filtres sera affiché Ã 
            l'écran.
           </para>
-  
+
   </entry>
   <entry id="pref-filter_seen" md5="85687c69db6145d77053a8b6302e5ad2" state="uptodate">
     <title>Option: Filtrer seulement les messages [non] vus?</title>
@@ -82,7 +81,7 @@ adresses o
            tenter d'appliquer les règles de filtrage Ã  la boîte de réception.
            Vous pouvez soit appliquer les règles Ã  tous les messages, seulement
            aux messages non vus, ou aux messages vus.</para>
-  
+
   </entry>
   <entry id="rule" md5="cf211ec97956e9adc3b8f01b2a40888f" state="uptodate">
     <title>Règle de filtrage</title>
@@ -184,7 +183,7 @@ action d'une r
     </para>
     <heading>Ne contient pas</heading>
     <para>
-    Sera considéré vrai si la chaîne spécifiée n'est pas trouvée danns le champ. 
+    Sera considéré vrai si la chaîne spécifiée n'est pas trouvée danns le champ.
     </para>
     <heading>Est</heading>
     <para>
@@ -265,7 +264,7 @@ Sera consid
     Ceci est un test relationnel qui compare la valeur que vous spécifié et la
     valeur de l'en-tête du message numériquement.
     </para>
-    
+
 
 </entry>
   <entry id="rule-name" md5="8faaf71e4bf2f91d943d77f803f9a2d5" state="uptodate">
@@ -288,7 +287,7 @@ Sera consid
     <para>Les messages d'absences sont des réponses automatiques envoyées aux
            gens qui vous Ã©crivent. Ils sont normalement utilisés lorsque vous
            Ãªtes Ã  l'extérieur pour une longue période.</para>
-  
+
   </entry>
   <entry id="vacation-period" state="new">
      <title>Vacation Period</title>
@@ -299,36 +298,36 @@ Sera consid
     <para>En cochant cette option, les messages d'absences ne seront pas envoyés
            si le message semble provenir d'une liste de diffusion ou est marqué
            comme un envoi massif.</para>
-  
+
   </entry>
   <entry id="vacation-days" md5="25ba74c0e79ce72237795eb809ee4585" state="uptodate">
     <title>Absence: Nombre de jours entre les messages d'absence</title>
     <para>Correspond au nombre de jours d'attente avant que le système n'envoie
            un message d'absence Ã  une adresse qui en a déjà reçu un.
     </para>
-  
+
   </entry>
   <entry id="vacation-myemail" md5="ef3fa70e940ed1472276c0fde5ae2aed" state="uptodate">
     <title>Absence: Mes adresses courriel</title>
     <para>Si vous avez plus d'une adresse courriel entrant dans cette boîte de
            réception, spécifiez les ici.</para>
-  
+
   </entry>
   <entry id="vacation-noresponse" md5="2b72e12b6989c9ef1667a59040c70310" state="uptodate">
     <title>Absence: adresses auxquelles ne pas envoyer de réponses</title>
     <para>Ne pas envoyer de message d'absence Ã  ces adresses. Chaque adresse
            doit Ãªtre entrée sur une ligne séparée.</para>
-  
+
   </entry>
   <entry id="vacation-reason" md5="d4da2f3a0d357e00950ec57d984cbcee" state="uptodate">
     <title>Absence: raison</title>
     <para>C'est le texte qui sera envoyé dans le message d'absence.</para>
-    
+
   </entry>
   <entry id="vacation-subject" md5="ce16c7c6a08993821208cfbee0b188a0" state="uptodate">
     <title>Absence: Sujet du message d'absence</title>
     <para>C'est le sujet qui sera utilisé pour le message d'absence.</para>
-    
+
   </entry>
   <entry id="whitelist" md5="ecbf7000f107832d68bd7ba8f5121909" state="uptodate">
     <title>Liste blanche</title>
index 19c4bbd..f3dfa4a 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Horde: ingo/locale/lv_LV/help.xml,v 1.5 2007/04/16 18:01:30 jan Exp $ -->
 <help>
   <entry id="blacklist" md5="74bee567c19947a8c9de526f92137256" state="changed">
     <title>Melnais saraksts</title>
index 5fe981d..50c8c56 100644 (file)
@@ -8,12 +8,12 @@
  * @author Eric Rostetter <eric.rostetter@physics.utexas.edu>
  */
 
-define('JETA_BASE', dirname(__FILE__));
+require_once dirname(__FILE__) . '/lib/base.load.php';
 $jeta_configured = (is_readable(JETA_BASE . '/config/conf.php') &&
                     is_readable(JETA_BASE . '/config/prefs.php'));
 
 if (!$jeta_configured) {
-    require JETA_BASE . '/../lib/Test.php';
+    require HORDE_BASE . '/lib/Test.php';
     Horde_Test::configFilesMissing('Jeta', JETA_BASE, array('conf.php'));
 }
 
diff --git a/jeta/lib/base.load.php b/jeta/lib/base.load.php
new file mode 100644 (file)
index 0000000..fa3ae22
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Script to determine the correct *_BASE values.
+ *
+ * Copyright 2009 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @package Jeta
+ */
+
+$curr_dir = dirname(__FILE__);
+
+if (!defined('HORDE_BASE')) {
+    /* Temporary fix - if horde does not live directly under the app
+     * directory, the HORDE_BASE constant should be defined in
+     * lib/base.local.php. */
+    if (file_exists($curr_dir . '/base.local.php')) {
+        include $curr_dir . '/base.local.php';
+    } else {
+        define('HORDE_BASE', $curr_dir . '/../..');
+    }
+}
+
+if (!defined('JETA_BASE')) {
+    define('JETA_BASE', $curr_dir . '/..');
+}
index 8eee5c9..019e895 100644 (file)
  * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
  */
 
-// Check for a prior definition of HORDE_BASE (perhaps by an
-// auto_prepend_file definition for site customization).
-if (!defined('HORDE_BASE')) {
-    define('HORDE_BASE', dirname(__FILE__) . '/../..');
-}
-
-// Find the base file path of Jeta.
-if (!defined('JETA_BASE')) {
-    define('JETA_BASE', dirname(__FILE__) . '/..');
-}
+// Determine BASE directories.
+require_once dirname(__FILE__) . '/base.load.php';
 
 // Load the Horde Framework core.
 require_once HORDE_BASE . '/lib/core.php';
@@ -40,8 +32,5 @@ $conf = &$GLOBALS['conf'];
 define('JETA_TEMPLATES', $registry->get('templates'));
 
 // Notification system.
-$notification = &Horde_Notification::singleton();
+$notification = Horde_Notification::singleton();
 $notification->attach('status');
-
-// Includes.
-require_once JETA_BASE . '/lib/Jeta.php';
index 6146a73..5e9ba1b 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version='1.0'?>
-<!-- $Horde: jeta/locale/es_ES/help.xml,v 1.1 2008/03/21 00:28:27 jan Exp $ -->
 <help>
 
 <entry id="Overview">
index 310835a..3a0f17a 100644 (file)
@@ -9,7 +9,8 @@
  */
 
 /* Include Horde's core.php file. */
-include_once '../lib/core.php';
+require_once dirname(__FILE__) . '/lib/base.load.php';
+include_once HORDE_BASE . '/lib/core.php';
 
 /* We should have loaded the Horde_String class, from the Horde_Util
    package, in core.php. If Horde_String:: isn't defined, then we're not
@@ -20,16 +21,16 @@ if (!class_exists('Horde_String')) {
 }
 
 /* Initialize the Horde_Test:: class. */
-if (!is_readable('../lib/Test.php')) {
+if (!is_readable(HORDE_BASE . '/lib/Test.php')) {
     echo 'ERROR: You must install Horde before running this script.';
     exit;
 }
-require_once '../lib/Test.php';
-$horde_test = new Horde_Test;
+require_once HORDE_BASE . '/lib/Test.php';
+$horde_test = new Horde_Test();
 
 /* Jeta version. */
 $module = 'Jeta';
-require_once './lib/version.php';
+require_once JETA_BASE . '/lib/version.php';
 $module_version = JETA_VERSION;
 
 /* Jeta configuration files. */
index 19aba28..9dc3ab7 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: kronolith/calendars/delete.php,v 1.7 2009/01/06 18:01:00 jan Exp $
- *
  * Copyright 2002-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
@@ -10,8 +8,7 @@
  * @author Chuck Hagenbuch <chuck@horde.org>
  */
 
-@define('KRONOLITH_BASE', dirname(dirname(__FILE__)));
-require_once KRONOLITH_BASE . '/lib/base.php';
+require_once dirname(__FILE__) . '/../lib/base.php';
 require_once KRONOLITH_BASE . '/lib/Forms/DeleteCalendar.php';
 
 // Exit if this isn't an authenticated user.
index 00c7ccd..a88023a 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: kronolith/calendars/edit.php,v 1.5 2009/01/06 18:01:00 jan Exp $
- *
  * Copyright 2002-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
@@ -10,8 +8,7 @@
  * @author Chuck Hagenbuch <chuck@horde.org>
  */
 
-@define('KRONOLITH_BASE', dirname(dirname(__FILE__)));
-require_once KRONOLITH_BASE . '/lib/base.php';
+require_once dirname(__FILE__) . '/../lib/base.php';
 require_once KRONOLITH_BASE . '/lib/Forms/EditCalendar.php';
 
 // Exit if this isn't an authenticated user.
index b85aae0..1443d4f 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: kronolith/calendars/index.php,v 1.5 2009/01/06 18:01:00 jan Exp $
- *
  * Copyright 2002-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
@@ -23,8 +21,7 @@ function shorten_url($url, $separator = '...', $first_chunk_length = 35, $last_c
     return $url;
 }
 
-@define('KRONOLITH_BASE', dirname(dirname(__FILE__)));
-require_once KRONOLITH_BASE . '/lib/base.php';
+require_once dirname(__FILE__) . '/../lib/base.php';
 require_once 'Horde/RPC.php';
 if (@include_once 'HTTP/WebDAV/Server.php') {
     require_once 'Horde/RPC/webdav.php';
index 2583cb0..b42f27a 100644 (file)
@@ -1,15 +1,12 @@
 <?php
 /**
- * $Horde: kronolith/calendars/info.php,v 1.8 2009/01/06 18:01:00 jan Exp $
- *
  * Copyright 2002-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
  * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
  */
 
-@define('KRONOLITH_BASE', dirname(dirname(__FILE__)));
-require_once KRONOLITH_BASE . '/lib/base.php';
+require_once dirname(__FILE__) . '/../lib/base.php';
 
 // Exit if this isn't an authenticated user.
 if (!Horde_Auth::getAuth()) {
index 622b6c8..1903260 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: kronolith/calendars/remote_edit.php,v 1.4 2009/01/06 18:01:00 jan Exp $
- *
  * Copyright 2002-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
@@ -10,8 +8,7 @@
  * @author Chuck Hagenbuch <chuck@horde.org>
  */
 
-@define('KRONOLITH_BASE', dirname(dirname(__FILE__)));
-require_once KRONOLITH_BASE . '/lib/base.php';
+require_once dirname(__FILE__) . '/../lib/base.php';
 require_once KRONOLITH_BASE . '/lib/Forms/EditRemoteCalendar.php';
 
 // Exit if this isn't an authenticated user or if the user can't
index 306cacd..a40fba4 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: kronolith/calendars/remote_subscribe.php,v 1.3 2009/01/06 18:01:00 jan Exp $
- *
  * Copyright 2002-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
@@ -10,8 +8,7 @@
  * @author Chuck Hagenbuch <chuck@horde.org>
  */
 
-@define('KRONOLITH_BASE', dirname(dirname(__FILE__)));
-require_once KRONOLITH_BASE . '/lib/base.php';
+require_once dirname(__FILE__) . '/../lib/base.php';
 require_once KRONOLITH_BASE . '/lib/Forms/SubscribeRemoteCalendar.php';
 
 // Exit if this isn't an authenticated user or if the user can't
index f5d8f79..5de9693 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: kronolith/calendars/remote_unsubscribe.php,v 1.3 2009/01/06 18:01:00 jan Exp $
- *
  * Copyright 2002-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
@@ -10,8 +8,7 @@
  * @author Chuck Hagenbuch <chuck@horde.org>
  */
 
-@define('KRONOLITH_BASE', dirname(dirname(__FILE__)));
-require_once KRONOLITH_BASE . '/lib/base.php';
+require_once dirname(__FILE__) . '/../lib/base.php';
 require_once KRONOLITH_BASE . '/lib/Forms/UnsubscribeRemoteCalendar.php';
 
 // Exit if this isn't an authenticated user or if the user can't
index 1031276..df69a4a 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: kronolith/feed/index.php,v 1.6 2009/01/06 18:01:00 jan Exp $
- *
  * Copyright 2008-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
@@ -25,11 +23,9 @@ function _no_access($status, $reason, $body)
 
 $session_control = 'readonly';
 @define('AUTH_HANDLER', true);
-@define('KRONOLITH_BASE', dirname(__FILE__) . '/..');
-require_once KRONOLITH_BASE . '/lib/base.php';
+require_once dirname(__FILE__) . '/../lib/base.php';
 require_once KRONOLITH_BASE . '/lib/version.php';
 require_once 'Horde/Identity.php';
-require_once 'Horde/Template.php';
 
 $calendar = Horde_Util::getFormData('c');
 $share = $kronolith_shares->getShare($calendar);
index 42e680e..10a0593 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: kronolith/imple.php,v 1.5 2009/01/06 18:00:59 jan Exp $
- *
  * Copyright 2005-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
index 055c835..5a2faba 100644 (file)
@@ -6,8 +6,6 @@ $block_name = _("This Month");
  * Horde_Block_Kronolith_month:: Implementation of the Horde_Block API
  * to display a mini month view of calendar items.
  *
- * $Horde: kronolith/lib/Block/month.php,v 1.43 2008/10/16 17:39:51 mrubinsk Exp $
- *
  * @package Horde_Block
  */
 class Horde_Block_Kronolith_month extends Horde_Block {
@@ -66,7 +64,6 @@ class Horde_Block_Kronolith_month extends Horde_Block {
         // @TODO Remove this hack when maintenance is refactored.
         $no_maint = true;
         require_once dirname(__FILE__) . '/../base.php';
-        require_once KRONOLITH_BASE . '/lib/Day.php';
 
         if (isset($this->_params['calendar']) && $this->_params['calendar'] != '__all') {
             if (empty($this->_share)) {
index a899b1e..d43ec8e 100644 (file)
@@ -6,8 +6,6 @@ $block_name = _("Upcoming Events");
  * Horde_Block_Kronolith_monthlist:: Implementation of the Horde_Block API
  * to display a list of calendar items grouped by month.
  *
- * $Horde: kronolith/lib/Block/monthlist.php,v 1.57 2008/10/13 23:00:16 jan Exp $
- *
  * @package Horde_Block
  */
 class Horde_Block_Kronolith_monthlist extends Horde_Block {
@@ -64,7 +62,6 @@ class Horde_Block_Kronolith_monthlist extends Horde_Block {
         // @TODO Remove this hack when maintenance is refactored.
         $no_maint = true;
         require_once dirname(__FILE__) . '/../base.php';
-        require_once KRONOLITH_BASE . '/lib/Day.php';
 
         global $registry, $prefs;
 
index 5479c0a..b2f3c7b 100644 (file)
@@ -6,8 +6,6 @@ $block_name = _("Prior Events");
  * Horde_Block_Kronolith_monthlist:: Implementation of the Horde_Block
  * API to display a list of previous calendar items grouped by month.
  *
- * $Horde: kronolith/lib/Block/prevmonthlist.php,v 1.37 2008/10/13 23:00:17 jan Exp $
- *
  * @package Horde_Block
  */
 class Horde_Block_Kronolith_prevmonthlist extends Horde_Block {
@@ -60,7 +58,6 @@ class Horde_Block_Kronolith_prevmonthlist extends Horde_Block {
         // @TODO Remove this hack when maintenance is refactored.
         $no_maint = true;
         require_once dirname(__FILE__) . '/../base.php';
-        require_once KRONOLITH_BASE . '/lib/Day.php';
 
         global $registry, $prefs;
 
index 607947c..ae0dc76 100644 (file)
@@ -6,8 +6,6 @@ $block_name = _("Calendar Summary");
  * Horde_Block_Kronolith_summary:: Implementation of the Horde_Block API to
  * display a summary of calendar items.
  *
- * $Horde: kronolith/lib/Block/summary.php,v 1.71 2008/10/13 23:00:17 jan Exp $
- *
  * @package Horde_Block
  */
 class Horde_Block_Kronolith_summary extends Horde_Block {
@@ -79,7 +77,6 @@ class Horde_Block_Kronolith_summary extends Horde_Block {
         // @TODO Remove this hack when maintenance is refactored.
         $no_maint = true;
         require_once dirname(__FILE__) . '/../base.php';
-        require_once KRONOLITH_BASE . '/lib/Day.php';
 
         Horde::addScriptFile('tooltip.js', 'horde', true);
 
index e83658f..aacaa29 100644 (file)
@@ -4,8 +4,6 @@ $block_name = _("Menu Alarms");
 $block_type = 'tree';
 
 /**
- * $Horde: kronolith/lib/Block/tree_alarms.php,v 1.12 2008/01/02 16:48:35 chuck Exp $
- *
  * @package Horde_Block
  */
 class Horde_Block_kronolith_tree_alarms extends Horde_Block {
@@ -18,7 +16,6 @@ class Horde_Block_kronolith_tree_alarms extends Horde_Block {
 
         $horde_alarm = null;
         if (!empty($GLOBALS['conf']['alarms']['driver'])) {
-            require_once 'Horde/Alarm.php';
             $horde_alarm = Horde_Alarm::factory();
         }
 
index 7a52782..d47615b 100644 (file)
@@ -4,8 +4,6 @@ $block_name = _("Menu List");
 $block_type = 'tree';
 
 /**
- * $Horde: kronolith/lib/Block/tree_menu.php,v 1.13 2006/11/19 19:24:45 chuck Exp $
- *
  * @package Horde_Block
  */
 class Horde_Block_kronolith_tree_menu extends Horde_Block {
index eab9259..94bf3f5 100644 (file)
@@ -199,8 +199,7 @@ class Kronolith_FreeBusy {
         }
 
         /* Check storage driver. */
-        require_once KRONOLITH_BASE . '/lib/Storage.php';
-        $storage = &Kronolith_Storage::singleton();
+        $storage = Kronolith_Storage::singleton();
 
         $fb = $storage->search($email);
         if (!is_a($fb, 'PEAR_Error')) {
index 69d4101..e3d3169 100644 (file)
@@ -173,7 +173,6 @@ class Kronolith_FreeBusy_View {
     function factory($view)
     {
         $driver = basename($view);
-        require_once dirname(__FILE__) . '/View/' . $driver . '.php';
         $class = 'Kronolith_FreeBusy_View_' . $driver;
         if (class_exists($class)) {
             return new $class($user, $params);
index 4f11323..e245488 100644 (file)
@@ -2,8 +2,6 @@
 /**
  * Kronolith_Storage:: defines an API for storing free/busy information.
  *
- * $Horde: kronolith/lib/Storage.php,v 1.8 2008/06/06 04:25:13 chuck Exp $
- *
  * @author  Mike Cochrane <mike@graftonhall.co.nz>
  * @package Kronolith
  */
@@ -50,7 +48,6 @@ class Kronolith_Storage {
             $params = Horde::getDriverConfig('storage', $driver);
         }
 
-        require_once dirname(__FILE__) . '/Storage/' . $driver . '.php';
         $class = 'Kronolith_Storage_' . $driver;
         if (class_exists($class)) {
             $driver = new $class($user, $params);
index f9a118a..896f980 100644 (file)
@@ -7,8 +7,6 @@ require_once 'Horde/Kolab.php';
  * Horde Kronolith free/busy driver for the Kolab IMAP Server.
  * Copyright 2004-2009 The Horde Project (http://www.horde.org/)
  *
- * $Horde: kronolith/lib/Storage/kolab.php,v 1.19 2009/01/06 18:01:02 jan Exp $
- *
  * See the enclosed file COPYING for license information (GPL). If you
  * not receive such a file, see also http://www.fsf.org/copyleft/gpl.html.
  *
@@ -29,8 +27,6 @@ class Kronolith_Storage_kolab extends Kronolith_Storage {
     {
         global $conf;
 
-        @include_once 'Horde/Kolab/Session.php';
-
         if (class_exists('Horde_Kolab_Session')) {
             $session = &Horde_Kolab_Session::singleton();
             $server = $session->freebusy_server;
index b56d6a2..6abd6b7 100644 (file)
@@ -3,8 +3,6 @@
  * Kronolith_Storage:: defines an API for storing free/busy
  * information.
  *
- * $Horde: kronolith/lib/Storage/sql.php,v 1.14 2006/01/18 17:49:00 ben Exp $
- *
  * @author  Mike Cochrane <mike@graftonhall.co.nz>
  * @package Kronolith
  */
@@ -149,7 +147,6 @@ class Kronolith_Storage_sql extends Kronolith_Storage {
             if (is_array($row)) {
                 /* Retrieve Freebusy object.  TODO: check for multiple
                  * results and merge them into one and return. */
-                require_once 'Horde/Serialize.php';
                 $vfb = Horde_Serialize::unserialize($row['vfb_serialized'], Horde_Serialize::BASIC);
                 return $vfb;
             }
@@ -172,7 +169,6 @@ class Kronolith_Storage_sql extends Kronolith_Storage {
         $owner = (!$public) ? $this->_user : '';
 
         /* Build the SQL query. */
-        require_once 'Horde/Serialize.php';
         $query = sprintf('INSERT INTO %s (vfb_owner, vfb_email, vfb_serialized) VALUES (?, ?, ?)',
                          $this->_params['table']);
         $values = array($owner, $email, Horde_Serialize::serialize($vfb, Horde_Serialize::BASIC));
index c9cab0b..92791fe 100644 (file)
@@ -1,7 +1,4 @@
 <?php
-
-require_once KRONOLITH_BASE . '/lib/Day.php';
-
 /**
  * The Kronolith_View_Day:: class provides an API for viewing days.
  *
@@ -272,7 +269,6 @@ class Kronolith_View_Day extends Kronolith_Day {
             $rows[] = array('row' => $row, 'slot' => $newEventUrl);
         }
 
-        require_once 'Horde/Template.php';
         $template = new Horde_Template();
         $template->set('row_height', round(20 / $this->_slotsPerHour));
         $template->set('rows', $rows);
index 85857da..7e46df2 100644 (file)
@@ -13,7 +13,6 @@ class Kronolith_View_ExportEvent {
      */
     function Kronolith_View_ExportEvent(&$event)
     {
-        require_once 'Horde/iCalendar.php';
         $iCal = new Horde_iCalendar('2.0');
 
         if (!$event->isRemote()) {
index 9180fd6..6628300 100644 (file)
@@ -1,7 +1,4 @@
 <?php
-
-require_once KRONOLITH_BASE . '/lib/Day.php';
-
 /**
  * The Kronolith_View_Month:: class provides an API for viewing
  * months.
index 74d11a4..23a5710 100644 (file)
@@ -1,7 +1,4 @@
 <?php
-
-require_once dirname(__FILE__) . '/Day.php';
-
 /**
  * The Kronolith_View_Week:: class provides an API for viewing weeks.
  *
@@ -287,7 +284,6 @@ class Kronolith_View_Week {
             $rows[] = array('row' => $row, 'slot' => '<span class="' . $hourclass . '">' . $time . '</span>');
         }
 
-        require_once 'Horde/Template.php';
         $template = new Horde_Template();
         $template->set('row_height', round(20 / $this->_slotsPerHour));
         $template->set('rows', $rows);
index 60d9ba6..672fcca 100644 (file)
@@ -1,7 +1,4 @@
 <?php
-
-require_once dirname(__FILE__) . '/Week.php';
-
 /**
  * The Kronolith_View_WorkWeek:: class provides a shortcut for a week
  * view that is only Monday through Friday.
index 6a0fb5d..fba4ffa 100644 (file)
@@ -1,7 +1,4 @@
 <?php
-
-require_once KRONOLITH_BASE . '/lib/Day.php';
-
 /**
  * The Kronolith_View_Year:: class provides an API for viewing years.
  *
index e8f6fd2..f388683 100644 (file)
@@ -2,8 +2,6 @@
 /**
  * Kronolith external API interface.
  *
- * $Horde: kronolith/lib/api.php,v 1.241 2008/11/22 02:04:23 bklang Exp $
- *
  * This file defines Kronolith's external API interface. Other applications
  * can interact with Kronolith through this API.
  *
index d4dd4fe..53fec49 100644 (file)
@@ -40,12 +40,8 @@ $conf = &$GLOBALS['conf'];
 define('KRONOLITH_TEMPLATES', $registry->get('templates'));
 
 /* Notification system. */
-$notification = &Horde_Notification::singleton();
-$GLOBALS['kronolith_notify'] = &$notification->attach('status', null, 'Kronolith_Notification_Listener_Status');
-
-/* Kronolith base library. */
-require_once KRONOLITH_BASE . '/lib/Kronolith.php';
-require_once KRONOLITH_BASE . '/lib/Driver.php';
+$notification = Horde_Notification::singleton();
+$GLOBALS['kronolith_notify'] = $notification->attach('status', null, 'Kronolith_Notification_Listener_Status');
 
 /* Start compression, if requested. */
 Horde::compressOutput();
@@ -54,12 +50,12 @@ Horde::compressOutput();
 Horde_Nls::setTimeZone();
 
 /* Create a share instance. */
-$GLOBALS['kronolith_shares'] = &Horde_Share::singleton($registry->getApp());
+$GLOBALS['kronolith_shares'] = Horde_Share::singleton($registry->getApp());
 
 Kronolith::initialize();
 
 // TODO - Maintenance operations need to be refactored to a more global
-//        operation and then wen can get rid of these hackish checks
+//        operation and then we can get rid of these hackish checks
 /* Do login tasks - need to check for a number of conditions to be
  * sure that we aren't here due to alarm notifications (which would occur after
  * headers are sent), we aren't on any of the portal pages, and that we haven't
@@ -70,13 +66,13 @@ if (empty($no_maint) && Kronolith::loginTasksFlag() &&
     !headers_sent() && !defined('AUTH_HANDLER')) {
     Kronolith::loginTasksFlag(2);
 
-    $tasks = &Horde_LoginTasks::singleton('kronolith', Horde_Util::addParameter(Horde::selfUrl(true, true, true), array('logintasks_done' => true)));
+    $tasks = Horde_LoginTasks::singleton('kronolith', Horde_Util::addParameter(Horde::selfUrl(true, true, true), array('logintasks_done' => true)));
     $tasks->runTasks();
 
     Kronolith::loginTasksFlag(0);
 } elseif (Horde_Util::getFormData('logintasks_done') &&
           Kronolith::loginTasksFlag()) {
-    $tasks = &Horde_LoginTasks::singleton('kronolith', Horde_Util::addParameter(Horde::selfUrl(true, true, true), array('logintasks_done' => true)));
+    $tasks = Horde_LoginTasks::singleton('kronolith', Horde_Util::addParameter(Horde::selfUrl(true, true, true), array('logintasks_done' => true)));
     $tasks->runTasks();
 
     Kronolith::loginTasksFlag(0);
index 8948018..859f705 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 /**
- * $Horde: kronolith/lib/prefs.php,v 1.25 2009/01/06 18:01:00 jan Exp $
- *
  * Copyright 1999-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
index 51864be..449c3ad 100755 (executable)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Horde: kronolith/locale/ca_ES/help.xml,v 1.2 2008/10/13 00:18:57 jan Exp $ -->
 <help>
   <entry id="Overview" md5="1585927d48e4627c792fe0332c41fd39" state="uptodate">
     <title>Kronolith: Introducció</title>
index 5ab198f..795bc13 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Horde: kronolith/locale/de_DE/help.xml,v 1.3 2008/10/13 00:18:23 jan Exp $ -->
 <help>
   <entry id="Overview" md5="1585927d48e4627c792fe0332c41fd39" state="uptodate">
     <title>Kronolith: Ãœberblick</title>
index a76d74a..c526d83 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version='1.0'?>
-<!-- $Horde: kronolith/locale/en_US/help.xml,v 1.6 2008/10/12 15:02:37 mrubinsk Exp $ -->
 <help>
 
 <entry id="Overview">
index f3e7d7c..1d6dac5 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0"?>
-<!-- $Horde: kronolith/locale/es_ES/help.xml,v 1.3 2008/10/13 00:18:56 jan Exp $ -->
 <help>
   <entry id="Overview" md5="1585927d48e4627c792fe0332c41fd39" state="uptodate">
     <title>Kronolith: Introducci&#xF3;n</title>
index 93214b5..34de3dc 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0"?>
-<!-- $Horde: kronolith/locale/eu_ES/help.xml,v 1.2 2008/10/13 00:18:56 jan Exp $ -->
 <help>
   <entry id="Overview" md5="1585927d48e4627c792fe0332c41fd39" state="uptodate">
     <title>Kronolith: Informazio orokorra</title>
index 2a6c77f..ab2cb7f 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0"?>
-<!-- $Horde: kronolith/locale/fi_FI/help.xml,v 1.5 2008/10/13 00:18:56 jan Exp $ -->
 <help>
   <entry id="Overview" md5="1585927d48e4627c792fe0332c41fd39" state="uptodate">
     <title>Kronolith: Yleiskuva</title>
index 9e8d52a..4b4e640 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Horde: kronolith/locale/fr_FR/help.xml,v 1.2 2008/10/13 00:18:55 jan Exp $ -->
 <help>
   <entry id="Overview" md5="1585927d48e4627c792fe0332c41fd39" state="uptodate">
     <title>Kronolith: Introduction</title>
index c8cc731..871db10 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- $Horde: kronolith/locale/hu_HU/help.xml,v 1.3 2008/10/13 00:18:55 jan Exp $ -->
 <help>
   <entry id="Overview" state="uptodate" md5="1585927d48e4627c792fe0332c41fd39">
     <title>Kronolith: Ã¡ttekintés</title>
index be34dd0..d6f9c74 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Horde: kronolith/locale/pt_BR/help.xml,v 1.2 2008/10/13 00:18:55 jan Exp $ -->
 <help>
   <entry id="Overview" state="uptodate" md5="1585927d48e4627c792fe0332c41fd39">
     <title>Kronolith: Visão Geral</title>
index edd1506..9fcd804 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-9"?>
-<!-- $Horde: kronolith/locale/tr_TR/help.xml,v 1.2 2008/10/13 00:18:54 jan Exp $ -->
 <help>
   <entry id="Overview" md5="1585927d48e4627c792fe0332c41fd39" state="uptodate">
 <title>Kronolith: Genel Bakýþ</title>
index 35589d7..442e95f 100644 (file)
@@ -1,9 +1,6 @@
 Kronolith RPMs                                              kronolith.README
 =--------------------------------------------------------------------------=
 
-$Horde: kronolith/packaging/redhat/kronolith.README,v 1.1 2001/12/15 12:47:29 bjn Exp $
-
-
 Please consult the Horde RPMs README file:
 
     horde/packaging/redhat/horde.README
index 5a7f878..076946f 100644 (file)
@@ -1,6 +1,5 @@
 #
 #  File: kronolith.conf
-#  $Horde: kronolith/packaging/redhat/kronolith.conf,v 1.2 2002/01/03 14:21:00 bjn Exp $
 #
 #  This is the Kronolith Apache configuration file; it is included from the
 #  Apache httpd.conf file.  This version is for Red Hat 7.x systems.
index 3f52da3..48cab97 100644 (file)
@@ -1,6 +1,4 @@
 #
-# $Horde: kronolith/packaging/redhat/kronolith.spec,v 1.13 2009/01/06 18:01:02 jan Exp $
-#
 # Copyright 2003-2009 The Horde Project (http://www.horde.org/)
 #
 # See the enclosed file COPYING for license information (GPL). If you
index 6d04584..176acbb 100644 (file)
@@ -12,8 +12,8 @@
 require_once dirname(__FILE__) . '/lib/base.php';
 require_once 'Horde/Group.php';
 
-$shares = &Horde_Share::singleton('kronolith');
-$groups = &Group::singleton();
+$shares = Horde_Share::singleton('kronolith');
+$groups = Group::singleton();
 $auth = Horde_Auth::singleton($conf['auth']['driver']);
 
 $reload = false;
index 3090816..7b58788 100755 (executable)
@@ -1,8 +1,6 @@
 #!/usr/bin/env php
 <?php
 /**
- * $Horde: kronolith/scripts/agenda.php,v 1.4 2009/01/06 18:01:04 jan Exp $
- *
  * Copyright 2003-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (LGPL). If you
index 8430961..2641aca 100755 (executable)
@@ -5,8 +5,6 @@
  * The data is read from standard input, the calendar and user name passed as
  * parameters.
  *
- * $Horde: kronolith/scripts/import_icals.php,v 1.9 2009/01/06 18:01:04 jan Exp $
- *
  * Copyright 2005-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
index c573957..e647fb1 100755 (executable)
@@ -6,8 +6,6 @@
  * The first argument must be a DSN to the database containing the calendar
  * and event tables, e.g.: "mysql://root:password@localhost/squirrelmail".
  *
- * $Horde: kronolith/scripts/import_squirrelmail_calendar.php,v 1.3 2009/01/06 18:01:04 jan Exp $
- *
  * Copyright 2008-2009 The Horde Project (http://www.horde.org/)
  *
  * See the enclosed file COPYING for license information (GPL). If you
@@ -22,7 +20,6 @@
 
 // Do CLI checks and environment setup first.
 require_once HORDE_BASE . '/lib/core.php';
-require_once 'Horde/Cli.php';
 
 // Makre sure no one runs this from the web.
 if (!Horde_Cli::runningFromCli()) {
@@ -53,7 +50,6 @@ if ($conf['auth']['admins']) {
 // share code breaks, causing a new, completely empty share to be created with
 // no owner.
 require_once KRONOLITH_BASE . '/lib/base.php';
-require_once 'Horde/iCalendar.php';
 
 // Connect to database.
 $db = &DB::connect($dsn);
index 7c0e73e..54fe2bd 100644 (file)
@@ -1,5 +1,3 @@
--- $Horde: kronolith/scripts/upgrades/1.1_to_2.0.mysql.sql,v 1.6 2006/12/13 04:58:22 chuck Exp $
---
 -- You can simply execute this file in your database.
 --
 -- Run as:
index 15c6bf1..372ff37 100644 (file)
@@ -1,5 +1,3 @@
--- $Horde: kronolith/scripts/upgrades/1.1_to_2.0.oci8.sql,v 1.1 2006/04/06 22:05:39 jan Exp $
-
 ALTER TABLE kronolith_events ADD COLUMN event_id_new VARCHAR(32);
 UPDATE kronolith_events SET event_id_new = event_id;
 ALTER TABLE kronolith_events DROP COLUMN event_id;
index 91927bb..5f16a8f 100644 (file)
@@ -1,5 +1,3 @@
--- $Horde: kronolith/scripts/upgrades/1.1_to_2.0.pgsql.sql,v 1.4 2006/12/13 04:58:22 chuck Exp $
---
 -- Update script to update Kronolith 1.1 data to 2.x data for pgsql
 -- Converted from mysql version by Daniel E. Markle <lexicon@seul.org>
 --
index 81e4fc2..bd42b7a 100644 (file)
@@ -1,5 +1,3 @@
--- $Horde: kronolith/scripts/upgrades/2.1_to_2.2.pgsql.sql,v 1.8 2008/12/03 16:10:50 chuck Exp $
-
 BEGIN;
 ALTER TABLE kronolith_events ADD event_private INT;
 UPDATE kronolith_events SET event_private = 0;
index 84970cb..177ebd1 100644 (file)
@@ -1,5 +1,3 @@
--- $Horde: kronolith/scripts/upgrades/2.1_to_2.2.sql,v 1.7 2008/06/17 14:53:26 mrubinsk Exp $
-
 ALTER TABLE kronolith_events ADD COLUMN event_private INT DEFAULT 0 NOT NULL;
 ALTER TABLE kronolith_events ADD COLUMN event_recurcount INT;
 
index d70ca06..3c9d516 100644 (file)
@@ -1,3 +1 @@
--- $Horde: kronolith/scripts/upgrades/2006-03-16_add_private_flag.sql,v 1.2 2006/03/18 06:02:46 selsky Exp $
-
 ALTER TABLE kronolith_events ADD event_private INT DEFAULT 0 NOT NULL;
index 49bb203..4745f5e 100644 (file)
@@ -1,5 +1,3 @@
--- $Horde: kronolith/scripts/upgrades/2008-10-21_add_allday_flag.pgsql.sql,v 1.1 2008/10/22 21:14:08 jan Exp $
-
 ALTER TABLE kronolith_events ADD event_allday INT DEFAULT 0;
 
 UPDATE kronolith_events SET event_allday = 1 WHERE event_start + INTERVAL '1 DAY' = event_end;
index dc97998..3d1ddb6 100644 (file)
@@ -1,5 +1,3 @@
--- $Horde: kronolith/scripts/upgrades/2008-10-21_add_allday_flag.sql,v 1.1 2008/10/22 21:14:08 jan Exp $
-
 ALTER TABLE kronolith_events ADD event_allday INT DEFAULT 0;
 
 UPDATE kronolith_events SET event_allday = 1 WHERE event_start + INTERVAL 1 DAY = event_end;
index 7db3b0d..ff3f48a 100755 (executable)
@@ -7,20 +7,18 @@
  */
 
 @define('AUTH_HANDLER', true);
-@define('HORDE_BASE', dirname(__FILE__) . '/../../..');
 
 /* Set up the CLI environment */
+require_once dirname(__FILE__) . '/../../lib/base.load.php';
 require_once HORDE_BASE . '/lib/core.php';
-require_once 'Horde/Cli.php';
 if (!Horde_Cli::runningFromCli()) {
     exit("Must be run from the command line\n");
 }
-$cli = &Horde_Cli::singleton();
+$cli = Horde_Cli::singleton();
 $cli->init();
 
 /* Grab what we need to steal the DB config */
 require_once HORDE_BASE . '/config/conf.php';
-require_once 'MDB2.php';
 
 $config = $GLOBALS['conf']['sql'];
 unset($config['charset']);
index 980be7d..696023b 100755 (executable)
@@ -5,11 +5,10 @@
  */
 
 @define('AUTH_HANDLER', true);
-@define('HORDE_BASE', dirname(__FILE__) . '/../../..');
 
 /* Set up the CLI environment. */
+require_once dirname(__FILE__) . '/../../lib/base.load.php';
 require_once HORDE_BASE . '/lib/core.php';
-require_once 'Horde/Cli.php';
 if (!Horde_Cli::runningFromCLI()) {
     exit("Must be run from the command line\n");
 }
@@ -17,8 +16,7 @@ $cli = &Horde_Cli::singleton();
 $cli->init();
 
 /* Load required libraries. */
-require_once dirname(__FILE__) . '/../../lib/base.php';
-require_once 'DB.php';
+require_once KRONOLITH_BASE . '/../../lib/base.php';
 require_once 'Horde/Prefs.php';
 
 /* Prepare DB stuff. */
index e0515d0..34999cd 100644 (file)
@@ -3,7 +3,6 @@
  * JavaScript variables for the traditional interface.
  */
 
-require_once 'Horde/Serialize.php';
 $charset = Horde_Nls::getCharset();
 
 /* Variables used in core javascript files. */
index 27177ec..9365404 100644 (file)
@@ -1,7 +1,3 @@
-/**
- * $Horde: kronolith/themes/bluewhite/screen.css,v 1.6 2005/10/29 16:15:27 chuck Exp $
- */
-
 /* Alternating styles. item0, item1 are deprecated. */
 .rowEven {
     background: #eee;
index 3e1c3f0..427bd33 100644 (file)
@@ -1,8 +1,6 @@
 /**
  * Theme by: Eric Jon Rostetter <eric.rostetter@physics.utexas.edu>
  * Please contact the theme's author for any missing style.
- *
- * $Horde: kronolith/themes/burntorange/screen.css,v 1.1 2005/04/13 08:17:18 jan Exp $
  */
 
 .today {
index 8cb68b8..de5e51b 100644 (file)
@@ -1,7 +1,3 @@
-/**
- * $Horde: kronolith/themes/fadetogreen/screen.css,v 1.2 2005/12/05 00:53:02 chuck Exp $
- */
-
 /* Alternating styles. item0, item1 are deprecated. */
 .rowEven {
     background: #d6e2e3;
index a16f02a..68e37c9 100644 (file)
@@ -1,7 +1,3 @@
-/**
- * $Horde: kronolith/themes/mozilla/screen.css,v 1.1 2004/11/03 16:14:49 chuck Exp $
- */
-
 .legend {
     color: #000;
 }
index 97f6f57..660b220 100644 (file)
@@ -1,7 +1,3 @@
-/**
- * $Horde: kronolith/themes/print/screen.css,v 1.8 2008/02/25 19:18:19 chuck Exp $
- */
-
 .rowEven td, .rowOdd td {
     background: #fff;
     color: #000;
index 0bdefb7..1071ee6 100644 (file)
@@ -1,7 +1,3 @@
-/**
- * $Horde: kronolith/themes/screen.css,v 1.67 2008/09/09 22:43:48 jan Exp $
- */
-
 #menu {
     /* Menu bottom margin, added for BC. */
     margin-bottom: 8px;
index 6aef3f0..e11e471 100644 (file)
@@ -1,7 +1,3 @@
-/**
- * $Horde: kronolith/themes/silver/screen.css,v 1.3 2008/03/27 16:44:06 jan Exp $
- */
-
 body #sbarShow {
     background-image: url("graphics/plus.png");
 }
index 664de2f..45e600c 100644 (file)
@@ -1,7 +1,3 @@
-/**
- * $Horde: kronolith/themes/simplex/screen.css,v 1.1 2004/10/17 20:37:49 mdjukic Exp $
- */
-
 .day {
     color: #FFFFFF;
     background-color: #7390B9;
index 678489a..51a6c89 100644 (file)
@@ -1,7 +1,3 @@
-/**
- * $Horde: kronolith/themes/tango-blue/screen.css,v 1.4 2007/12/03 06:01:40 chuck Exp $
- */
-
 .weekend {
     background: #b2cae4 none repeat scroll 0% 50%;
 }
index 8d30082..5915d01 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- $Horde: turba/config/conf.xml,v 1.23 2008/06/25 15:41:01 jan Exp $ -->
+<!-- $Id$ -->
 <configuration>
  <configsection name="menu">
   <configheader>Menu Settings</configheader>