From 4b32a36b9df4b21c8d8a9f3ebc2051fd8a37fb48 Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Sun, 7 Jun 2009 07:12:35 +0000 Subject: Fixed Issue#175 - TBulletedList: Introduce TBulletStyle::None --- HISTORY | 1 + framework/Web/UI/WebControls/TBulletedList.php | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/HISTORY b/HISTORY index 373b9dae..2c7ed70b 100644 --- a/HISTORY +++ b/HISTORY @@ -2,6 +2,7 @@ Version 3.1.6 to be released BUG: Issue#98 - Missing file in quickstart demo (Chrisotphe) BUG: Issue#117 - Consider TValidationSummary.DisplayMode="HeaderOnly" if TValidationSummary.ShowMessageBox is set (Yves) BUG: Issue#164 - CultureInfo::validCulture should be declared as a static method (Christophe) +ENH: Issue#175 - TBulletedList: Introduce TBulletStyle::None (Yves) Version 3.1.5 May 24, 2009 BUG: Issue#55 - TPropertyAccess.get and has don't recognize magic getter __get (Yves) diff --git a/framework/Web/UI/WebControls/TBulletedList.php b/framework/Web/UI/WebControls/TBulletedList.php index 60cf743e..5f4aa49c 100644 --- a/framework/Web/UI/WebControls/TBulletedList.php +++ b/framework/Web/UI/WebControls/TBulletedList.php @@ -103,6 +103,10 @@ class TBulletedList extends TListControl implements IPostBackEventHandler $needStart=false; switch($this->getBulletStyle()) { + case TBulletStyle::None: + $writer->addStyleAttribute('list-style-type','none'); + $needStart=true; + break; case TBulletStyle::Numbered: $writer->addStyleAttribute('list-style-type','decimal'); $needStart=true; @@ -452,6 +456,7 @@ class TBulletedListEventParameter extends TEventParameter class TBulletStyle extends TEnumerable { const NotSet='NotSet'; + const None='None'; const Numbered='Numbered'; const LowerAlpha='LowerAlpha'; const UpperAlpha='UpperAlpha'; -- cgit v1.2.3