Typo
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 3 Mar 2007 23:05:52 +0000 (23:05 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 3 Mar 2007 23:05:52 +0000 (23:05 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1542 839d8a87-29fc-0310-9880-83ba4fa771e5

include/wiki/engine.php
modules/admin.php

index aec07bc..b294af9 100644 (file)
@@ -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('!<author>.*?\..*?\.(\d{4})\|(.*?)</author>!u', '<author>$2 (X$1)</author>', $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]);
 
index 1b3dc43..6251800 100644 (file)
@@ -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);