Very useful to know what to change
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@117
9869982d-c50d-0410-be91-
f2a2ec7c7c7b
$this->post->headers['followup-to'] : $this->post->headers['newsgroups'];
$followup = null;
}
$this->post->headers['followup-to'] : $this->post->headers['newsgroups'];
$followup = null;
}
+ } else {
+ $subject = $target = $followup = null;
+ $body = $this->profile['sig'] ? "\n\n-- \n". $this->profile['sig'] : '';
. '<td>' . $this->profile['org'] . '</td></tr>'
. '<tr><th colspan="2">' . _b_('Corps') . '</th></tr>'
. '<tr><td colspan="2"><textarea name="body" cols="74" rows="16">'
. '<td>' . $this->profile['org'] . '</td></tr>'
. '<tr><th colspan="2">' . _b_('Corps') . '</th></tr>'
. '<tr><td colspan="2"><textarea name="body" cols="74" rows="16">'
- . to_entities($body) . '</textarea></td></tr>';
+ . $body . '</textarea></td></tr>';
if ($this->can_attach) {
$html .= '<tr><th colspan="2">' . _b_('Pièce jointe') . '</th></tr>'
. '<tr><td colspan="2">'
if ($this->can_attach) {
$html .= '<tr><th colspan="2">' . _b_('Pièce jointe') . '</th></tr>'
. '<tr><td colspan="2">'
}
redirectInBanana($dir);
} else {
}
redirectInBanana($dir);
} else {
- return '<p class="error">' . _b_('Impossible de poster le message') . '</p>'
+ return '<p class="error">' . _b_('Impossible de poster le message. Le serveur a retourné l\'erreur :') . '</p>'
+ . '<pre class="error">' . utf8_encode($this->nntp->lasterrortext) .'</pre>'
. $this->action_newFup($group, $artid);
}
}
. $this->action_newFup($group, $artid);
}
}
div.center { text-align: center; padding: 1em; }
p.error { color: red; background: inherit; }
div.center { text-align: center; padding: 1em; }
p.error { color: red; background: inherit; }
+pre.error {
+ color: red;
+ margin-left: 2em;
+ font-size: 90%;
+}