* * Copyright 2008-2011 Crowd Favorite, Ltd. All rights reserved. * Released under the GPL license * http://www.opensource.org/licenses/gpl-license.php */ if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); } $opts = get_option('anno_callouts'); if(!$opts) { return; } $callouts = array(); // We only want options that have things in them... $callouts = array(); if (!empty($opts) && is_array($opts)) { foreach ($opts as $arr) { foreach ($arr as $value) { if (!$value) { continue; } $callouts[] = $arr; break; } } } $num = count($callouts); if ($num > 0) : ?>