/** * Display information about each blog in the array of blogs * * @param array $blogs * @param array $atts - shortcode attributes * @param string $content - content to be displayed for each blog */ function bw_display_blogs($blogs, $atts, $content) { $class = bw_array_get($atts, "class", null); foreach ($blogs as $blog) { sdiv("bw_blog {$class}"); bw_display_blog($blog, $atts, $content); ediv("bw_blog"); } }
/** * Create a dummy div which may be used for placing graphics using background images in CSS */ function sediv($class = NULL, $id = NULL, $extra = NULL) { sdiv($class, $id, $extra); ediv(); }
/** * Create an oik menu footer */ function oik_menu_footer() { ecolumn(); sediv("clear"); ediv("wrap"); }
/** * Display the unescaped HTML. * * Question: Will this always be safe to do so? * If not, what sort of problems can this cause? * * @param string $content */ function trac_29608_display($content) { sdiv("cleared"); ediv(); e($content); }