From 3fd4b4264ef8c418bbf78edaa02f7e4e32f5022e Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sun, 1 Aug 2010 05:46:51 -0700 Subject: set frequency of poll per contact, other misc fixes (photo now has contact-id) --- view/contact_edit.tpl | 5 +++++ view/contact_selectors.php | 32 ++++++++++++++++++++++++++------ view/style.css | 10 +++++++++- 3 files changed, 40 insertions(+), 7 deletions(-) (limited to 'view') diff --git a/view/contact_edit.tpl b/view/contact_edit.tpl index 6f1dbbc7c..a049c232f 100644 --- a/view/contact_edit.tpl +++ b/view/contact_edit.tpl @@ -23,6 +23,11 @@ Delete contact
+
+
Last updated: $last_update +
Update public posts:
+ $poll_interval +
diff --git a/view/contact_selectors.php b/view/contact_selectors.php index a6cafe4ee..7c7abfc7c 100644 --- a/view/contact_selectors.php +++ b/view/contact_selectors.php @@ -26,12 +26,12 @@ function contact_reputation($current) { $o .= "' . "\r\n"; + + $rep = array( + 0 => t('Frequently'), + 1 => t('Hourly'), + 2 => t('Twice daily'), + 3 => t('Daily'), + 4 => t('Weekly'), + 5 => t('Monthly') + ); + + foreach($rep as $k => $v) { + $selected = (($k == $current) ? " selected=\"selected\" " : ""); + $o .= "\r\n"; + } + $o .= "\r\n"; + return $o; +} diff --git a/view/style.css b/view/style.css index 0d3b6b29d..c7b46a830 100644 --- a/view/style.css +++ b/view/style.css @@ -16,7 +16,7 @@ body { background: #FEFEFE; color: #444444; font-family: "Lucida Grande", Tahoma, sans-serif; - letter-spacing: 1px; +/* letter-spacing: 1px; */ /* font-family: verdana, sans-serif; */ font-size: 90%; margin-left: 10px; @@ -880,6 +880,14 @@ input#dfrn-url { margin-left: 30px; } +#contact-edit-poll-wrapper { + margin-left: 50px; + margin-top: 30px; +} +#contact-edit-poll-text { + margin-bottom: 10px; +} + #contact-edit-photo-wrapper { margin-bottom: 20px; } -- cgit v1.2.3