summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/blockform.php15
-rw-r--r--lib/subscribeform.php2
-rw-r--r--lib/unblockform.php13
-rw-r--r--lib/unsubscribeform.php2
4 files changed, 28 insertions, 4 deletions
diff --git a/lib/blockform.php b/lib/blockform.php
index 51e43f8b5..b7790681d 100644
--- a/lib/blockform.php
+++ b/lib/blockform.php
@@ -88,6 +88,19 @@ class BlockForm extends Form
return 'block-' . $this->profile->id;
}
+
+ /**
+ * class of the form
+ *
+ * @return string class of the form
+ */
+
+ function formClass()
+ {
+ return 'form_user_block';
+ }
+
+
/**
* Action of the form
*
@@ -127,4 +140,4 @@ class BlockForm extends Form
{
$this->out->submit('submit', _('Block'));
}
-} \ No newline at end of file
+}
diff --git a/lib/subscribeform.php b/lib/subscribeform.php
index 8b69efd1a..231e740a7 100644
--- a/lib/subscribeform.php
+++ b/lib/subscribeform.php
@@ -89,7 +89,7 @@ class SubscribeForm extends Form
function formClass()
{
- return 'form_subscribe';
+ return 'form_user_subscribe';
}
diff --git a/lib/unblockform.php b/lib/unblockform.php
index 4cb9ae4f5..025011a82 100644
--- a/lib/unblockform.php
+++ b/lib/unblockform.php
@@ -89,6 +89,17 @@ class UnblockForm extends Form
}
/**
+ * class of the form
+ *
+ * @return string class of the form
+ */
+
+ function formClass()
+ {
+ return 'form_user_unblock';
+ }
+
+ /**
* Action of the form
*
* @return string URL of the action
@@ -127,4 +138,4 @@ class UnblockForm extends Form
{
$this->out->submit('submit', _('Unblock'));
}
-} \ No newline at end of file
+}
diff --git a/lib/unsubscribeform.php b/lib/unsubscribeform.php
index b222f0e54..092369db7 100644
--- a/lib/unsubscribeform.php
+++ b/lib/unsubscribeform.php
@@ -89,7 +89,7 @@ class UnsubscribeForm extends Form
function formClass()
{
- return 'form_unsubscribe';
+ return 'form_user_unsubscribe';
}
/**