echo "true";
} else {
    echo "false";
}
?>
" 
    data-adapt-container-width="<?php 
if (dd_adapt_container_width() == "true") {
    echo "true";
} else {
    echo "false";
}
?>
" 
    data-hide-cover="<?php 
if (dd_hide_page_cover() == "false") {
    echo "false";
} else {
    echo "true";
}
?>
" 
    data-show-facepile="<?php 
if (dd_fb_show_faces() == "true") {
    echo "true";
} else {
    echo "false";
}
?>
" 
    data-show-posts="<?php 
/**
 * This function is called every time the page header is being rendered
 */
function fb_page_plugin()
{
    if (dd_fb_page_url() != '') {
        $fb_page_url = dd_fb_page_url();
        $fb_page_width = dd_fb_page_width();
        $fb_page_height = dd_fb_page_height();
        $fb_show_faces = dd_fb_show_faces();
        $hide_page_cover = dd_hide_page_cover();
        $show_page_posts = dd_show_page_posts();
        $use_small_header = dd_use_small_header();
        $adapt_container_width = dd_adapt_container_width();
        require_once osc_plugins_path() . 'fb_page_plugin/code.php';
    }
}
                <input type="checkbox" <?php 
echo dd_fb_show_faces() ? 'checked="true"' : '';
?>
 name="fb_show_faces" id="fb_show_faces" value="true" />
                <label><?php 
_e('Show Friends Faces', 'fb_page_plugin');
?>
</label>
            </div>
          </div>
          
          
          <div class="control-group">
            <div class="controls checkbox">
                <input type="checkbox" <?php 
echo dd_hide_page_cover() ? 'checked="false"' : '';
?>
 name="hide_page_cover" id="hide_page_cover" value="false" />
                <label><?php 
_e('Show Cover Photo', 'fb_page_plugin');
?>
</label>
            </div>
          </div>
          <div class="control-group">
            <div class="controls checkbox">
                <input type="checkbox" <?php 
echo dd_show_page_posts() ? 'checked="true"' : '';
?>
 name="show_page_posts" id="show_page_posts" value="true" />
                <label><?php