Commit 76707828ab0e50ef89c90d71e8fbb273f669fafe

Bug fixed, see http://punbb.informer.com/forums/post/132058/#p132058
  
33<extension engine="1.0">
44 <id>most_subscribed</id>
55 <title>Most Subscribed</title>
6 <version>0.1</version>
6 <version>0.2</version>
77 <description>Show the list of most subscribed topics.</description>
88 <author>Ivan Fomichev</author>
99 <minversion>1.3</minversion>
8686
8787 <hook id="se_results_topics_pre_item_header_output"><![CDATA[
8888
89// dirty hack
90$forum_page['item_header']['info']['replies'] = '<strong class="info-replies">'.$lang_most_subscribed['subscribers'].'</strong>';
89if (isset($action) && $action == 'show_most_subscribed') {
90 // dirty hack
91 $forum_page['item_header']['info']['replies'] = '<strong class="info-replies">'.$lang_most_subscribed['subscribers'].'</strong>';
92}
9193
9294 ]]></hook>
9395
9496 <hook id="se_results_topics_row_pre_display"><![CDATA[
9597
96// dirty hack
97$forum_page['item_body']['info']['replies'] = '<li class="info-replies"><strong>'.forum_number_format($cur_set['subscribed_times']).'</strong> <span class="label">'.(($cur_set['subscribed_times'] == 1) ? $lang_most_subscribed['Subscriber'] : $lang_most_subscribed['Subscribers']).'</span></li>';
98if (isset($action) && $action == 'show_most_subscribed') {
99 // dirty hack
100 $forum_page['item_body']['info']['replies'] = '<li class="info-replies"><strong>'.forum_number_format($cur_set['subscribed_times']).'</strong> <span class="label">'.(($cur_set['subscribed_times'] == 1) ? $lang_most_subscribed['Subscriber'] : $lang_most_subscribed['Subscribers']).'</span></li>';
101}
98102
99103 ]]></hook>
100104