Subversion Repositories wpShopGermany4

Rev

Rev 5691 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1422 daniel 1
<?php
2
 
3
	/**
4
	 * Template für die Einstellungen des Bestellvariablen Moduls
5
	 */
6
 
7
?>
7759 daniel 8
<script>
1422 daniel 9
 
10
    /**
11
     * Wird beim anlegen einer neuen Bestellvariable aufgerufen
12
     */
7759 daniel 13
	function wpsg_addOV() {
1422 daniel 14
 
15
		jQuery('#wpsg_ov_list').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
16
 
17
		jQuery.ajax( {
18
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_ordervars&noheader=1&do=add',
19
			success: function(data) {
20
				jQuery('#wpsg_ov_list').html(data);
21
			}
22
		} );
23
 
24
		return false;
25
 
26
	} // function wpsg_addOV()
7759 daniel 27
 
1422 daniel 28
</script>
5691 daniel 29
 
30
<div class="content" id="wpsg_ov_list"><?php echo $this->mod->ov_list(); ?></div>
31
 
1738 david 32
<br />
5691 daniel 33
 
34
<a title="<?php echo __('Neue Bestellvariable anlegen', 'wpsg'); ?>" href="" class="" onclick="return wpsg_addOV();"><span class="glyphicon wpsg-glyphicon glyphicon-plus"></span><?php echo __('Neue Bestellvariable anlegen.', 'wpsg'); ?></a>