From 401e45e606bff81f512e9746a552196b72f5c7ea Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 28 May 2008 19:08:42 +0000 Subject: [PATCH] Monotone-Parent: f55bd68de56657e6673235e4b1404075d9503783 Monotone-Revision: f7856cb718cba85ddb1e204c7a45f6f9dad528b5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-05-28T19:08:42 Monotone-Branch: ca.inverse.sogo --- Scripts/updates.php | 80 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100755 Scripts/updates.php diff --git a/Scripts/updates.php b/Scripts/updates.php new file mode 100755 index 000000000..18de99938 --- /dev/null +++ b/Scripts/updates.php @@ -0,0 +1,80 @@ + + * + * This file 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, or (at your option) + * any later version. + * + * This file 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 this program; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* This script handles the automatic propagation of extensions pertaining to a + SOGo site */ +$plugins += array("sogo-connector@inverse.ca" + => array( "application" => "thunderbird", + "version" => "0.67", + "filename" => "sogo-connector-0.80.xpi" ), + "sogo-integrator@inverse.ca" + => array( "application" => "thunderbird", + "version" => "0.67", + "filename" => "sogo-integrator-0.80-sogo-demo.xpi" ), + "{e2fda1a4-762b-4020-b5ad-a41df1933103}" + => array( "application" => "thunderbird", + "version" => "0.8", + "filename" => "lightning-0.8.xpi" )); + +$applications += array( "thunderbird" => "{3550f703-e582-4d05-9a08-453d09bdfdc6} + 1.5 + 2.0.*", + "firefox" => "{ec8030f7-c20a-464f-9b0e-13a3a9e97384} + 1.5 + 2.0.*" ); + +$pluginname = $HTTP_GET_VARS["plugin"]; +$plugin =& $plugins[$pluginname]; +$application =& $applications[$plugin["application"]]; + +if ($plugin) { + header("Content-type: text/xml; charset=utf-8"); + echo ('' . "\n"); +?> + + + + + +
  • + + + + + http://inverse.ca/downloads/extensions/ + + + +
  • +
    +
    +
    +
    +