if registration is disabled, send the site register link to pubsites
This commit is contained in:
parent
400753b6cc
commit
bba188eae3
6
boot.php
6
boot.php
@ -1411,13 +1411,11 @@ function login($register = false, $form_id = 'main-login', $hiddens=false) {
|
||||
if(! strlen($reglink))
|
||||
$reglink = 'register';
|
||||
|
||||
if ($register) {
|
||||
$reg = array(
|
||||
'title' => t('Create a New Account'),
|
||||
'title' => t('Create an account to access services and applications within the Red Matrix'),
|
||||
'desc' => t('Register'),
|
||||
'link' => $reglink
|
||||
'link' => (($register) ? $reglink : 'pubsites')
|
||||
);
|
||||
}
|
||||
|
||||
$dest_url = $a->get_baseurl(true) . '/' . $a->query_string;
|
||||
|
||||
|
@ -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']) {
|
||||
|
Reference in New Issue
Block a user