rendered paste bodyfunction jewcy06_views_view_list_h_stories($view, $nodes, $type) {
$count = 0;
foreach ($nodes as $node) {
$count++;
$nodetitle = format_truncate($node->node_title, 40);
if ($nodetitle != $node->node_title) {
$nodetitle .= "...";
}
$output .= "<li class='leaf'><a href='/node/" . $node->nid . "'>" . $nodetitle . "</a></li>\n";
if ($count == 3 || $count == 6 || $count == 9) {
$final .= "<div id='tPop" . $count / 3 . "' class='tabcontent'>";
$final .= '<div class="headersquare'; if ($count == 3){ $final .= '-a'; } $final .= '"><a href="javascript: expandtab1(\'popTab\', 0)" ><img src="/' . path_to_theme() . '/images/headersquare.gif" /></a></div>';
$final .= '<div class="headersquare'; if ($count == 6){ $final .= '-a'; } $final .= '"><a href="javascript: expandtab1(\'popTab\', 1)" ><img src="/' . path_to_theme() . '/images/headersquare.gif" /></a></div>';
$final .= '<div class="headersquare'; if ($count == 9){ $final .= '-a'; } $final .= '"><a href="javascript: expandtab1(\'popTab\', 2)" ><img src="/' . path_to_theme() . '/images/headersquare.gif" /></a></div><br />';
$final .= "\n<ul start='" . ($count - 2) . "'>\n" . $output . "</ul></div>";
$output = "";
}
}
if ($final) {
return $final;
}
}