summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-20 22:36:57 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-20 22:36:57 +0000
commitbb4a6a514bb62a0fef2314512c121951a40437e7 (patch)
treef52f287ad6518fdcf158d386e6ea618d5eb59947 /lib
parent1cf469e244692055aab54f2f5c67e5b365767a33 (diff)
user_actions form markup and styling
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';
}
/**