diff options
Diffstat (limited to 'mod/pubsites.php')
-rw-r--r-- | mod/pubsites.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/pubsites.php b/mod/pubsites.php index f401e301d..f9219ea46 100644 --- a/mod/pubsites.php +++ b/mod/pubsites.php @@ -18,7 +18,7 @@ function pubsites_content(&$a) { $o .= '<div class="section-title-wrapper"><h2>' . t('Public Hubs') . '</h2></div>'; $o .= '<div class="section-content-tools-wrapper"><div class="descriptive-text">' . - t('The listed hubs allow public registration for the $Projectname network. All hubs in the network are interlinked so membership on any of them conveys membership in the network as a whole. Some sites may require subscription or provide tiered service plans. The hub <strong>may</strong> provide additional details.') . '</div>' . EOL; + t('The listed hubs allow public registration for the $Projectname network. All hubs in the network are interlinked so membership on any of them conveys membership in the network as a whole. Some hubs may require subscription or provide tiered service plans. The hub itself <strong>may</strong> provide additional details.') . '</div>' . EOL; $ret = z_fetch_url($url); if($ret['success']) { @@ -37,7 +37,12 @@ function pubsites_content(&$a) { $location = '<br /> '; } $urltext = str_replace(array('https://'), '', $jj['url']); + if($jj['project'] == 'redmatrix' || $jj['project'] == '' ) { + $o .= ''; + } + else { $o .= '<tr><td><a href="'. (($jj['sellpage']) ? $jj['sellpage'] : $jj['url'] . '/register' ) . '" ><i class="icon-link"></i> ' . $urltext . '</a>' . $location . '</td><td>' . $jj['access'] . ' / ' . $jj['register'] . '</td><td>' . $jj['project'] . '</td><td><a href="ratings/' . $host . '" class="btn-btn-default"><i class="icon-eye-open"></i> ' . t('View') . '</a></td>' . $rate_links . '</tr>'; + } } } |