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);
}
}
-if ($feed) {
- echo $wikiAll;
- pl_clear_errors();
- exit;
-}
-
// Check user perms
wiki_apply_perms($perms[0]);
$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);