aboutsummaryrefslogtreecommitdiffstats
path: root/mod/pubsites.php
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2016-02-22 19:28:32 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2016-02-22 19:28:32 +0100
commit9db1148650373155f6d5321856979d4fa9e28caa (patch)
tree0d9c7017873bc550cc57d4bf9538850125fdd68f /mod/pubsites.php
parent502fed198de69add4954b988983726e9442825df (diff)
downloadvolse-hubzilla-9db1148650373155f6d5321856979d4fa9e28caa.tar.gz
volse-hubzilla-9db1148650373155f6d5321856979d4fa9e28caa.tar.bz2
volse-hubzilla-9db1148650373155f6d5321856979d4fa9e28caa.zip
pubsites: network column is not needed anymore (mentioned in intro text). Because of more vertical space Access and Register columnis separate again.
Diffstat (limited to 'mod/pubsites.php')
-rw-r--r--mod/pubsites.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/pubsites.php b/mod/pubsites.php
index e20db2ce5..dc6b09d9b 100644
--- a/mod/pubsites.php
+++ b/mod/pubsites.php
@@ -24,7 +24,7 @@ function pubsites_content(&$a) {
if($ret['success']) {
$j = json_decode($ret['body'],true);
if($j) {
- $o .= '<table class="table table-striped table-hover"><tr><td>' . t('Hub URL') . '</td><td>' . t('Access Type') . ' / ' . '<br />' . t('Registration Policy') . '</td><td>' . t('Project') . '</td><td colspan="2">' . t('Ratings') . '</td></tr>';
+ $o .= '<table class="table table-striped table-hover"><tr><td>' . t('Hub URL') . '</td><td>' . t('Access Type') . '</td><td>' . t('Registration Policy') . '</td><td colspan="2">' . t('Ratings') . '</td></tr>';
if($j['sites']) {
foreach($j['sites'] as $jj) {
if($jj['project'] !== Zotlabs\Project\System::get_platform_name())
@@ -39,7 +39,7 @@ function pubsites_content(&$a) {
$location = '<br />&nbsp;';
}
$urltext = str_replace(array('https://'), '', $jj['url']);
- $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>';
+ $o .= '<tr><td><a href="'. (($jj['sellpage']) ? $jj['sellpage'] : $jj['url'] . '/register' ) . '" ><i class="icon-link"></i> ' . $urltext . '</a>' . $location . '</td><td>' . $jj['access'] . '</td><td>' . $jj['register'] . '</td><td><a href="ratings/' . $host . '" class="btn-btn-default"><i class="icon-eye-open"></i> ' . t('View') . '</a></td>' . $rate_links . '</tr>';
}
}