From 78b989f29004fab78946e8606b6b9a752efcd4dc Mon Sep 17 00:00:00 2001 From: buckaroo-labs Date: Wed, 20 Dec 2023 21:39:10 -0800 Subject: add 'minimal' theme --- data/templates/minimal/sidebar.block.recent.php | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 data/templates/minimal/sidebar.block.recent.php (limited to 'data/templates/minimal/sidebar.block.recent.php') diff --git a/data/templates/minimal/sidebar.block.recent.php b/data/templates/minimal/sidebar.block.recent.php new file mode 100644 index 0000000..80ae71c --- /dev/null +++ b/data/templates/minimal/sidebar.block.recent.php @@ -0,0 +1,39 @@ +getCurrentUserId(); +if ($logged_on_userid === false) { + $logged_on_userid = NULL; +} +$recentTags = $b2tservice->getPopularTags($userid, $popCount, $logged_on_userid, $GLOBALS['defaultRecentDays']); +$recentTags = $b2tservice->tagCloud($recentTags, 5, 90, 225, 'alphabet_asc'); + +if ($recentTags && count($recentTags) > 0) { +?> + +

+
+ '; + + if(!isset($user) || $user == '') { + $user = ''; + $cat_url = createURL('tags', '%2$s'); + } + + foreach ($recentTags as $row) { + $entries = T_ngettext('bookmark', 'bookmarks', $row['bCount']); + $contents .= ' '; + } + echo $contents ."

\n"; + ?> +

+
+ + -- cgit v1.2.3-54-g00ecf