I thought I answered to that one... oh no, I wanted to get to my (main) computer first and then it slipped out of sight.
Due to a change I made recently is slightly less easy to obtain the change, but is somehow "logical"... and actually is not that difficult either.
Let me see...
The log in and search bars are in two functions:
template_th_login_bar
and
template_th_search_bar
that you can find in index.template.php.
The name is quite important, because just changing it they will stop to appear at the top.
So, if you for example change it to:
template_login_bar
and
template_search_bar
the two boxes will disappear.
Now you have to make them show in the IC.
The IC is shown only on the BoardIndex, so the code is in BoardIndex.template.php.
The exact result depends on how "exactly" you want to show them, let's say you want to create a single block for both, then add to the end of the page:
function template_ic_show_tools()
{
global $context, $txt, $settings;
echo '
<li class="board_row">
<h3 class="ic_section_header">
<img class="icon" src="', $settings['images_url'], '/icons/online.png', '" alt="" />Users tools</a>
</h3>';
if ($context['user']['is_guest'])
template_login_bar();
if ($context['allow_search'])
template_search_bar();
}
and, just before the line:
call_template_callbacks('ic', $context['info_center_callbacks']);
add this:
if ($context['user']['is_guest'] || $context['allow_search'])
$context['info_center_callbacks'][] = 'show_tools';
It should work... I think.
There may be issues with the css of course...