Subversion Repositories wpShopGermany4

Rev

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

Rev 5261 Rev 5683
Line 2... Line 2...
2
 
2
 
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();
-
 
8
    foreach ($this->view['arProfile'] as $p) $arProfilSelect[$p['id']] = $p['name'];
-
 
9
 
7
?>
10
?>
-
 
11
 
8
<?php if (sizeof($this->view['arProfile']) > 0) { ?>
12
<?php if (sizeof($this->view['arProfile']) > 0) { ?>
9
<select name="wpsg_mod_export[profil]" id="wpsg_mod_export_profil" onchange="wpsg_mod_export_profilSwitch();" style="width:99%;">
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();')); ?>
10
	<?php foreach ($this->view['arProfile'] as $p) { ?>
-
 
11
	<option value="<?php echo $p['id']; ?>" <?php echo ((isset($this->view['profil_id']) && $p['id'] == $this->view['profil_id'])?'selected="selected"':''); ?>><?php echo $p['name']; ?></option>
-
 
12
	<?php } ?>
-
 
13
</select>
-
 
14
<div id="profil_content" style="padding:5px 0px 5px 0px;"></div>
14
<div id="profil_content" style="padding:15px 0px 15px 0px;"></div>
15
<?php } else { ?>
15
<?php } else { ?>
16
<p><?php echo __('Bisher noch keine Profile angelegt.', 'wpsg'); ?></p>
16
<p><?php echo __('Bisher noch keine Profile angelegt.', 'wpsg'); ?></p>
17
<?php } ?>
17
<?php } ?>
18
 
18
 
19
<script type="text/javascript">
19
<script type="text/javascript">