aboutsummaryrefslogtreecommitdiffstats
path: root/mod/new_channel.php
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2016-01-27 00:24:05 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2016-01-27 00:24:05 +0100
commit68030d12cfefa8982774cca9714b0c1eed7b9537 (patch)
tree236212dd522b8443206165efa3e9f8fee106c3e2 /mod/new_channel.php
parent3494fddd7c13637c8fb25104002b59448f182e79 (diff)
downloadvolse-hubzilla-68030d12cfefa8982774cca9714b0c1eed7b9537.tar.gz
volse-hubzilla-68030d12cfefa8982774cca9714b0c1eed7b9537.tar.bz2
volse-hubzilla-68030d12cfefa8982774cca9714b0c1eed7b9537.zip
Linking new connection notification to pending connections (see Channel 1) and improved email notifications about new connections. Could not find a way to do this also for the generic notifications. Added hub domain of channel address on the new channel page. A few people on my hub didn't understood. This example will make it more clear. Some minor bits.
Diffstat (limited to 'mod/new_channel.php')
-rw-r--r--mod/new_channel.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/new_channel.php b/mod/new_channel.php
index 07b6cfc85..630984bf2 100644
--- a/mod/new_channel.php
+++ b/mod/new_channel.php
@@ -133,6 +133,7 @@ function new_channel_content(&$a) {
'$label_name' => t('Channel Name'),
'$help_name' => t('Examples: "Bob Jameson", "Lisa and her Horses", "Soccer", "Aviation Group" '),
'$label_nick' => t('Choose a short nickname'),
+ '$nick_hub' => '@' . str_replace(array('http://','https://','/'), '', get_config('system','baseurl')),
'$nick_desc' => t('Your nickname will be used to create an easily remembered channel address (like an email address) which you can share with others.'),
'$label_import' => t('Or <a href="import">import an existing channel</a> from another location'),
'$name' => $name,