From 9f1b4b3ed6724bf07e11581a03d898467947b954 Mon Sep 17 00:00:00 2001 From: millette Date: Tue, 18 Nov 2008 10:56:43 -0500 Subject: small nudge enhancements darcs-hash:20081118155643-099f7-df2d332253d9acc007966b28f5afc2edcd7cc9ac.gz --- lib/util.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/util.php b/lib/util.php index 43e565fbf..7dfbc1578 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1866,11 +1866,7 @@ function common_favor_form($notice) { 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()); //Is this necessary? -// common_element('input', array('id' => 'nudge_nickname', -// 'name' => 'nudge_nickname', -// 'type' => 'hidden', -// 'value' => $profile->nickname)); + common_hidden('token', common_session_token()); common_element('input', array('type' => 'submit', 'class' => 'submit', 'value' => _('Send a nudge'))); @@ -1881,7 +1877,6 @@ function common_nudge_response() { common_element('p', array('id' => 'nudge_response'), _('Nudge sent!')); } - function common_cache_key($extra) { return 'laconica:' . common_keyize(common_config('site', 'name')) . ':' . $extra; } -- cgit v1.2.3-54-g00ecf