summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <git@evanprodromou.name>2009-01-14 01:17:17 -0500
committerEvan Prodromou <git@evanprodromou.name>2009-01-14 01:17:17 -0500
commita42fef1621a69cefe0cfa7b9ee75df61b09a1526 (patch)
tree525fb13f42809da3ba7237e292319673c9b383d8 /lib/util.php
parent19ae54775b0c7e210462363cc4bfc72bdeb8103f (diff)
Move nudge form to its own class
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/util.php b/lib/util.php
index 13117f8b1..9dd0ba84d 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1638,16 +1638,6 @@ function common_session_token()
return $_SESSION['token'];
}
-function common_nudge_form($profile)
-{
- common_element_start('form', array('id' => 'nudge', 'method' => 'post',
- 'action' => common_local_url('nudge', array('nickname' => $profile->nickname))));
- common_hidden('token', common_session_token());
- common_element('input', array('type' => 'submit',
- 'class' => 'submit',
- 'value' => _('Send a nudge')));
- common_element_end('form');
-}
function common_nudge_response()
{
common_element('p', array('id' => 'nudge_response'), _('Nudge sent!'));