aboutsummaryrefslogtreecommitdiffstats
path: root/mod/pubsites.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-30 01:58:45 -0700
committerfriendica <info@friendica.com>2013-10-30 01:58:45 -0700
commit2035a5dd763f7524cdc1a678b0e8dbca94f270f5 (patch)
tree5109b71ad33146e6f99ef79aaca3a9c7844b3cd6 /mod/pubsites.php
parent8da4da37ccbcc6921f97eeb0c9cd3c23567bd761 (diff)
downloadvolse-hubzilla-2035a5dd763f7524cdc1a678b0e8dbca94f270f5.tar.gz
volse-hubzilla-2035a5dd763f7524cdc1a678b0e8dbca94f270f5.tar.bz2
volse-hubzilla-2035a5dd763f7524cdc1a678b0e8dbca94f270f5.zip
allow zot public providers to list their location, as a non US-based server could be a strong selling point.
Diffstat (limited to 'mod/pubsites.php')
-rw-r--r--mod/pubsites.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/pubsites.php b/mod/pubsites.php
index 9728d0704..78b107229 100644
--- a/mod/pubsites.php
+++ b/mod/pubsites.php
@@ -21,13 +21,16 @@ 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;
+
$ret = z_fetch_url($url);
if($ret['success']) {
$j = json_decode($ret['body'],true);
if($j) {
- $o .= '<table border="1"><tr><td>' . t('Site URL') . '</td><td>' . t('Access Type') . '</td><td>' . t('Registration Policy') . '</td></tr>';
+ $o .= '<table border="1"><tr><td>' . t('Site URL') . '</td><td>' . t('Access Type') . '</td><td>' . t('Registration Policy') . '</td><td>' . t('Location') . '</td></tr>';
foreach($j['sites'] as $jj) {
- $o .= '<tr><td>' . '<a href="'. (($jj['sellpage']) ? $jj['sellpage'] : $jj['url']) . '" >' . $jj['url'] . '</a>' . '</td><td>' . $jj['access'] . '</td><td>' . $jj['register'] . '</td></tr>';
+ $o .= '<tr><td>' . '<a href="'. (($jj['sellpage']) ? $jj['sellpage'] : $jj['url']) . '" >' . $jj['url'] . '</a>' . '</td><td>' . $jj['access'] . '</td><td>' . $jj['register'] . '</td><td>' . $jj['location'] . '</td></tr>';
}
$o .= '</table>';