diff --git a/module/news/news.php b/module/news/news.php index d4492ac3..c1a72177 100644 --- a/module/news/news.php +++ b/module/news/news.php @@ -80,11 +80,7 @@ class news extends common { public static $borderStyle =[ 'none' => 'Aucune', - 'solid' => 'Tiret', - 'inset' => '3D enfoncé', - 'outset'=> '3D surélevé', - 'ridge' => 'Relief 1', - 'groove'=> 'Relief 2' + 'solid' => 'Tiret' ]; // Signature de l'article @@ -252,7 +248,8 @@ class news extends common { // Générer la feuille de CSS $style = '.newsFrame {'; - $style .= 'border:' . $this->getInput('newsThemeBorderStyle',helper::FILTER_STRING_SHORT) . ' ' . $this->getInput('newsThemeBorderColor') . ' ' . $this->getInput('newsThemeBorderWidth',helper::FILTER_STRING_SHORT) . ';'; + $style .= 'border-right:' . $this->getInput('newsThemeBorderStyle',helper::FILTER_STRING_SHORT) . ' ' . $this->getInput('newsThemeBorderColor') . ' ' . $this->getInput('newsThemeBorderWidth',helper::FILTER_STRING_SHORT) . ';'; + $style .= 'border-left:' . $this->getInput('newsThemeBorderStyle',helper::FILTER_STRING_SHORT) . ' ' . $this->getInput('newsThemeBorderColor') . ' ' . $this->getInput('newsThemeBorderWidth',helper::FILTER_STRING_SHORT) . ';'; $style .= 'background-color:' . $this->getInput('newsThemeBackgroundColor') . ';'; $style .= '}'; diff --git a/module/news/view/index/index.php b/module/news/view/index/index.php index 096b255f..c893dc96 100644 --- a/module/news/view/index/index.php +++ b/module/news/view/index/index.php @@ -1,40 +1,42 @@ -