--- /dev/null
+[Banana]
+server = "localhost"
+port = 119
+
+password = "***"
+web_user = "***"
+web_pass = "***"
+
+table_prefix = "banana_"
+
+
+[Lists]
+rpchost = "localhost"
+rpcport = 4949
+
+spool = "/var/spool/platal/archives/"
+vhost_sep = "_"
+
+
+[Newsletter]
+from = "Lettre Mensuelle <null@example.org>"
+replyto = ""
+retpath = ""
+
+
+[Search]
+public_max = 25
+private_max = 800
+per_page = 20
+
+
+[Xnet]
+secret = ""
+evts_domain = ""
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-// {{{ config HOOK
-
-// {{{ class SkinConfig
-
-class BananaConfig
-{
- var $server = 'localhost';
- var $port = 119;
- var $password = '***';
- var $web_user = '***';
- var $web_pass = '***';
-
- var $table_prefix = 'banana_';
-}
-
-// }}}
-
-function banana_config()
-{
- global $globals;
- $globals->banana = new BananaConfig;
-}
-
-// }}}
// {{{ subscribe HOOK
function banana_subscribe($forlife, $uid, $promo, $password)
// {{{ config HOOK
-// {{{ class SkinConfig
-
class MailConfig
{
var $domain = '';
}
}
-// }}}
-
function emails_config()
{
global $globals;
// {{{ config HOOK
-// {{{ class GeolocConfig
-
class GeolocConfig
{
var $webservice_url = '';
}
}
-// }}}
-
function geoloc_config()
{
global $globals;
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-// {{{ config HOOK
-// {{{ class ListsConfig
-
-class ListsConfig
-{
- var $rpchost = 'localhost';
- var $rpcport = 4949;
-
- var $spool = '/var/spool/platal/archives/';
-
- var $admin_owner = '';
- var $vhost_sep = '_';
-}
-
-// }}}
-
-function lists_config()
-{
- global $globals;
- $globals->lists = new ListsConfig;
-}
-
-// }}}
// {{{ subscribe HOOK
function lists_subscribe($forlife, $uid, $promo, $password)
***************************************************************************/
// {{{ config HOOK
-// {{{ class ManageursConfig
class ManageursConfig
{
var $manageurs_pass = '';
}
-// }}}
-
function manageurs_config()
{
global $globals;
// {{{ config HOOK
-// {{{ class MoneyConfig
-
class MoneyConfig
{
var $mpay_enable = true;
var $paypal_compte = '';
}
-// }}}
-
function money_config()
{
global $globals;
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-// {{{ config HOOK
-
-// {{{ class SkinConfig
-
-class NLConfig
-{
- var $from = "Lettre Mensuelle <null@example.org>";
- var $replyto = "";
- var $retpath = "";
-}
-
-// }}}
-
-function newsletter_config() {
- global $globals;
- $globals->newsletter = new NLConfig;
-}
-
-// }}}
// {{{ subscribe HOOK
function newsletter_subscribe($forlife, $uid, $promo, $password)
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-// {{{ config HOOK
-
-// {{{ class SearchConfig
-
-class SearchConfig
-{
- var $public_max = 25;
- var $private_max = 800;
-
- var $per_page = 20;
-}
-
-// }}}
-
-function search_config()
-{
- global $globals;
- $globals->search = new SearchConfig;
-}
-
-// }}}
// {{{ subscribe HOOK
function search_subscribe($forlife, $uid, $promo, $pass)
{
+++ /dev/null
-<?php
-/***************************************************************************
- * Copyright (C) 2003-2006 Polytechnique.org *
- * http://opensource.polytechnique.org/ *
- * *
- * This program 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. *
- * *
- * This program 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; if not, write to the Free Software *
- * Foundation, Inc., *
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
- ***************************************************************************/
-
-// {{{ config HOOK
-
-// {{{ class SkinConfig
-
-class XnetConfig
-{
- var $secret = '';
- var $evts_domain = '';
-}
-
-// }}}
-
-function xnet_config()
-{
- global $globals;
- $globals->xnet = new XnetConfig;
-}
-
-// }}}
-
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
-?>
require_once('platal/globals.inc.php');
-// {{{ class XorgGlobals
-
class XnetGlobals extends PlatalGlobals
{
function XnetGlobals()
}
}
-// }}}
-
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
?>
require_once('platal/globals.inc.php');
-// {{{ class XorgGlobals
-
class XorgGlobals extends PlatalGlobals
{
function XorgGlobals()
}
}
-// }}}
-
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
?>
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
**************************************************************************/
-// {{{ class XOrgHook
-
/**
* XOrg's Hooks API
*
// }}}
}
-// }}}
-
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
?>