diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-11-16 10:47:54 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-11-16 10:47:54 +0000 |
| commit | 4e788242bdb85682ba13dcb0caf2d72348479cf4 (patch) | |
| tree | 92676d224610d7d27d25b0d030fb183f662b4b8d /views/mods/mod_export/settings_edit.phtml | |
| parent | 60862ddf25ead18d565fbf5d5fc3129e0822106e (diff) | |
- Export Profil (FTP Speicherung / Cron ausführung / XML Erstellung)
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5911 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_export/settings_edit.phtml')
| -rw-r--r-- | views/mods/mod_export/settings_edit.phtml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/views/mods/mod_export/settings_edit.phtml b/views/mods/mod_export/settings_edit.phtml index 9a80ba6..1c8fa18 100644 --- a/views/mods/mod_export/settings_edit.phtml +++ b/views/mods/mod_export/settings_edit.phtml @@ -112,6 +112,32 @@ } // function wpsg_addExportProfil()
+ function wpsg_mod_export_setAtt(htmlCheckbox, field_id)
+ {
+
+ var value = '0';
+ if (jQuery(htmlCheckbox).prop('checked') == true) value = '1';
+
+ jQuery.ajax( {
+ url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export&do=inlinedit&noheader=1',
+ data: {
+ 'name': 'field_xml_att_' + field_id,
+ 'value': value
+ },
+ success: function(data) {
+
+ if (data != '1')
+ {
+
+ alert(data);
+
+ }
+
+ }
+ } );
+
+ }
+
</script>
<a title="<?php echo __('Neuens Exportprofil anlegen', 'wpsg'); ?>" href="#" class="" onclick="return wpsg_mod_export_addProfil();"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Neues Exportprofil anlegen', 'wpsg'); ?></a>
|
