Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Rev 6425 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1197 daniel 1
<?php
2
 
3
	/**
4
	 * Template für die Liste der Profile
5
	 */
6
 
5683 daniel 7
    $arProfilSelect = array();
8
    foreach ($this->view['arProfile'] as $p) $arProfilSelect[$p['id']] = $p['name'];
9
 
1197 daniel 10
?>
5683 daniel 11
 
1197 daniel 12
<?php if (sizeof($this->view['arProfile']) > 0) { ?>
5683 daniel 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();')); ?>
14
<div id="profil_content" style="padding:15px 0px 15px 0px;"></div>
1197 daniel 15
<?php } else { ?>
16
<p><?php echo __('Bisher noch keine Profile angelegt.', 'wpsg'); ?></p>
17
<?php } ?>
18
 
19
<script type="text/javascript">
20
 
21
	jQuery(document).ready(function() {
22
		wpsg_mod_export_profilSwitch();
23
	} );
24
 
25
</script>