summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-08 16:17:51 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-08 16:17:51 -0400
commit9dafde2c9f14f445399226de15b694d4e45deb79 (patch)
treefca701d4ad02db1f7d5fb514bfdd20af5bcfd876 /lib
parent0075f1136f13a851bff464742baa4de0d8b80c69 (diff)
styling on the favor/disfavor forms to show inline
darcs-hash:20080908201751-84dde-a498395d26b957b72350d8075d056b661a1f77c7.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 7e49dd8bd..8a1f9e008 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1550,6 +1550,7 @@ function common_session_token() {
function common_disfavor_form($notice) {
common_element_start('form', array('id' => 'disfavor-' . $notice->id,
'method' => 'post',
+ 'class' => 'disfavor',
'action' => common_local_url('disfavor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);
@@ -1560,6 +1561,7 @@ function common_disfavor_form($notice) {
function common_favor_form($notice) {
common_element_start('form', array('id' => 'favor-' . $notice->id,
'method' => 'post',
+ 'class' => 'favor',
'action' => common_local_url('favor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);