From 3b2cf61a554bd852aed0bfafc37dc2b14ee83729 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 1 Apr 2012 18:11:11 -0700 Subject: [PATCH] provide optional sitewide channel list --- irc.tgz | Bin 1075 -> 1117 bytes irc/irc.php | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/irc.tgz b/irc.tgz index b5285cee705913acb91b57491b711d429a3785aa..cb86460599f429d1304f82ec46525225d70f591f 100644 GIT binary patch literal 1117 zcmV-j1fu&NiwFRv{CH0Q1MOAYZrer>)vNdw14amGLl!03k_?5CVYoqSpr`}GZ66Fn zSduGo;ngm&T>63{|K1tuYA1dwoIYd^ka)G6%b7XDp)hIGcxQAGqtT$zADoQ({gXy_ zFzgRcdiDJpjb3kbJnW5z-NC5Q?ezwOK?4TwO^i^LmKlJ?lBEk_9)x9)z0=dv zAHnGdLZJTmuT$j3yX7E(hr^S%^gkZ-hp+TM?hbkl=)N1HJ^bYQ$7iU#7abmYhwukm z@-bXqU%*AqEPRpGLMXidg_o%jg%w(jfn^ym1((Wlqqv1@F4^c7VSCc)-m*kbLEt%S0)lG|P2yW2aMKoDo*0aD4za^mB&BP*=r{xoKg8$O?q zR{k`A4%jf*OdshM9N=9LM{F8L7-AaKCBCGv)LA9@x_!1X>N_^6#$i=9{Mce-=QUdi zD|uxkl54S}>4MwY`X;PXM%#8^%4SPb5qQEQO$3cqiC5%?q32=|QmcY?fKQa-vZQ7; z#XQ`ZA9&4XYvahD3aK+5qDOnr1bxt#?^`ls*mD?chiH|W4Z} z?biXIxaSsL?$kD1uJ_{Ew<+2?TfYscB-Cp|rM!&`8+3t7^~2V>uHwVarQT@(_>y2> z<2Z)TS2tdq_owtGQv+~L`cp41c4BWfr_73a;s18^_svy=_ECZx3fY;mLoMIa5ig`Ij>DeApiJJ^6v*aqxBt)Kt2$0RclQCI z%1PYD!nGsEfkmhN?>FPV0lR!UvG?KpNKnTa&ph+Ycp^*|H{KXs#CSYx^oN6SzdvYn zhok;z&~y76GCbs zgVRrh!207~r!2}hi$Mh*jRvpP|Kwyieo_CE?qJw}?wc`sg8zB_lQXP*Gd?MQy z#V2ra^$|W6%)%F0FNMPWPrS;ED6P$l&=!xudoz*L@EF&4nfY>8>V!6qvv*K~VzQ(z}tLZ|WiF~>+f~#C)Y_j%) z*(_?6IVZR?#}q7+GCG96n}#omrD6oxOR zRI6YXLI-RVZo7}_79QeWn8a+B#OPucx)h&NSn0f$d?TN&jrxI2rm*AK81kT{DG6NRl3J?5M`jFrjKW=Y!*)ooHa{uL?r>RX zYwHvj=qP0d7db=uDYJHHIW?2KbHbu$qZBz*{H;5Kjeo3}85C*>iL zaf;CJqRYOW46rab^V|%mG%gCel62YAM_>|5CDhW{2fIXfE(0i;v7i^u;E$`{+HMYI zj3!hb8@|%_E|5Fd0U*EU7M>5gHe755*4g(V+I!oe4OmHV_gQ7Ujgu5~iPP@g&e~=1 zZhyoL8vyKH)HO*G_I69D> zsX8Q40Qk+sj+h4XR5EoJ%+6tJ5mvCQv7W@Ru1G*U-+>#hZr2@9Vob5ty)xM@=mSrQ zREH8!I_Dkyxa>9A^+13_I=96%7get_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'] .= '

' . t('Popular Channels') . '

    ';