$res .= ' > ' . makeHREF(Array('group' => $group), $group);
if (is_null($artid)) {
if (sizeof($banana->spool->overview)>$banana->tmax) {
$res .= ' > ' . makeHREF(Array('group' => $group), $group);
if (is_null($artid)) {
if (sizeof($banana->spool->overview)>$banana->tmax) {
- $res .= ' > Pages<br />';
+ $res .= ' > Pages';
+ $res .= '<div class="pages">';
$n = intval(log(count($banana->spool->overview), 10))+1;
$i = 1;
for ($ndx = 1 ; $ndx <= sizeof($banana->spool->overview) ; $ndx += $banana->tmax) {
if ($first==$ndx) {
$n = intval(log(count($banana->spool->overview), 10))+1;
$i = 1;
for ($ndx = 1 ; $ndx <= sizeof($banana->spool->overview) ; $ndx += $banana->tmax) {
if ($first==$ndx) {
+ $res .= '<strong>' . $i . '</strong> ';
- $fmt = makeHREF(Array('group' => $group,
+ $res .= makeHREF(Array('group' => $group,
- '%0' . $n . 'u-%0' . $n . 'u')
+ $ndx . '-' . min($ndx+$banana->tmax-1,sizeof($banana->spool->overview)))
- $res .= sprintf($fmt, $ndx, min($ndx+$banana->tmax-1,sizeof($banana->spool->overview)));
}
if (!is_null($action)) {
if ($action == 'new') {
}
if (!is_null($action)) {
if ($action == 'new') {
if (!is_null($action)) {
$res .= ' > ' . makeHREF(Array('group' => $group,
'artid' => $artid),
if (!is_null($action)) {
$res .= ' > ' . makeHREF(Array('group' => $group,
'artid' => $artid),
. ' > ';
if ($action == 'new') {
$res .= 'Répondre';
. ' > ';
if ($action == 'new') {
$res .= 'Répondre';
{
global $banana;
$ret = '<div class="banana_menu">';
{
global $banana;
$ret = '<div class="banana_menu">';
- $actions = Array('prevThread' => Array('prev_thread', 'Discussion précédente'),
- 'prevPost' => Array('prev', 'Article précédent'),
- 'nextPost' => Array('next', 'Article suivant'),
- 'nextThread' => Array('next_thread', 'Discussion suivante'));
+ $actions = Array('prevThread' => Array('prev_thread', _b_('Discussion précédente')),
+ 'prevPost' => Array('prev', _b_('Article précédent')),
+ 'nextPost' => Array('next', _b_('Article suivant')),
+ 'nextThread' => Array('next_thread', _b_('Discussion suivante')));
foreach ($actions as $method=>$params) {
$id = $banana->spool->$method($this->id);
if (!is_null($id)) {
foreach ($actions as $method=>$params) {
$id = $banana->spool->$method($this->id);
if (!is_null($id)) {
. makeImgLink(Array('group' => $banana->state['group'],
'action' => 'new'),
'post.gif',
. makeImgLink(Array('group' => $banana->state['group'],
'action' => 'new'),
'post.gif',
+ _b_('Nouveau message'))
. makeImgLink(Array('group' => $banana->state['group'],
'artid' => $this->id,
'action' => 'new'),
'reply.gif',
. makeImgLink(Array('group' => $banana->state['group'],
'artid' => $this->id,
'action' => 'new'),
'reply.gif',
if ($this->checkCancel()) {
$res .= makeImgLink(Array('group' => $banana->state['group'],
'artid' => $this->id,
'action' => 'cancel'),
'cancel.gif',
if ($this->checkCancel()) {
$res .= makeImgLink(Array('group' => $banana->state['group'],
'artid' => $this->id,
'action' => 'cancel'),
'cancel.gif',
}
$res .= '</div>'
. formatDisplayHeader('subject', $this->headers['subject'])
}
$res .= '</div>'
. formatDisplayHeader('subject', $this->headers['subject'])
$new = '<div class="banana_action">'
. makeImgLink(Array('group' => $this->group,
$new = '<div class="banana_action">'
. makeImgLink(Array('group' => $this->group,
+ _b_('Nouveau message'));
$new .= '</div>';
if (is_null($_ref)) {
$new .= '</div>';
if (is_null($_ref)) {
div.banana_scuts .title {
font-weight: bold;
}
div.banana_scuts .title {
font-weight: bold;
}
+div.banana_scuts .pages {
+ font-size: 80%;
+ text-align: center;
+ padding-top: 0.1em;
+}
div.banana_action { float: right; }
div.banana_menu { float: left; }
div.banana_action { float: right; }
div.banana_menu { float: left; }