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 --- framework/Web/UI/WebControls/TBulletedList.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'framework/Web/UI/WebControls') 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