During making the Blix Theme I found the following bug. I added the function theme_create_tabs in my theme.php and my tabs dissapeared so after a few minute I found the following bug in include/functions.inc.php. Solution:
Line 472 change
if (function_exists('theme_create_tabs')) {
theme_create_tabs($items, $curr_page, $total_pages, $template);
return;
}
into:
if (function_exists('theme_create_tabs')) {
return theme_create_tabs($items, $curr_page, $total_pages, $template);
}
You are correct. I didn't notice that when I was looking at that function some time ago.
In analogy with the rest of the function, do you think it should be instead:
if (function_exists('theme_create_tabs')) {
$tabs = theme_create_tabs($items, $curr_page, $total_pages, $template);
return $tabs.$template['tab_trailer'];
}
Hmm... maybe not. It should be up to the theme coder to decide what should be displayed.
Moving to bugs board.
Original fix proposed by danuvius committed to stable & devel. Will be in next version (1.4.9).
Thanks a lot... it is working fine now... :)
Do you also have an easy solution for the film strip?
This is not a support thread. You mustn't ask questions here, particularly not ask unrelated questions.