コード例 #1
0
ファイル: oik-blogs.php プロジェクト: bobbingwide/oik-ms
/**
 * 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");
    }
}
コード例 #2
0
ファイル: bobbfunc.php プロジェクト: bobbingwide/oik-lib
 /**
  * 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();
 }
コード例 #3
0
ファイル: oik-admin.php プロジェクト: bobbingwide/oik-lib
 /**
  * Create an oik menu footer
  */
 function oik_menu_footer()
 {
     ecolumn();
     sediv("clear");
     ediv("wrap");
 }
コード例 #4
0
ファイル: trac29608.php プロジェクト: bobbingwide/trac29608
/**
 * 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);
}