https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda43f7
)
provide optional sitewide channel list
author
friendica
<info@friendica.com>
Mon, 2 Apr 2012 01:11:11 +0000
(18:11 -0700)
committer
friendica
<info@friendica.com>
Mon, 2 Apr 2012 01:11:11 +0000
(18:11 -0700)
irc.tgz
patch
|
blob
|
history
irc/irc.php
patch
|
blob
|
history
diff --git
a/irc.tgz
b/irc.tgz
index
b5285ce
..
cb86460
100644
(file)
Binary files a/irc.tgz and b/irc.tgz differ
diff --git
a/irc/irc.php
b/irc/irc.php
index
24cfb7b
..
065e480
100644
(file)
--- a/
irc/irc.php
+++ b/
irc/irc.php
@@
-36,7
+36,11
@@
function irc_content(&$a) {
$baseurl = $a->get_baseurl() . '/addon/irc';
$o = '';
- $chats = array('friendica','chat','chatback','hottub','ircbar','dateroom','teentalk');
+ $sitechats = get_config('irc','channels');
+ if($sitechats)
+ $chats = explode(',',$sitechats);
+ else
+ $chats = array('friendica','chat','chatback','hottub','ircbar','dateroom','teentalk');
$a->page['aside'] .= '<div class="widget"><h3>' . t('Popular Channels') . '</h3><ul>';