********************************************************************************/
require_once("include/session.inc.php");
-require_once("include/encoding.inc.php");
-require_once("include/wrapper.inc.php");
+require_once("include/misc.inc.php");
require_once("include/format.inc.php");
require_once("include/config.inc.php");
require_once("include/NetNNTP.inc.php");
require_once("include/password.inc.php");
require_once("include/error.inc.php");
-$profile=getprofile();
-require_once($profile['locale']);
-
+$profile = getprofile();
require_once("include/header.inc.php");
if (isset($_REQUEST['group'])) {
?>
<h1>
- <?php echo $locale['article']['message'];?>
+ <?php echo _b_('Message'); ?>
</h1>
<?php
if (isset($_GET['type']) && ($_GET['type']=='cancel') && (checkcancel($post->headers))) {
?>
<p class="<?php echo $css['error']?>">
- <?php echo $locale['article']['cancel'];?>
+ <?php echo _b_('Voulez-vous vraiment annuler ce message ?'); ?>
</p>
<form action="thread.php" method="post">
<input type="hidden" name="group" value="<?php echo $group;?>" />
<input type="hidden" name="id" value="<?php
echo $id;?>" />
<input type="hidden" name="type" value="cancel" />
- <input type="submit" name="action" value="<?php echo
- $locale['article']['okbtn'];?>" />
+ <input type="submit" name="action" value="<?php echo _b_('OK'); ?>" />
</form>
<?
}
?>
<table class="<?php echo $css['bicol']?>" cellpadding="0" cellspacing="0"
-summary="<?php echo $locale['article']['summary'];?>">
+summary="<?php echo _b_('Contenu du message'); ?>">
<tr>
<th colspan="2">
- <?php echo $locale['article']['headers'];?>
+ <?php echo _b_('En-têtes'); ?>
</th>
</tr>
<?php
foreach ($news['headdisp'] as $nick) {
if (isset($post->headers->$nick))
- echo "<tr><td class=\"{$css['bicoltitre']}\">{$locale['headers'][$nick]}</td>"
+ echo "<tr><td class=\"{$css['bicoltitre']}\">".header_translate($nick)."</td>"
."<td>".formatdisplayheader($nick,$post->headers->$nick,$spool)
."</td></tr>\n";
}
?>
<tr>
<th colspan="2">
- <?php echo $locale['article']['body'];?>
+ <?php echo _b_('Corps'); ?>
</th>
</tr>
<tr>
</tr>
<tr>
<th colspan="2">
- <?php echo $locale['article']['overview'];?>
+ <?php echo _b_('Aperçu'); ?>
</th>
</tr>
<tr>