From bda43f7315209cbef7bbe9ceaaf991aa15552f79 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 1 Apr 2012 17:54:17 -0700 Subject: [PATCH] improved irc with some alternate channel selections --- irc.tgz | Bin 920 -> 1075 bytes irc/irc.php | 21 +++++++++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/irc.tgz b/irc.tgz index c6ba1bffea99337a2a278039f796c4fdc599649b..b5285cee705913acb91b57491b711d429a3785aa 100644 GIT binary patch literal 1075 zcmV-31kC#%iwFR-_;^nM1MO99PvbZc?pOLNM%ii;P-)uI7t~FQ(C+FE>2$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%7<>B3PWGat4FN_2+n@u{S$#^yzjXTL? zI+~7$*1kh$IGmkMW~a$4LHlqx8ILZKH_-=xj({GIh_ycl_#dG98|so&5|> zKM@S)kDsWn>KChF20WdPzc>F89-quV!TFyir_&B3FUIHz{^#>g&vEiz-0ypR_((Q% z4i{JN;9W&D{Lb5w3AF!0n_RJ4Gb!dkiUNp$3!$kJRKpeJt-IuYenfvMeeDHq$=ZD$u;9NHqM#Xk3FOZRFD;? zfMKNAFmaOAmR;jPA0A~34~%or6%}9-fsdL#@bQ7OMpNXijW06OG$wUzgNZ0i9N>AI zM783XBW5ywh0NOx6`Ghf7ze{1$s3lt8$}x$SLAbC$h+1o)Hy2_YsIK2SWf2KJb0UR zD{`9zEla$DCY*;o_{&qYG(6R^lJYJLkkJw=w!r`b?79^3lVvqV6Mt~(z45;MEq5!P zW^cuh=KrR^{?D*W2Cus-Q>DAQIVQfnxrGG;X~FIx=cH*CKK^&2nda2bQUaBt>xG$> zp9K(s4oyufCNsC7hqfS%NtVW#A`9#lpHtY#qUChgKHVzu4?ej>u?ii&?h@mN97#i4 z#gSW=oMa`{%bg{(72`uUuwqx5E8q{Wi+U1*@&*lI_&Mw@e|>*F2=>;X*MoDg#+#$@ z7UmEfL}0s!YBoz`M7LKctQGE_)nX&@N2NF1h;H==gyY1RD6PN0&wJFB4>eI53-lokwyd;i#D@nZj8|(nK-bnM` ue(@a~92^`R92^`R92^`R92^`R92^`R92^`R92^|}i}(sKil!I'; +$b['app_menu'][] = ''; } @@ -33,8 +33,21 @@ return; function irc_content(&$a) { -$baseurl = $a->get_baseurl() . '/addon/irc'; -$o = ''; + $baseurl = $a->get_baseurl() . '/addon/irc'; + $o = ''; + + $chats = array('friendica','chat','chatback','hottub','ircbar','dateroom','teentalk'); + + + $a->page['aside'] .= '

' . t('Popular Channels') . '

    '; + foreach($chats as $chat) { + $a->page['aside'] .= '
  • ' . '#' . $chat . '
  • '; + } + $a->page['aside'] .= '
'; + + + + $channels = ((x($_GET,'channels')) ? $_GET['channels'] : 'friendica'); @@ -44,7 +57,7 @@ $channels = ((x($_GET,'channels')) ? $_GET['channels'] : 'friendica'); */ $o .= <<< EOT

IRC chat

-

a beginner's guide to using IRC.

+

A beginner's guide to using IRC. [en]

EOT;