aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-30 18:49:14 -0700
committerfriendica <info@friendica.com>2013-10-30 18:49:14 -0700
commitbba188eae3f1286910e8c57d304f72eab8e0ea14 (patch)
treea7d71dbb5a191ec66ad870c5b9d5d2be123538c1
parent400753b6ccfce66d6d88cefa7a7677016152a415 (diff)
downloadvolse-hubzilla-bba188eae3f1286910e8c57d304f72eab8e0ea14.tar.gz
volse-hubzilla-bba188eae3f1286910e8c57d304f72eab8e0ea14.tar.bz2
volse-hubzilla-bba188eae3f1286910e8c57d304f72eab8e0ea14.zip
if registration is disabled, send the site register link to pubsites
-rwxr-xr-xboot.php14
-rw-r--r--mod/pubsites.php2
2 files changed, 7 insertions, 9 deletions
diff --git a/boot.php b/boot.php
index c7af5147e..e97d59f87 100755
--- a/boot.php
+++ b/boot.php
@@ -1410,14 +1410,12 @@ function login($register = false, $form_id = 'main-login', $hiddens=false) {
$reglink = get_config('system','register_link');
if(! strlen($reglink))
$reglink = 'register';
-
- if ($register) {
- $reg = array(
- 'title' => t('Create a New Account'),
- 'desc' => t('Register'),
- 'link' => $reglink
- );
- }
+
+ $reg = array(
+ 'title' => t('Create an account to access services and applications within the Red Matrix'),
+ 'desc' => t('Register'),
+ 'link' => (($register) ? $reglink : 'pubsites')
+ );
$dest_url = $a->get_baseurl(true) . '/' . $a->query_string;
diff --git a/mod/pubsites.php b/mod/pubsites.php
index 78b107229..0441f928b 100644
--- a/mod/pubsites.php
+++ b/mod/pubsites.php
@@ -22,7 +22,7 @@ function pubsites_content(&$a) {
$o .= '<h1>' . t('Public Sites') . '</h1>';
$o .= '<div class="descriptive-text">' .
- t('The listed sites allow public registration. Some may require subscription or provide tiered service plans. The provider links may provide additional details.') . '</div>' . EOL;
+ t('The listed sites allow public registration into the Red Matrix. All sites in the matrix are interlinked so membership on any of them conveys membership in the matrix as a whole. Some sites may require subscription or provide tiered service plans. The provider links may provide additional details.') . '</div>' . EOL;
$ret = z_fetch_url($url);
if($ret['success']) {