Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Go to most recent revision | 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
?>
8
<script type="text/javascript">
9
/* <![CDATA[ */
10
 
11
    /**
12
     * Wird beim anlegen einer neuen Bestellvariable aufgerufen
13
     */
14
	function wpsg_addOV()
15
	{
16
 
17
		jQuery('#wpsg_ov_list').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
18
 
19
		jQuery.ajax( {
20
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_ordervars&noheader=1&do=add',
21
			success: function(data) {
22
				jQuery('#wpsg_ov_list').html(data);
23
			}
24
		} );
25
 
26
		return false;
27
 
28
	} // function wpsg_addOV()
29
 
30
/* ]]> */
31
</script>
5691 daniel 32
 
33
<div class="content" id="wpsg_ov_list"><?php echo $this->mod->ov_list(); ?></div>
34
 
1738 david 35
<br />
5691 daniel 36
 
37
<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>