} ?> <li><a href="#tf_module_tabs_<?php echo $type['value']; ?> "><?php echo $type['name']; ?> </a></li> <?php } ?> </ul> <?php foreach (TF_Model::module_types() as $type) { if ($post->post_type != 'tf_template_part' && in_array($type['value'], $tabs_exclude[$current_template_type])) { continue; } ?> <div id="tf_module_tabs_<?php echo $type['value']; ?> "> <?php if (isset($module_groups[$type['value']])) { foreach ($module_groups[$type['value']] as $module) { ?> <?php $class = "tf_module module-type-{$module->slug}"; ?>