2013-03-14, 23:58:04
(2013-03-14, 22:02:04)jezok Wrote: I am using the latest 3.0.5 version.
Can I give you something to try with your test setup to see if it works?
in the file "simple_input_tabs.php" around line 301 you've got this text:
PHP Code:
global $url;
$style = 'style="cursor: help; text-align: center;"';
if(isset($hidden)){$blurb .= ' This tab is hidden.';}// Is tab hidden?
$link_begin = '<element '.$style.'onClick="window.opener.location.reload(true);window.opener.location.href=\''.get_site_url(false).'/admin/edit.php?id=';
echo $link_begin.$page.'&tab-view='.str_replace(' ', '+', $tab);
echo '\';window.close();"><h2>'.$request.'</h2><p>'.$blurb.'</p></element>';
}
else if($page == $url && $tab == SIT_text('DEFAULT_TAB')){// If main tab, output main.
get_page_content();
}
else{// Output content!
if($SIT_CONFIG['content-top']){exec_action('content-top');}
$info = SIT_hunt_page_data($page, $tab);
if($plugins){$info = exec_filter('content', $info);}else{Toolkit_token();}
etc etc.
If you delete the following lines and try it out do you have any success?
PHP Code:
else if($page == $url && $tab == SIT_text('DEFAULT_TAB')){// If main tab, output main.
get_page_content();
}