diff options
author | godzilla80@gmx.net <> | 2009-06-07 07:12:35 +0000 |
---|---|---|
committer | godzilla80@gmx.net <> | 2009-06-07 07:12:35 +0000 |
commit | 4b32a36b9df4b21c8d8a9f3ebc2051fd8a37fb48 (patch) | |
tree | 30d145461badb1baec510f9469e8a5e3ae648859 /framework | |
parent | 531a1559566d9c75481f4bddece6bfcf878f889e (diff) |
Fixed Issue#175 - TBulletedList: Introduce TBulletStyle::None
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/WebControls/TBulletedList.php | 5 |
1 files changed, 5 insertions, 0 deletions
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';
|