getClass('button'); // To load maxfield templates ?> getClass('admin'); $page_title = __("Settings","maxbuttons"); $admin->get_header(array("tabs_active" => true, "title" => $page_title) ); ?>

', ""); ?>
label = __('Hide "add button" in post editor toolbar', 'maxbuttons'); $nomce->name = 'maxbuttons_noshowtinymce'; $nomce->id = $nomce->name; $nomce->value = '1'; $nomce->checked = checked($option_noshow, 1, false); $nomce->output ('start','end'); ?>
note = __('Recommended, only turn off in case of issues. You will have to clear your cache after changing this setting', 'maxbuttons') ; $minify->label = __('Minify Button CSS', 'maxbuttons'); $minify->name = 'maxbuttons_minify'; $minify->id = $minify->name; $minify->value = '1'; $minify->checked = checked($option_minify, 1, false); $minify->output ('start','end'); ?>
label = __('Hide description field', 'maxbuttons'); $desc->name = 'maxbuttons_hidedescription'; $desc->id = $desc->name; $desc->value = '1'; $desc->checked = checked($option_description_hide, 1, false); $desc->output ('start','end'); ?>
label = __('Preview in Border Box mode','maxbuttons'); $bbox->note = __('A lot of modern themes render their templates as "border box". If you notice that padding and borders looks differently on the site compared to preview, try to turn this option on', 'maxbuttons'); $bbox->name = 'maxbuttons_borderbox'; $bbox->id = $bbox->name; $bbox->value = '1'; $bbox->checked = checked($option_borderbox, 1, false); $bbox->output('start','end'); ?>
label = __('FontAwesome conflict mode', 'maxbuttons'); $fa->note = __('If other plugins are conflicting with FontAwesome, tries to force plugin version.'); $fa->name = 'maxbuttons_forcefa'; $fa->id = $fa->name; $fa->value = '1'; $fa->checked = checked($option_forcefa, 1, false); $fa->output('start','end'); */ $prot = new maxField('text'); $prot->id = 'maxbuttons_protocol'; $prot->name = $prot->id; $prot->value = get_option('maxbuttons_protocol'); $prot->label = __('Additional allowed link protocols', 'maxbuttons'); $prot->note = __('Separate multiple protocols with comma', 'maxbuttons'); $prot->help = __('You can add link formats not regarded as "safe" by WordPress. Use this if links are removed or lose their protocol ( xx:// ). For instance: "file,sms,skype" .', 'maxbuttons'); $prot->output('start', 'end'); ?>

Attention The new database table (maxbuttonsv3) *must* be empty, and the old database table *must* contain buttons otherwise this will not run. Run this at your own risk - it is strongly advised to make a backup before doing so.", "maxbuttons"); ?>

response; ?>
getClass('button'); $button->set(0); $data = $button->get(); $allfields = array(); foreach($data as $block => $fields) { if ( is_array($fields) ) $allfields = array_merge($allfields, array_keys($fields)); } $allfields = array_combine($allfields, $allfields); wp_nonce_field( 'mb_bulk_edit','bulk_edit' ); ?>

get_footer(); ?>