Example #1
0
</p>
                        <p><?php 
flare_html_input("data[closablevertical]", $data['closablevertical'], array('type' => "checkbox", 'label' => "Allow visitors to hide the vertical sharebar", 'attr' => array('class' => "fancy")));
?>
</p>
                        <p><?php 
flare_html_input("data[filamenticon]", $data['filamenticon'], array('type' => "checkbox", 'label' => "Show love for Flare: Your support helps us build free products!", 'attr' => array('class' => "fancy")));
?>
</p>
                        <p class="label">
                            <?php 
flare_html_input("data[enablehumbleflare]", $data['enablehumbleflare'], array('type' => "checkbox", 'label' => "Hide Flare Count if under", 'attr' => array('class' => "fancy")));
?>
                            <?php 
$interface = array('type' => 'text', 'data' => "integer", 'attr' => array('size' => 3, 'maxlength' => 2, 'class' => "fancy"), 'interface' => array('type' => "slider", 'min' => 2, 'max' => 20, 'update' => array('option' => 'start', 'value' => 'max')));
flare_html_input('data[humbleflarecount]', $data['humbleflarecount'], $interface);
?>
                            total flares.
                        </p>
                    </div>
                </div>
            </fieldset>
            
            <fieldset id="<?php 
echo $namespace;
?>
-button-list-wrapper" class="clearfix">
                <h4><?php 
_e("Button Options", $namespace);
?>
</h4>
Example #2
0
    _e($available_buttons[$button['type']]['description'], $namespace);
    ?>
</p>
                <?php 
}
?>
                
                <?php 
if (isset($button['options'])) {
    ?>
                    <?php 
    foreach ($available_buttons[$button['type']]['options'] as $name => $props) {
        ?>
                        
                        <p><?php 
        flare_html_input("button[{$button['type']}][options][{$name}]", $button['options'][$name], $props);
        ?>
</p>
                        
                    <?php 
    }
    ?>
                <?php 
}
?>
            </div>
            
            <p><label class="button-color-label"><input type="text" name="button[<?php 
echo $button['type'];
?>
][color]" value="<?php 
Example #3
0
    ?>
</p>
                <?php 
}
?>
                
                <?php 
if (isset($button_model['options'])) {
    ?>
                    <?php 
    foreach ($button_model['options'] as $name => $props) {
        ?>
                        
                        <p>
                            <?php 
        flare_html_input("button[{$button_type}][{$name}]", $button_params[$name], $props);
        ?>
                            
                            <?php 
        if (isset($props['validate-failure'])) {
            ?>
                                <span class="<?php 
            echo $namespace;
            ?>
-option-error" style="display:none;" title="<?php 
            echo $props['validate-failure'];
            ?>
"></span>
                            <?php 
        }
        ?>