Код: Выделить всё
diff -u -r -N -d original\portal\block\ppkBB3cker.php patched\portal\block\ppkBB3cker.php
--- original\portal\block\ppkBB3cker.php Fri Sep 04 15:12:19 2009
+++ patched\portal\block\ppkBB3cker.php Wed Oct 28 12:15:14 2009
@@ -232,9 +232,13 @@
}
}
+if ($list_root) {
+ $list_root = '&lr=' . $list_root;
+};
+
$template->assign_vars(array(
'TORR_TABLE_WIDTH' => $config['ppkbb_tmax_thumbwidth']+10,
- 'PAGINATION' => generate_pagination(append_sid("{$phpbb_root_path}portal.$phpEx", "mode=portal"), $topics_count, $config['ppkbb_portal_torrents_perpage'], $start, true),
+ 'PAGINATION' => generate_pagination(append_sid("{$phpbb_root_path}portal.$phpEx", "mode=portal" . $list_root), $topics_count, $config['ppkbb_portal_torrents_perpage'], $start, true),
'PAGE_NUMBER' => on_page($topics_count, $config['ppkbb_portal_torrents_perpage'], $start),
'LATEST_TORR_COUNT' => sizeof($fetch_announcements) ? 1 : 0,
)
Код: Выделить всё
$template->assign_vars(array(
'TORR_TABLE_WIDTH' => $config['ppkbb_tmax_thumbwidth']+10,
Код: Выделить всё
if ($list_root) {
$list_root = '&lr=' . $list_root;
};
Код: Выделить всё
'PAGINATION' => generate_pagination(append_sid("{$phpbb_root_path}portal.$phpEx", "mode=portal"), $topics_count, $config['ppkbb_portal_torrents_perpage'], $start, true),
Код: Выделить всё
'PAGINATION' => generate_pagination(append_sid("{$phpbb_root_path}portal.$phpEx", "mode=portal" . $list_root), $topics_count, $config['ppkbb_portal_torrents_perpage'], $start, true),