From c339246fb6afbd129da3d7ca6ff62703a0a7741c Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Sat, 3 Mar 2007 23:05:52 +0000 Subject: [PATCH] Typo git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1542 839d8a87-29fc-0310-9880-83ba4fa771e5 --- include/wiki/engine.php | 9 +++------ modules/admin.php | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/include/wiki/engine.php b/include/wiki/engine.php index aec07bc..b294af9 100644 --- a/include/wiki/engine.php +++ b/include/wiki/engine.php @@ -90,6 +90,9 @@ $wiki_exists = file_exists(wiki_work_dir() . '/' . wiki_filename($n)); if ($feed) { $wikiAll = str_replace('dc:contributor', 'author', $wikiAll); $wikiAll = preg_replace('!.*?\..*?\.(\d{4})\|(.*?)!u', '$2 (X$1)', $wikiAll); + echo $wikiAll; + pl_clear_errors(); + exit; } elseif (Env::v('action')) { $page->assign('xorg_extra_header', substr($wikiAll, 0, $i)); $wikiAll = substr($wikiAll, $j); @@ -107,12 +110,6 @@ if ($feed) { } } -if ($feed) { - echo $wikiAll; - pl_clear_errors(); - exit; -} - // Check user perms wiki_apply_perms($perms[0]); diff --git a/modules/admin.php b/modules/admin.php index 1b3dc43..6251800 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -950,7 +950,7 @@ class AdminModule extends PLModule $page->changeTpl('admin/ipwatcher.tpl'); $states = array('safe' => 'Ne pas surveiller', - 'unsafe' => 'Surveiller les inscription', + 'unsafe' => 'Surveiller les inscriptions', 'dangerous' => 'Surveiller tous les accès', 'ban' => 'Bannir cette adresse'); $page->assign('states', $states); -- 2.1.4