summaryrefslogtreecommitdiff
path: root/views/mods/mod_spconditions/settings_edit.phtml
blob: c284e341b47ace5a9c01430664f9ec84000fc5d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php

	/**
	 * Template für das Modul "Versand- und Zahlungsbedingungen"
	 * @version 4.6.1
	 */

?>
<div class="wpsg_admin_box">		
		  		
	<div class="head">
		<div class="title">
			<div class="fulltab">
				<?php echo __('Versand- und Zahlungsbedingungen', 'wpsg'); ?>
				<a title="<?php echo __('Neue Versand- und Zahlungsbedingung anlegen', 'wpsg'); ?>" href="" class="wpsg_glyphicon_right glyphicon glyphicon-plus-sign" onclick="return wpsg_addSPCondition();"></a>
			</div>
		</div>
	</div>
	<div class="content" id="wpsg_mod_spconditions_list">
		<?php echo $this->view['conditionList']; ?>
	</div>
			
</div>

<script type="text/javascript">/* <![CDATA[ */

	function wpsg_addSPCondition()
	{

		jQuery('#wpsg_mod_spconditions_list').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
		
		jQuery.ajax( {
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_spconditions&noheader=1&do=add',
			success: function(data) {
				jQuery('#wpsg_mod_spconditions_list').html(data);
			}
		} );
		
		return false;
		
	} // function wpsg_addSPCondition()

/* ]]> */</script>