Subversion Repositories wpShopGermany4

Rev

Rev 5683 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5683 Rev 6425
Line 3... Line 3...
3
	/**
3
	/**
4
	 * Template für die Liste der Profile
4
	 * Template für die Liste der Profile
5
	 */
5
	 */
6
 
6
 
7
    $arProfilSelect = array();
7
    $arProfilSelect = array();
-
 
8
 
8
    foreach ($this->view['arProfile'] as $p) $arProfilSelect[$p['id']] = $p['name'];
9
    foreach ($this->view['arProfile'] as $p)
-
 
10
	{
-
 
11
	
-
 
12
		$arProfilSelect[$p['id']] = $p['name'];
-
 
13
		
-
 
14
		if ($p['export_type'] === wpsg_mod_export::TYPE_ORDER) $arProfilSelect[$p['id']] .= ' ('.__('Bestellexport', 'wpsg').')';
-
 
15
		else if ($p['export_type'] === wpsg_mod_export::TYPE_PRODUCT) $arProfilSelect[$p['id']] .= ' ('.__('Produktexport', 'wpsg').')';
-
 
16
		
-
 
17
	}
9
 
18
 
10
?>
19
?>
11
 
20
 
12
<?php if (sizeof($this->view['arProfile']) > 0) { ?>
21
<?php if (sizeof($this->view['arProfile']) > 0) { ?>
13
<?php echo wpsg_drawForm_Select('wpsg_mod_export[profil]', __('Exportprofile', 'wpsg'), $arProfilSelect, @$this->view['profil_id'], array('id' => 'wpsg_mod_export_profil', 'onchange' => 'wpsg_mod_export_profilSwitch();')); ?>
22
<?php echo wpsg_drawForm_Select('wpsg_mod_export[profil]', __('Exportprofile', 'wpsg'), $arProfilSelect, @$this->view['profil_id'], array('id' => 'wpsg_mod_export_profil', 'onchange' => 'wpsg_mod_export_profilSwitch();')); ?>