From: x2000habouzit Date: Sat, 22 Jul 2006 22:16:29 +0000 (+0000) Subject: typos X-Git-Tag: xorg/0.9.11~330 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=d71befc4b51f0c71cd8358bb0870d9658b21d346;p=platal.git typos git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@575 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs/admin/valider.php b/htdocs/admin/valider.php index acfeb55..d018ce5 100644 --- a/htdocs/admin/valider.php +++ b/htdocs/admin/valider.php @@ -29,6 +29,6 @@ if(Env::has('uid') && Env::has('type') && Env::has('stamp')) { if($req) { $req->handle_formu(); } } -$page->assign_by_ref('vit', new ValidateIterator ()); +$page->assign('vit', new ValidateIterator()); $page->run(); ?> diff --git a/include/validations.inc.php b/include/validations.inc.php index 1edb05c..03e82ff 100644 --- a/include/validations.inc.php +++ b/include/validations.inc.php @@ -19,20 +19,15 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -// {{{ DEFINES - define('SIZE_MAX', 32768); -// }}} -// {{{ class ValidateIterator - /** * Iterator class, that lists objects through the database */ class ValidateIterator extends XOrgDBIterator { // {{{ constuctor - + function ValidateIterator () { parent::XOrgDBIterator('SELECT data,stamp FROM requests ORDER BY stamp', MYSQL_NUM); @@ -55,9 +50,6 @@ class ValidateIterator extends XOrgDBIterator // }}} } -// }}} -// {{{ class Validate - /** classe "virtuelle" à dériver pour chaque nouvelle implémentation */ class Validate @@ -304,14 +296,9 @@ class Validate // }}} } -// }}} -// {{{ IMPLEMENTATIONS - foreach (glob(dirname(__FILE__).'/validations/*.inc.php') as $file) { require_once($file); } -// }}} - /* vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 foldmethod=marker: */ ?> diff --git a/include/validations/marketing.inc.php b/include/validations/marketing.inc.php index 401cbd5..c9692f2 100644 --- a/include/validations/marketing.inc.php +++ b/include/validations/marketing.inc.php @@ -19,7 +19,6 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -// {{{ class MarkReq class MarkReq extends Validate { @@ -92,7 +91,5 @@ class MarkReq extends Validate // }}} } -// }}} - // vim:set et sw=4 sts=4 sws=4 foldmethod=marker: ?> diff --git a/templates/include/form.valid.mark.tpl b/templates/include/form.valid.mark.tpl index 3fa9524..ae49508 100644 --- a/templates/include/form.valid.mark.tpl +++ b/templates/include/form.valid.mark.tpl @@ -20,10 +20,9 @@ {* *} {**************************************************************************} - Marketing sur - {$valid->m_prenom} {$valid->m_nom} ({$valid->m_promo}) + {$valid->m_prenom} {$valid->m_nom} ({$valid->m_promo}) Mail deviné