Exemplo n.º 1
0
        $load_templates = $templates;
    }
}
?>
      <div class="mw-ui-btn-nav"> <a class="mw-ui-btn <?php 
if ($load_list == 'default') {
    ?>
active<?php 
}
?>
" href="<?php 
print $config['url'];
?>
/load_list:default" >Default list</a>
        <?php 
$data = get_form_lists('module_name=contact_form');
?>
        <?php 
if (is_array($data)) {
    ?>
        <?php 
    foreach ($data as $item) {
        ?>
        <a class="mw-ui-btn <?php 
        if ($load_list == $item['id']) {
            ?>
 active <?php 
        }
        ?>
" href="<?php 
        print $config['url'];
Exemplo n.º 2
0
<script  type="text/javascript">
  mw.require('<?php 
print $config['url_to_module'];
?>
forms_data_manager.js');

  </script>
<?php 
$def = _e("Search for data", true);
$load_list = $params['load_list'];
if (trim($load_list) == 'default') {
    $data = array();
    $data['title'] = "Default list";
    $data['id'] = "default";
} else {
    $data = get_form_lists('single=1&id=' . $load_list);
}
?>

<style>

#start-email-campaign{
  padding: 15px 0px 4px;
}

.form-list-toolbar h2{
  margin-top: 0;
}

</style>
<div class="mw-ui-row form-list-toolbar">
Exemplo n.º 3
0
?>
', function(){
          isCreating = false;
        });
    }

      );
   }
	  return false;
}


</script>
<?php 
$selected_list = get_option('list_id', $params['for-module-id']);
$data = get_form_lists('order_by=created_at desc&module_name=' . $params['for-module']);
if (is_array($data)) {
    ?>

<div id="form_dropdown_lists">
    <div class="mw-ui-row-nodrop valign">
        <div class="mw-ui-col" style="width: 205px;"><label><?php 
    _e("Save form entires to existing list");
    ?>
</label></div>
        <div class="mw-ui-col">
           <select name="list_id"class="mw-ui-field mw_option_field" option-group="<?php 
    print $params['for-module-id'];
    ?>
" style="width:100px;"  >