Subversion Repositories wpShopGermany4

Rev

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

<?php

        /**
         * Template für die Liste der Profile
         */

    $arProfilSelect = array();
    foreach ($this->view['arProfile'] as $p) $arProfilSelect[$p['id']] = $p['name'];

?>

<?php if (sizeof($this->view['arProfile']) > 0) { ?>
<?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();')); ?>
<div id="profil_content" style="padding:15px 0px 15px 0px;"></div>
<?php } else { ?>
<p><?php echo __('Bisher noch keine Profile angelegt.', 'wpsg'); ?></p>
<?php } ?>

<script type="text/javascript">

        jQuery(document).ready(function() {
                wpsg_mod_export_profilSwitch();
        } );

</script>