Hi ghristov ive tried your procedure, but i only get greens and the query times as:
Number of queries: 180
Queries times: 0.10920095443726
In my effort to get arround the problem ive identified by placing die statements in the body function on the TabbedBrowser_0.php whitch the one causing the delay it narrows down to this foreach:
foreach($this->tabs as $caption=>$val) {
if (substr_count($caption, '#')==1) {
list($group, $s_caption) = explode('#', $caption);
if (!isset($submenus[$group]))
$submenus[$group] = array();
$submenus[$group][$s_caption] = $val;
$this->tabs[$s_caption] = $val;
unset($this->tabs[$caption]);
}
}
foreach ($submenus as $group=>$captions) {
if (count($captions)==1) {
unset($submenus[$group]);
} else {
if (isset($this->tabs[$group])) {
$submenus[$group][$group] = $this->tabs[$group];
unset($this->tabs[$group]);
}
foreach ($captions as $caption=>$val)
unset($this->tabs[$caption]);
}
}
$final_captions = array();
foreach($this->tabs as $caption=>$val) {
$selected = $this->page === $i || (is_string($this->page) && $this->page == $caption);
$final_captions[$caption] = $this->get_link($i, $val, $caption);
if ($selected || $val['js'])
$body .= $this->display_contents($val, $i, $selected);
$i++;
}
If i put die statements imediately after this i notice long exec times if i placed them before get 3 to 4 secs... which is ok...
Any toughts?
Thank you