1390 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Einstellungen des Warenkorbteaser Moduls
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
4923 |
thomas |
8 |
<?php echo wpsg_drawForm_Select('wpsg_mod_basketteaser_show', __('Anzeige', 'wpsg'), array(0 => __('Unter dem Warenkorb', 'wpsg'), 1 => __('Im Warenkorb', 'wpsg')), $this->get_option('wpsg_mod_basketteaser_show'), array('help' => 'wpsg_mod_basketteaser_show')); ?>
|
|
|
9 |
<?php echo wpsg_drawForm_Select('wpsg_mod_basketteaser_template', __('Template für die Produkte im Warenkorb', 'wpsg'), $this->view['templates'], $this->get_option('wpsg_mod_basketteaser_template'), array('help' => 'wpsg_mod_basketteaser_template'))?>
|
1390 |
daniel |
10 |
|
|
|
11 |
<script type="text/javascript">
|
|
|
12 |
|
|
|
13 |
function wpsg_mod_basketteaser_switchshow()
|
|
|
14 |
{
|
|
|
15 |
|
|
|
16 |
if (jQuery('#wpsg_mod_basketteaser_show').val() == '0') jQuery('#wpsg_mod_basketteaser_template').parent().parent().show();
|
|
|
17 |
else jQuery('#wpsg_mod_basketteaser_template').parent().parent().hide();
|
|
|
18 |
|
|
|
19 |
}
|
|
|
20 |
|
|
|
21 |
jQuery(document).ready(function() {
|
|
|
22 |
|
|
|
23 |
jQuery('#wpsg_mod_basketteaser_show').bind('change', function() { wpsg_mod_basketteaser_switchshow(); } );
|
|
|
24 |
|
|
|
25 |
wpsg_mod_basketteaser_switchshow();
|
|
|
26 |
|
|
|
27 |
} );
|
|
|
28 |
|
|
|
29 |
</script>
|