diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-14 06:40:55 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-14 06:40:55 +0000 |
commit | 8c0c085c2de89c1ff7deeabd2b4e259f32a49ea0 (patch) | |
tree | 2d789cd9a1c39894218b938c3185519f9d5478a3 /lib/util.php | |
parent | 3c283332b6f851fda537f3c81efe2677a3da6118 (diff) | |
parent | 03e65d589ad4f951c008b040d0bd4d019dfc2b3d (diff) |
Merge branch 'uiredesign' of ../evan into uiredesign
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/lib/util.php b/lib/util.php index 9dd0ba84d..811c7cdb0 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1643,40 +1643,6 @@ function common_nudge_response() common_element('p', array('id' => 'nudge_response'), _('Nudge sent!')); } -function common_subscribe_form($profile) -{ - common_element_start('form', array('id' => 'subscribe-' . $profile->id, - 'method' => 'post', - 'class' => 'subscribe', - 'action' => common_local_url('subscribe'))); - common_hidden('token', common_session_token()); - common_element('input', array('id' => 'subscribeto-' . $profile->id, - 'name' => 'subscribeto', - 'type' => 'hidden', - 'value' => $profile->id)); - common_element('input', array('type' => 'submit', - 'class' => 'submit', - 'value' => _('Subscribe'))); - common_element_end('form'); -} - -function common_unsubscribe_form($profile) -{ - common_element_start('form', array('id' => 'unsubscribe-' . $profile->id, - 'method' => 'post', - 'class' => 'unsubscribe', - 'action' => common_local_url('unsubscribe'))); - common_hidden('token', common_session_token()); - common_element('input', array('id' => 'unsubscribeto-' . $profile->id, - 'name' => 'unsubscribeto', - 'type' => 'hidden', - 'value' => $profile->id)); - common_element('input', array('type' => 'submit', - 'class' => 'submit', - 'value' => _('Unsubscribe'))); - common_element_end('form'); -} - // XXX: Refactor this code function common_profile_new_message_nudge ($cur, $profile) { |