<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
public $art;
public $rules = "Laisser valider par le NL-MASTER";
-
+
// }}}
// {{{ constructor
- public function __construct($uid, $title, $body, $append)
+ public function __construct(User &$_user, $_title, $_body, $_append)
{
- parent::__construct($uid, false, 'nl');
- $this->art = new NLArticle($title, $body, $append);
+ parent::__construct($_user, false, 'nl');
+ $this->art = new NLArticle($_title, $_body, $_append);
}
// }}}
// }}}
// {{{ function _mail_subj
-
+
protected function _mail_subj()
{
return "[Polytechnique.org/NL] Proposition d'article dans la NL";