Subversion Repositories wpShopGermany4

Rev

Rev 1623 | Rev 1760 | 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>
1738 david 32
<p>Wird eine Bestellvariable vom Type <strong>"Auswahl"</strong> angelegt, können die Optionen mit dem Pipe "|" Symbol getrennt angegeben werden.</p>
33
<p><strong>Bsp.:</strong> Auswahl_1 | Auswahl_2 | Auswahl_3</p>
34
<br />
1422 daniel 35
<div class="wpsg_admin_box">
36
 
37
	<div class="head">
38
		<div class="title">
39
			<div class="fulltab">
40
				<?php echo __('Bestellvariablen', 'wpsg'); ?>
41
				<a title="<?php echo __('Neue Bestellvariable anlegen', 'wpsg'); ?>" href="" class="wpsg_icon wpsg_icon_right wpsg_icon_add" onclick="return wpsg_addOV();"></a>
42
			</div>
43
		</div>
44
	</div>
45
	<div class="content" id="wpsg_ov_list">
46
		<?php echo $this->mod->ov_list(); ?>
47
	</div>
48
 
49
</div>