From 0bad26e116499d9b656c28f64c81275df4bbecb6 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 16 Mar 2017 17:11:48 -0700 Subject: the rest of the standard widgets converted --- Zotlabs/Widget/Rating.php | 67 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Zotlabs/Widget/Rating.php (limited to 'Zotlabs/Widget/Rating.php') diff --git a/Zotlabs/Widget/Rating.php b/Zotlabs/Widget/Rating.php new file mode 100644 index 000000000..5e09f457b --- /dev/null +++ b/Zotlabs/Widget/Rating.php @@ -0,0 +1,67 @@ +'; + $o .= '

' . t('Rating Tools') . '

'; + + if((($remote) || (local_channel())) && (! $self)) { + if($remote) + $o .= ' ' . t('Rate Me') . ''; + else + $o .= '
' . t('Rate Me') . '
'; + } + + $o .= ' ' . t('View Ratings') . ''; + $o .= ''; + + return $o; + + } +} + -- cgit v1.2.3