From 925b046794b77345c1321a3c74e4561d5c10ec95 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 21 Aug 2013 22:10:08 -0700 Subject: premium/restricted channel connections implemented, configure at yoursite/channel/nickname - this basically redirects "follow" requests to a premium channel's sell page if it has one configured. You can still click through and create a connection request (introduction), but this provides a means for the channel owner to state their terms. If you don't abide by the terms, you will likely be blocked or the channel deleted. This facility is extensible in a number of ways. --- view/css/mod_connect.css | 8 ++++++++ view/tpl/sellpage_edit.tpl | 23 +++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 view/tpl/sellpage_edit.tpl (limited to 'view') diff --git a/view/css/mod_connect.css b/view/css/mod_connect.css index 43de7d256..d1a46ec48 100644 --- a/view/css/mod_connect.css +++ b/view/css/mod_connect.css @@ -1,3 +1,11 @@ +.sellpage-body { + margin-top: 25px; +} + .sellpage-final { margin-top: 25px; +} + +#sellpage-edit label{ + width: 300px; } \ No newline at end of file diff --git a/view/tpl/sellpage_edit.tpl b/view/tpl/sellpage_edit.tpl new file mode 100644 index 000000000..0a4726fb2 --- /dev/null +++ b/view/tpl/sellpage_edit.tpl @@ -0,0 +1,23 @@ +

{{$header}}

+
+ +{{include file="field_checkbox.tpl" field=$premium}} + +
{{$desc}}
+ +
+

+{{$lbl_about}} +

+ + + +
+
+ + +
{{$lbl2}}
+
{{$desc2}}
+ + +
-- cgit v1.2.3