aboutsummaryrefslogtreecommitdiffstats
path: root/mod/pubsites.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-17 22:27:51 -0700
committerfriendica <info@friendica.com>2013-09-17 22:27:51 -0700
commitd3aa31be4d84764e4d119343d8bc5eba5a84272b (patch)
tree68522f122490ecf1971c9f2ebff1c8340466cb7f /mod/pubsites.php
parentff2ada207a7c90f095d1fad1513440eb08d3840a (diff)
downloadvolse-hubzilla-d3aa31be4d84764e4d119343d8bc5eba5a84272b.tar.gz
volse-hubzilla-d3aa31be4d84764e4d119343d8bc5eba5a84272b.tar.bz2
volse-hubzilla-d3aa31be4d84764e4d119343d8bc5eba5a84272b.zip
site sellpage links
Diffstat (limited to 'mod/pubsites.php')
-rw-r--r--mod/pubsites.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pubsites.php b/mod/pubsites.php
index d226f5d9f..b9f7510fc 100644
--- a/mod/pubsites.php
+++ b/mod/pubsites.php
@@ -27,7 +27,7 @@ function pubsites_content(&$a) {
if($j) {
$o .= '<table border="1"><tr><td>' . t('Site URL') . '</td><td>' . t('Access Type') . '</td><td>' . t('Registration Policy') . '</td></tr>';
foreach($j['sites'] as $jj) {
- $o .= '<tr><td>' . '<a href="'. $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></tr>';
}
$o .= '</table>';