<?php
/***************************************************************************
- * Copyright (C) 2003-2010 Polytechnique.org *
+ * Copyright (C) 2003-2011 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
);
}
- function prepare_client(&$page, $user = null)
+ function prepare_client($page, $user = null)
{
global $globals;
return array($subs, $mails);
}
- function handler_lists(&$page)
+ function handler_lists($page)
{
function filter_owner($list)
{
$domain = $this->prepare_client($page);
$page->changeTpl('lists/index.tpl');
- $page->addJsLink('ajax.js');
$page->setTitle('Listes de diffusion');
}
}
- function handler_ajax(&$page, $list = null)
+ function handler_ajax($page, $list = null)
{
pl_content_headers("text/html");
$domain = $this->prepare_client($page);
$page->assign_by_ref('liste', $liste);
}
- function handler_create(&$page)
+ function handler_create($page)
{
global $globals;
}
}
- function handler_members(&$page, $liste = null)
+ function handler_members($page, $liste = null)
{
if (is_null($liste)) {
return PL_NOT_FOUND;
}
}
- function handler_csv(PlPage &$page, $liste = null)
+ function handler_csv(PlPage $page, $liste = null)
{
if (is_null($liste)) {
return PL_NOT_FOUND;
exit;
}
- function handler_annu(&$page, $liste = null, $action = null, $subaction = null)
+ function handler_annu($page, $liste = null, $action = null, $subaction = null)
{
if (is_null($liste)) {
return PL_NOT_FOUND;
$page->assign_by_ref('owners', $moderos);
}
- function handler_archives(&$page, $liste = null, $action = null, $artid = null)
+ function handler_archives($page, $liste = null, $action = null, $artid = null)
{
global $globals;
}
}
- function handler_rss(&$page, $liste = null, $alias = null, $hash = null)
+ function handler_rss($page, $liste = null, $alias = null, $hash = null)
{
if (!$liste) {
return PL_NOT_FOUND;
$liste, $domain, $mid, S::i('uid'), $action, Post::v('reason'));
}
- function handler_moderate(&$page, $liste = null)
+ function handler_moderate($page, $liste = null)
{
if (is_null($liste)) {
return PL_NOT_FOUND;
}
}
- function handler_admin(&$page, $liste = null)
+ function handler_admin($page, $liste = null)
{
global $globals;
}
}
- function handler_options(&$page, $liste = null)
+ function handler_options($page, $liste = null)
{
if (is_null($liste)) {
return PL_NOT_FOUND;
}
}
- function handler_delete(&$page, $liste = null)
+ function handler_delete($page, $liste = null)
{
global $globals;
if (is_null($liste)) {
}
}
- function handler_soptions(&$page, $liste = null)
+ function handler_soptions($page, $liste = null)
{
if (is_null($liste)) {
return PL_NOT_FOUND;
}
}
- function handler_check(&$page, $liste = null)
+ function handler_check($page, $liste = null)
{
if (is_null($liste)) {
return PL_NOT_FOUND;
}
}
- function handler_admin_all(&$page)
+ function handler_admin_all($page)
{
$page->changeTpl('lists/admin_all.tpl');
$page->setTitle('Administration - Mailing lists');