From: Mikael Nordfeldth Date: Sun, 22 Nov 2015 23:40:28 +0000 (+0100) Subject: allow form ->li() to set $class X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bca4bb83732661c6c649b12201d342a57b90da37;p=quix0rs-gnu-social.git allow form ->li() to set $class --- diff --git a/lib/form.php b/lib/form.php index ee97f7a32f..fcccb9c752 100644 --- a/lib/form.php +++ b/lib/form.php @@ -190,9 +190,9 @@ class Form extends Widget return 'form'; } - function li() + function li($class=null) { - $this->out->elementStart('li'); + $this->out->elementStart('li', $class); } function unli()