From 04d33ba9b3274bc243bb3ce34db6c9e2cb433275 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Tue, 10 Oct 2006 07:58:18 +0000 Subject: [PATCH] Should fix NL look in some webmails git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@958 839d8a87-29fc-0310-9880-83ba4fa771e5 --- include/newsletter.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/newsletter.inc.php b/include/newsletter.inc.php index b7bba9c..459db61 100644 --- a/include/newsletter.inc.php +++ b/include/newsletter.inc.php @@ -261,7 +261,7 @@ class NewsLetter } foreach ($this->_arts as $cid=>$arts) { - $res .= "

".$this->_cats[$cid].'

'; + $res .= "

".$this->_cats[$cid].'

'; foreach($arts as $art) { $res .= $art->toHtml(); $res .= "

Revenir au sommaire

"; @@ -286,11 +286,11 @@ class NewsLetter div.lnk { margin: 2ex 0ex 2ex 0ex; padding: 0ex 2ex 0ex 2ex; } div.lnk a { display: block; } - h1 { margin: 6ex 0ex 4ex 0ex; padding: 2px 4ex 2px 0ex; width: 60ex; font-size: 100%; + h1.xorg_nl { margin: 6ex 0ex 4ex 0ex; padding: 2px 4ex 2px 0ex; width: 60ex; font-size: 100%; border-bottom: 3px red solid; border-top: 3px red solid; } - h2 { width: 100%; margin: 0ex 1ex 0ex 1ex; padding: 2px 0px 2px 0px; font-weight: bold; font-style: italic; font-size: 95%; } - h1 span { font-size: 140%; padding: 2px 1ex 2px 1ex; border-bottom: 3px red solid; } - h2 span { padding: 2px 4px 2px 4px; border-bottom: 2px yellow solid; } + h2.xorg_nl { width: 100%; margin: 0ex 1ex 0ex 1ex; padding: 2px 0px 2px 0px; font-weight: bold; font-style: italic; font-size: 95%; } + h1.xorg_nl span { font-size: 140%; padding: 2px 1ex 2px 1ex; border-bottom: 3px red solid; } + h2.xorg_nl span { padding: 2px 4px 2px 4px; border-bottom: 2px yellow solid; } div.art { padding: 2ex; margin: 0ex 1ex 2ex 1ex; width: 58ex; border-top: 2px yellow solid; } div.app { padding: 2ex 3ex 0ex 3ex; width: 100%; margin: 0ex; text-align: left; font-size: 95%; } @@ -400,7 +400,7 @@ class NLArticle function toHtml() { - $title = "

".htmlentities($this->title()).'

'; + $title = "

".htmlentities($this->title()).'

'; $body = enriched_to_text($this->_body,true); $app = enriched_to_text($this->_append,true); -- 2.1.4