From: x2003bruneau Date: Wed, 12 Jul 2006 17:02:01 +0000 (+0000) Subject: Posts are more compact. X-Git-Tag: 1.8~206 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=4eedaedff747500263817e98e21aefcc6bbda9db;p=banana.git Posts are more compact. Try to remove 'geek' words git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@89 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- diff --git a/banana/post.inc.php b/banana/post.inc.php index b1aed1c..e02c500 100644 --- a/banana/post.inc.php +++ b/banana/post.inc.php @@ -351,8 +351,10 @@ class BananaPost } $res = ''; - $res .= ''; - $res .= '
' . formatdisplayheader('subject', $this->headers['subject']) . '
'; + $res .= ''; + $res .= '
' + . formatdisplayheader('subject', $this->headers['subject']) + . '
'; foreach ($banana->show_hdr as $hdr) { if (isset($this->headers[$hdr])) { @@ -371,12 +373,10 @@ class BananaPost } $res .= ''; - $res .= ''; } - $res .= ''; preg_match("@text/([^;]+);@", $this->headers['content-type'], $format); $format = $format[1]; - $res .= '
'._b_('Corps'); if (count($this->messages) > 1) { + $res .= '
'; for ($i = 0 ; $i < count($this->messages) ; $i++) { - if ($i == 0) { - $res .= ' : '; - } else { + if ($i != 0) { $res .= ' . '; } preg_match("@text/([^;]+);@", $this->messages[$i]['headers']['content-type'], $format); @@ -390,12 +390,12 @@ class BananaPost $res .= $format; } } + $res .= '
]*bgcolor="?([#0-9a-f]+)"?[^>]*>@i', $this->body, $bgcolor)) { $res .= ' bgcolor="'.$bgcolor[1].'"'; diff --git a/css/style.css b/css/style.css index 74e4592..d61e782 100644 --- a/css/style.css +++ b/css/style.css @@ -46,6 +46,7 @@ table.banana_thread td.subs { padding: 0%; } table.banana_msg td.headers { width: 100%; } table.banana_msg .hdr { width: 15%; text-align: right; font-weight: bold; padding-right: 1em; } table.banana_msg td.xface { text-align: right; } +table.banana_msg th.subject { font-size: 120%; } table.banana_msg td.thrd { padding: 0px; } table.banana_msg table { border: 0px; padding: 0px; margin: 0px; width: 100%; }