Subversion Repositories wpShopGermany4

Rev

Rev 1623 | Go to most recent revision | Details | 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
	 * Sollte normalerweise nicht verändert werden
6
	 */
7
 
8
?>
9
<script type="text/javascript">
10
/* <![CDATA[ */
11
 
12
    /**
13
     * Wird beim anlegen einer neuen Bestellvariable aufgerufen
14
     */
15
	function wpsg_addOV()
16
	{
17
 
18
		jQuery('#wpsg_ov_list').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
19
 
20
		jQuery.ajax( {
21
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_ordervars&noheader=1&do=add',
22
			success: function(data) {
23
				jQuery('#wpsg_ov_list').html(data);
24
			}
25
		} );
26
 
27
		return false;
28
 
29
	} // function wpsg_addOV()
30
 
31
/* ]]> */
32
</script>
33
 
34
<div class="wpsg_admin_box">
35
 
36
	<div class="head">
37
		<div class="title">
38
			<div class="fulltab">
39
				<?php echo __('Bestellvariablen', 'wpsg'); ?>
40
				<a title="<?php echo __('Neue Bestellvariable anlegen', 'wpsg'); ?>" href="" class="wpsg_icon wpsg_icon_right wpsg_icon_add" onclick="return wpsg_addOV();"></a>
41
			</div>
42
		</div>
43
	</div>
44
	<div class="content" id="wpsg_ov_list">
45
		<?php echo $this->mod->ov_list(); ?>
46
	</div>
47
 
48
</div>