forked from GNUsocial/gnu-social
Merge ../csarven into uiredesign
Conflicts: lib/action.php
This commit is contained in:
12
lib/form.php
12
lib/form.php
@@ -65,6 +65,7 @@ class Form extends Widget
|
||||
{
|
||||
$this->out->elementStart('form',
|
||||
array('id' => $this->id(),
|
||||
'class' => $this->formClass(),
|
||||
'method' => 'POST',
|
||||
'action' => $this->action()));
|
||||
$this->out->elementStart('fieldset');
|
||||
@@ -153,4 +154,15 @@ class Form extends Widget
|
||||
function action()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Class of the form.
|
||||
*
|
||||
* @return string the form's class
|
||||
*/
|
||||
|
||||
function formClass()
|
||||
{
|
||||
return 'form';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user