Subversion Repositories wpShopGermany4

Rev

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

Rev 6220 Rev 6232
Line 3... Line 3...
3
	/**
3
	/**
4
	 * Template für die Anzeige der Bestelluploads innerhalb des Bestellbackend
4
	 * Template für die Anzeige der Bestelluploads innerhalb des Bestellbackend
5
	 */
5
	 */
6
 
6
 
7
?>
7
?>
8
<div class="postbox" id="wpsg_modorderupload">
-
 
9
	<div title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br></div>
-
 
10
	<h3 class="hndle">
-
 
11
		<span><?php echo __('Bestelluploads', 'wpsg'); ?></span>
-
 
12
	</h3> 
-
 
13
	<div class="inside">
-
 
14
		 <?php if (!wpsg_isSizedArray($this->view['arFiles'])) { ?>
-
 
15
		 <p class="wpsg_checkout_orderupload_backend">
-
 
16
		 	<?php echo __('Keine Dateien hochgeladen.', 'wpsg'); ?>
-
 
17
		 </p>
-
 
18
		 <?php } else { ?>
-
 
19
		 <?php foreach ($this->view['arFiles'] as $f) { ?>
-
 
20
		 <p class="wpsg_checkout_orderupload_backend">
-
 
21
		 	<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo $this->view['data']['id']; ?>&noheader=1&action=ajax&mod=wpsg_mod_orderupload&wpsg_mod_orderupload_download=<?php echo rawurlencode($f); ?>"><?php echo $f; ?></a><br /> 
-
 
22
		 	<span class="wpsg_checkout_orderupload_backend_weight">(<?php echo wpsg_formatSize($this->callMod('wpsg_mod_orderupload', 'getSavePath', array($this->view['data']['id'])).$f); ?>)</span>
-
 
23
		 </p>
-
 
24
		 <?php } ?>
-
 
25
		 <?php } ?>
-
 
26
	</div>
-
 
27
</div>
-
 
28
8
 
-
 
9
	<?php if ($this->hasMod('wpsg_mod_orderupload')) { ?>
-
 
10
		<?php echo wpsg_drawForm_AdminboxStart(__('Bestelluploads', 'wpsg')); ?>
-
 
11
		
-
 
12
			<div class="inside">
-
 
13
				 <?php if (!wpsg_isSizedArray($this->view['arFiles'])) { ?>
-
 
14
				 <p class="wpsg_checkout_orderupload_backend">
-
 
15
				 	<?php echo __('Keine Dateien hochgeladen.', 'wpsg'); ?>
-
 
16
				 </p>
-
 
17
				 <?php } else { ?>
-
 
18
				 <?php foreach ($this->view['arFiles'] as $f) { ?>
-
 
19
				 <p class="wpsg_checkout_orderupload_backend">
-
 
20
				 	<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo $this->view['data']['id']; ?>&noheader=1&action=ajax&mod=wpsg_mod_orderupload&wpsg_mod_orderupload_download=<?php echo rawurlencode($f); ?>"><?php echo $f; ?></a><br /> 
-
 
21
				 	<span class="wpsg_checkout_orderupload_backend_weight">(<?php echo wpsg_formatSize($this->callMod('wpsg_mod_orderupload', 'getSavePath', array($this->view['data']['id'])).$f); ?>)</span>
-
 
22
				 </p>
-
 
23
				 <?php } ?>
-
 
24
				 <?php } ?>
-
 
25
			</div>
-
 
26
		
-
 
27
		<?php echo wpsg_drawForm_AdminboxEnd(); ?>
-
 
28
	<?php } ?>
-
 
29