aboutsummaryrefslogtreecommitdiffstats
path: root/mod/pubsites.php
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2016-02-22 03:03:32 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2016-02-22 03:03:32 +0100
commitf535d438b26795abec9675c22ba8083855e9a15e (patch)
tree6c96f488fab000aca4b858065334376820c456a1 /mod/pubsites.php
parent119ffd2d2d6e8191c2f3d29709c156dd422f5bdd (diff)
downloadvolse-hubzilla-f535d438b26795abec9675c22ba8083855e9a15e.tar.gz
volse-hubzilla-f535d438b26795abec9675c22ba8083855e9a15e.tar.bz2
volse-hubzilla-f535d438b26795abec9675c22ba8083855e9a15e.zip
I don't think we need redmatrix hubs (or hubs without no project name) in this list. The other way around (hubzilla in redmatrix pubsites) is no problem I think. If not agreed, please revert.
Diffstat (limited to 'mod/pubsites.php')
-rw-r--r--mod/pubsites.php7
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 />&nbsp;';
}
$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>';
+ }
}
}