get_blocks(); $blocks = array(); foreach ($list as $key => $data) { if (!isset($blocks[$data['section']])) $blocks[$data['section']] = array(); $blocks[$data['section']][$key]['name'] = $data['name']; $blocks[$data['section']][$key]['filename'] = $key; $blocks[$data['section']][$key]['icon'] = $data['icon']; } // order the sections $blocks = array_merge(array_flip(array('header', 'content', 'footer')), $blocks); // prepare the options for the default blocks $block_options = get_option('newsletter_main'); /* @var $this NewsletterControls */ ?>

text('title', 60, 'Newsletter subject'); ?>

*/ ?>
$section) { ?>

color('general-bgcolor') ?>

css_font('general-text-font') ?>

css_font('general-title-font') ?>
*/ ?>