From: x2000habouzit Date: Sat, 15 Jul 2006 23:35:41 +0000 (+0000) Subject: move csv.tpl into the right place. X-Git-Tag: xorg/0.9.11~384 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=dba106f6966ee4b6917d1b75d5a042edc687d80f;p=platal.git move csv.tpl into the right place. also send the good encoding headers git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@518 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/xnetevents.php b/modules/xnetevents.php index 0bbd4db..f3df668 100644 --- a/modules/xnetevents.php +++ b/modules/xnetevents.php @@ -219,11 +219,11 @@ class XnetEventsModule extends PLModule return PL_NOT_FOUND; } - header('Content-type: text/x-csv'); + header('Content-type: text/x-csv; encoding=iso-8859-1'); header('Pragma: '); header('Cache-Control: '); - new_nonhtml_page('xnet/groupe/evt-csv.tpl'); + new_nonhtml_page('xnetevents/csv.tpl'); $admin = may_update(); diff --git a/templates/xnet/groupe/evt-csv.tpl b/templates/xnetevents/csv.tpl similarity index 100% rename from templates/xnet/groupe/evt-csv.tpl rename to templates/xnetevents/csv.tpl