Пример #1
0
    <?php 
echo $messages;
?>
    <div id="alert_messages">
    </div>
        
<form class="form-horizontal" method="post" action="" id="form_settings">

<div class="form-group">
        <?php 
echo load_steps('Step 1', 'Choose the Lens Shape');
?>

        <?php 
$lensShape = $iz_admin->get_settings('lensShape', $settings['lensShape']);
$lensShape['value'] = $settings['lensShape'];
if (!isset($lensShape['value'])) {
    $lensShape['value'] = '';
}
?>
          <div class="btn-group" data-toggle="buttons" id="btn-group-style-circle">
            <?php 
foreach ($lensShape['values'] as $_id => $_value) {
    ?>
            <label class="btn btn-default<?php 
    echo $lensShape['value'] == $_id ? ' active' : '';
    ?>
 ">
            <input type="radio" name="<?php 
    echo $lensShape['name'];
Пример #2
0
    <?php 
echo $messages;
?>
    <div id="alert_messages">
    </div>
    </div>


        

<form class="form-horizontal" method="post" action="" id="form_settings">

        <?php 
$iz_forms_helper->label_class = 'col-sm-6 control-label';
foreach (array('enable_woocommerce', 'exchange_thumbnails', 'woo_cat', 'enable_mobile', 'remove_lightbox_thumbnails', 'remove_lightbox', 'force_lazyload', 'force_attachments', 'flexslider', 'huge_it_gallery', 'enable_fancybox') as $_field) {
    $this_settings = $iz_admin->get_settings($_field);
    $this_settings['value'] = '';
    if (isset($settings[$_field])) {
        $this_settings['value'] = $settings[$_field];
    }
    $iz_forms_helper->input($this_settings['input_form'], $this_settings);
}
?>
 

<div class="form-group">
      <div class="col-lg-6">
        <input type="hidden" name="tab" value="general" />
          <button type="submit" class="btn btn-primary"><?php 
echo __('Save changes', 'zoooom');
?>