X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment.php;h=7d2493c45627bd6ed97b3d0f79584b2b46c79002;hb=abed282698c3652a0630bf99beecec0dedde680b;hp=39240711dd4b9f0639a5a40498ca2249b9d9ead5;hpb=63f06a435ff8e9c058b1dee1eb97fff99606d490;p=platal.git diff --git a/modules/payment.php b/modules/payment.php index 3924071..7d2493c 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -105,7 +105,7 @@ class PaymentModule extends PLModule global $globals; require_once 'profil.func.inc.php' ; - require_once dirname(__FILE__).'/payment/money.inc.php' ; + $this->load('money.inc.php'); if (!empty($GLOBALS['IS_XNET_SITE'])) { if (!$globals->asso('id')) { @@ -120,7 +120,7 @@ class PaymentModule extends PLModule } } $page->changeTpl('payment/index.tpl'); - $page->setTitle('Polytechnique.org - Télépaiements'); + $page->setTitle('Télépaiements'); // initialisation $op = Env::v('op', 'select'); @@ -467,7 +467,7 @@ class PaymentModule extends PLModule } function handler_admin(&$page, $action = 'list', $id = null) { - $page->setTitle('Polytechnique.org - Administration - Paiements'); + $page->setTitle('Administration - Paiements'); $page->assign('title', 'Gestion des télépaiements'); $table_editor = new PLTableEditor('admin/payments','paiement.paiements','id'); $table_editor->add_join_table('paiement.transactions','ref',true);