Subversion Repositories wpShopGermany4

Rev

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

Rev Author Line No. Line
3256 daniel 1
<?php
2
 
3
	/**
4
	 * Template für das Modul "Versand- und Zahlungsbedingungen"
5
	 */
6
 
7
?>
8
<div class="wpsg_admin_box">
9
 
10
	<div class="head">
11
		<div class="title">
12
			<div class="fulltab">
13
				<?php echo __('Versand- und Zahlungsbedingungen', 'wpsg'); ?>
5934 hartmut 14
				<a title="<?php echo __('Neue Versand- und Zahlungsbedingung anlegen', 'wpsg'); ?>" href="" class="wpsg_glyphicon_right glyphicon glyphicon-plus-sign" onclick="return wpsg_addSPCondition();"></a>
3256 daniel 15
			</div>
16
		</div>
17
	</div>
18
	<div class="content" id="wpsg_mod_spconditions_list">
19
		<?php echo $this->view['conditionList']; ?>
20
	</div>
21
 
22
</div>
23
 
24
<script type="text/javascript">/* <![CDATA[ */
25
 
26
	function wpsg_addSPCondition()
27
	{
28
 
29
		jQuery('#wpsg_mod_spconditions_list').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
30
 
31
		jQuery.ajax( {
32
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_spconditions&noheader=1&do=add',
33
			success: function(data) {
34
				jQuery('#wpsg_mod_spconditions_list').html(data);
35
			}
36
		} );
37
 
38
		return false;
39
 
40
	} // function wpsg_addSPCondition()
41
 
42
/* ]]> */</script>