Changeset 5377
- Timestamp:
- 06/19/09 13:51:47 (3 years ago)
- File:
-
- 1 edited
-
trunk/padre.perlide.org/irc.html (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/padre.perlide.org/irc.html
r5375 r5377 29 29 parrot: {title:"Parrot", host:"irc.perl.org", channel:"parrot"}, 30 30 perl_qa: {title:"Perl Quality Assurance", host:"irc.perl.org", channel:"perl-qa"}, 31 perlfr:{title:"Perl in French", host:"irc.perl.org", channel:"perlfr"},31 locale_fr: {title:"Perl in French", host:"irc.perl.org", channel:"perlfr"}, 32 32 poe: {title:"POE", host:"irc.perl.org", channel:"poe"}, 33 33 rt: {title:"RT", host:"irc.perl.org", channel:"rt"}, 34 34 perl_help: {title:"Perl Help", host:"irc.perl.org", channel:"perl-help"}, 35 wxperl: {title:" Perl Help",host:"irc.perl.org", channel:"wxperl"},35 wxperl: {title:"Wx Perl", host:"irc.perl.org", channel:"wxperl"}, 36 36 perl6: {title:"Perl 6 development", host:"irc.freenode.net", channel:"perl6"}, 37 37 }; 38 38 var default_channel = "general"; 39 39 40 40 function get_values() { … … 81 81 </script> 82 82 <p> 83 Please select a nickname and click on one of the links.83 Please select a nickname and a channel and click on Connect. 84 84 </p> 85 85 <form name="n"> … … 92 92 hash_key (maybe that should be host_channel instead of of our own special name) 93 93 94 redirect to selected url95 have drop-down box with list of channels or radio buttons ??96 94 show the localized channels first ? 95 if all the necessary input is available don't even show this page just redirect to 96 relevant url 97 97 98 if all the necessary input is available don't even show this page just redirect to 99 the mibbit service 100 98 Put some explanation on the top of the page (maybe in multiple languages) 101 99 --> 102 100 … … 111 109 document.forms.n.nickname.value = "user_" + nick; 112 110 } 111 var ch = default_channel; 112 if (values["channel"]) { 113 if (channels[ values["channel"] ]) { 114 ch = values["channel"]; 115 } 116 } 113 117 114 118 for (var i in channels) { 115 document.write('<tr><td><input type="radio" name="channel" value="' + i + '">' + channels[i].title + '</td></tr>'); 119 var html = '<tr><td><input type="radio" name="channel" value="' + i + '"'; 120 if (i == ch) { 121 html += " CHECKED "; 122 } 123 html += '>' + channels[i].title + '</td></tr>'; 124 document.write(html); 116 125 } 117 126 </script> 118 127 </table> 119 128 </form> 129 120 130 121 131 </body>
Note: See TracChangeset
for help on using the changeset viewer.
