Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5261 Rev 7824
Line 4... Line 4...
4
	 * Template für die Integration des PDFDownload Moduls in die Bestellverwaltung
4
	 * Template für die Integration des PDFDownload Moduls in die Bestellverwaltung
5
	 * sollte nicht verändert werden
5
	 * sollte nicht verändert werden
6
	 */
6
	 */
7
 
7
 
8
?>
8
?>
9
<script type="text/javascript">
-
 
10
/* <![CDATA[ */
9
<script>
11
 
10
 
12
	function wpsg_mod_downloadplus_schedule(product_key, file, product_index)
11
	function wpsg_mod_downloadplus_schedule(product_key, file, product_index)
13
	{
12
	{
14
 
13
 
15
		jQuery('#wpsg_mod_downloadplus_target').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
14
		jQuery('#wpsg_mod_downloadplus_target').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
Line 23... Line 22...
23
		
22
		
24
		return false;
23
		return false;
25
		
24
		
26
	} // function wpsg_mod_downloadplus_schedule(file)
25
	} // function wpsg_mod_downloadplus_schedule(file)
27
 
26
 
28
	function wpsg_mod_downloadplus_reindiv()
27
	function wpsg_mod_downloadplus_reindiv() {
29
	{
-
 
30
 
28
 
31
		jQuery('#wpsg_mod_downloadplus_target').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
29
		jQuery('#wpsg_mod_downloadplus_target').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
32
    	
30
    	
33
		jQuery.ajax( { 
31
		jQuery.ajax( { 
34
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_downloadplus&edit_id=<?php echo $this->view['order_id']; ?>&noheader=1&cmd=reindiv',
32
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_downloadplus&edit_id=<?php echo $this->view['order_id']; ?>&noheader=1&cmd=reindiv',
Line 59... Line 57...
59
		
57
		
60
		return false;
58
		return false;
61
		
59
		
62
	} // function wpsg_mod_downloadplus_reset()
60
	} // function wpsg_mod_downloadplus_reset()
63
	
61
	
64
	function wpsg_mod_downloadplus_send()
62
	function wpsg_mod_downloadplus_send() {
65
	{
-
 
66
 
63
 
67
		jQuery('#wpsg_mod_downloadplus_target').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
64
		jQuery('#wpsg_mod_downloadplus_target').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
68
    	
65
    	
69
		jQuery.ajax( { 
66
		jQuery.ajax( { 
70
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_downloadplus&edit_id=<?php echo $this->view['order_id']; ?>&noheader=1&cmd=send_files',
67
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_downloadplus&edit_id=<?php echo $this->view['order_id']; ?>&noheader=1&cmd=send_files',
Line 93... Line 90...
93
		} );
90
		} );
94
		
91
		
95
		return false;
92
		return false;
96
		
93
		
97
	} // function wpsg_mod_downloadplus_cangelschedule(file)
94
	} // function wpsg_mod_downloadplus_cangelschedule(file)
98
	
95
 
99
/* ]]> */
-
 
100
</script>
96
</script>
101
 
97
 
102
<div class="postbox" id="wpsg_pdfdownload">
98
<div class="panel panel-default" id="wpsg_pdfdownload">
103
	<h3 class="wpsg_handlediv">
99
	<div class="panel-heading clearfix">
104
		<span title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br /></span>
100
		<h3 class="panel-title">
105
		<span><?php echo __('Downloadplus', 'wpsg'); ?></span>
101
			<?php echo __('Downloadplus', 'wpsg'); ?>
106
	</h3> 
102
		</h3>
107
	<div class="inside" id="wpsg_mod_downloadplus_target">
-
 
108
		<?php echo $this->callMod('wpsg_mod_downloadplus', 'order_view_sidebar_renderList', array($this->view['order_id'])); ?>		 
-
 
109
	</div>
103
	</div>
110
</div>
-
 
111
104
	<div class="panel-body">
-
 
105
 
-
 
106
        <div id="wpsg_mod_downloadplus_target">
-
 
107
            <?php echo $this->callMod('wpsg_mod_downloadplus', 'order_view_sidebar_renderList', array($this->view['order_id'])); ?>
-
 
108
        </div>
-
 
109
 
-
 
110
        <br /><br />
-
 
111
 
-
 
112
		<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_downloadplus"><span class="wpsg-glyphicon glyphicon glyphicon-wrench"></span><?php echo __('Zur Konfiguration des Abo-Moduls', 'wpsg'); ?></a>
-
 
113
 
-
 
114
    </div>
-
 
115
</div>
-
 
116