);
}
+ function on_subscribe($forlife, $uid, $promo, $password)
+ {
+ $this->prepare_client(null);
+ $this->client->subscribe("promo$promo");
+ }
+
function prepare_client(&$page)
{
require_once 'lists.inc.php';
$page->changeTpl('listes/archives.tpl');
- $page->addCssLink('css/lists.archives.css');
+ $page->addCssLink('lists.archives.css');
if (list($det) = $this->client->get_members($liste)) {
if (substr($liste,0,5) != 'promo' && ($det['ins'] || $det['priv'])
&& !$det['own'] && ($det['sub'] < 2))