Commit eee86d56 authored by Mario's avatar Mario Committed by Mario

minor channel reputation fixes


(cherry picked from commit 085714b3)
parent 6ca1d441
version: 1
url: $baseurl/channelreputation
version: 2
url: $baseurl/channelreputation/$nick
requires: local_channel
name: Channel Reputation
photo: icon:line-chart
......
......@@ -538,11 +538,9 @@ class Channelreputation {
notice("No content");
}
public static function channel_apps(&$hookdata) {
$channelid = App::$profile['uid'];
$hookdata['tabs'][] = [
'label' => t('Channel Reputation'),
'url' => z_root() . '/channelreputaton/' . $hookdata['nickname'],
'url' => z_root() . '/channelreputation/' . $hookdata['nickname'],
'sel' => ((argv(0) == 'channelreputation') ? 'active' : ''),
'title' => t('Channel Reputation'),
'id' => 'channelrep-tab',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment