Changeset 12634
- Timestamp:
- 05/28/08 23:11:17 (5 years ago)
- Location:
- lang/perl/mobirc/trunk/lib/App/Mobirc/HTTPD
- Files:
-
- 2 modified
-
Controller.pm (modified) (1 diff)
-
Template/Mobile.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/mobirc/trunk/lib/App/Mobirc/HTTPD/Controller.pm
r12633 r12634 61 61 has_next_page => (scalar(@unread_channels) >= 2 ? 1 : 0), 62 62 irc_nick => irc_nick, 63 mobile_agent => $c->req->mobile_agent, 63 64 }, 64 65 ); -
lang/perl/mobirc/trunk/lib/App/Mobirc/HTTPD/Template/Mobile.pm
r12633 r12634 143 143 has_next_page => 1, 144 144 irc_nick => 1, 145 mobile_agent => 1, 145 146 } 146 147 ); 147 148 my $channel = $args{channel}; 148 149 149 div { 150 class is 'ChannelHeader'; 151 a { 152 class is 'ChannelName'; 153 $channel->name; 150 show 'wrapper_mobile', $args{mobile_agent}, sub { 151 div { 152 class is 'ChannelHeader'; 153 a { 154 class is 'ChannelName'; 155 $channel->name; 156 }; 157 a { 158 href is '/channels/' . uri_escape($channel->name); 159 'more...'; 160 }; 154 161 }; 155 a { 156 href is '/channels/' . uri_escape($channel->name); 157 'more...'; 158 }; 159 }; 160 161 for my $message (@{$channel->recent_log}) { 162 show '../irc_message', $message, $args{irc_nick}; 163 br { }; 164 } 165 166 if ($args{has_next_page}) { 167 outs_raw ''; 168 a { 169 href is '/recent'; 170 accesskey is '6'; 171 'next'; 172 } 173 } 174 175 hr { }; 176 177 show 'go_to_top'; 162 163 for my $message (@{$channel->recent_log}) { 164 show '../irc_message', $message, $args{irc_nick}; 165 br { }; 166 } 167 168 if ($args{has_next_page}) { 169 outs_raw ''; 170 a { 171 href is '/recent'; 172 accesskey is '6'; 173 'next'; 174 } 175 } 176 177 hr { }; 178 179 show 'go_to_top'; 180 }; 178 181 }; 179 182
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)