From f00887ea42e04caecb9cbc56d92c2e70513768af Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 19 Oct 2015 20:35:44 -0700 Subject: add project info to pubsite list --- mod/pubsites.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/pubsites.php') diff --git a/mod/pubsites.php b/mod/pubsites.php index 62990c70c..726c681fa 100644 --- a/mod/pubsites.php +++ b/mod/pubsites.php @@ -23,12 +23,12 @@ function pubsites_content(&$a) { $j = json_decode($ret['body'],true); if($j) { $rate_meta = ((local_channel()) ? '' . t('Rate this hub') . '' : ''); - $o .= '' . $rate_meta . ''; + $o .= '
' . t('Site URL') . '' . t('Access Type') . '' . t('Registration Policy') . '' . t('Location') . '' . t('View hub ratings') . '
' . $rate_meta . ''; if($j['sites']) { foreach($j['sites'] as $jj) { $host = strtolower(substr($jj['url'],strpos($jj['url'],'://')+3)); $rate_links = ((local_channel()) ? '' : ''); - $o .= '' . $rate_links . ''; + $o .= '' . $rate_links . ''; } } -- cgit v1.2.3 From 618155e6ab1a76b5aaa667aa41a1668ce8f73a20 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Sun, 1 Nov 2015 22:59:32 +0100 Subject: More Bluegrid fine tuning and generic-content-wrapper-styled added to some tpl-files and 2 php files, cause they dont have a tpl file. --- mod/pubsites.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod/pubsites.php') diff --git a/mod/pubsites.php b/mod/pubsites.php index 726c681fa..ae8601366 100644 --- a/mod/pubsites.php +++ b/mod/pubsites.php @@ -13,6 +13,8 @@ function pubsites_content(&$a) { } $url .= '/sites'; + $o .= '
'; + $o .= '

' . t('Public Sites') . '

'; $o .= '
' . @@ -33,6 +35,9 @@ function pubsites_content(&$a) { } $o .= '
' . t('Site URL') . '' . t('Access Type') . '' . t('Registration Policy') . '' . t('Location') . '' . t('Project') . '' . t('View hub ratings') . '
' . t('Rate') . '
' . '' . $jj['url'] . '' . '' . $jj['access'] . '' . $jj['register'] . '' . $jj['location'] . ' ' . t('View ratings') . '
' . '' . $jj['url'] . '' . '' . $jj['access'] . '' . $jj['register'] . '' . $jj['location'] . '' . $jj['project'] . ' ' . t('View ratings') . '
'; + + $o .= ''; + } } return $o; -- cgit v1.2.3