From b41218ca303b9fd8258fd613915d3c4b9fd411c0 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Sun, 24 Oct 2010 20:39:24 -0700 Subject: workflow for federated/non-dfrn followers --- view/acl_selectors.php | 2 +- view/intros.tpl | 32 ++++++++++---------------------- view/magicsig.tpl | 9 +++++++++ view/netfriend.tpl | 14 ++++++++++++++ view/theme/default/style.css | 9 +++++++++ 5 files changed, 43 insertions(+), 23 deletions(-) create mode 100644 view/magicsig.tpl create mode 100644 view/netfriend.tpl (limited to 'view') diff --git a/view/acl_selectors.php b/view/acl_selectors.php index 7ad97dfd2..b5f2dcfea 100644 --- a/view/acl_selectors.php +++ b/view/acl_selectors.php @@ -50,7 +50,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p $r = q("SELECT `id`, `name`, `url` FROM `contact` - WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 + WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `network` = 'dfrn' $sql_extra ORDER BY `name` ASC ", $_SESSION['uid'] diff --git a/view/intros.tpl b/view/intros.tpl index a56c7742d..30198beb8 100644 --- a/view/intros.tpl +++ b/view/intros.tpl @@ -1,12 +1,12 @@ -
+
-

Notification type: Friend/Connect Request

-
$fullname
-fullname -
Presumably known to you? $knowyou
-
$note
-
+

Notification type: $notify_type

+
$fullname
+fullname +
$knowyou
+
$note
+
@@ -14,23 +14,11 @@
- + + -
Approve as:
- -
- - -
-
-
-
- - -
-
-
+$dfrn_text
diff --git a/view/magicsig.tpl b/view/magicsig.tpl new file mode 100644 index 000000000..46b4d4ea4 --- /dev/null +++ b/view/magicsig.tpl @@ -0,0 +1,9 @@ + + + +$data + +$encoding +$algorithm +$signature + diff --git a/view/netfriend.tpl b/view/netfriend.tpl new file mode 100644 index 000000000..b041ec49f --- /dev/null +++ b/view/netfriend.tpl @@ -0,0 +1,14 @@ +
Approve as:
+ +
+ + +
+
+
+
+ + +
+
+
diff --git a/view/theme/default/style.css b/view/theme/default/style.css index 32d8eeba0..ca4891a76 100644 --- a/view/theme/default/style.css +++ b/view/theme/default/style.css @@ -527,6 +527,10 @@ input#dfrn-url { clear: both; } +.intro-wrapper { + margin-top: 20px; +} + .intro-fullname { font-size: 1.1em; font-weight: bold; @@ -534,6 +538,7 @@ input#dfrn-url { } .intro-desc { margin-bottom: 20px; + font-weight: bold; } .intro-note { @@ -556,6 +561,10 @@ input#dfrn-url { .intro-submit-approve, .intro-submit-ignore { margin-right: 20px; } +.intro-submit-approve { + margin-top: 15px; +} + .intro-approve-as-friend-label, .intro-approve-as-fan-label { float: left; width: 100px; -- cgit v1.2.3