Subversion Repositories wpShopGermany4

Rev

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

Rev Author Line No. Line
1854 daniel 1
<?php
2
 
3
	/**
4
	 * Template für die Einstellungen innerhalb des Posts
5
	 */
1899 daniel 6
 
1854 daniel 7
?>
8
 
9
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_productindex_active', __('Seite als Produktseite verwenden', 'wpsg'), get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_active', true)); ?>
10
 
11
<div id="wpsg_mod_productindex_layer" style="display:none;">
1899 daniel 12
 
13
	<?php echo wpsg_drawForm_Select('wpsg_mod_productindex_show', __('Produkte', 'wpsg'), $this->view['wpsg_mod_productindex']['arShow'], get_post_meta($this->view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_show', true)); ?>
14
 
1854 daniel 15
</div>
16
 
17
<script type="text/javascript">/* <![CDATA[ */
18
 
19
	/**
20
	 * Zeigt / Versteckt die Optionen für die Produktübersichtsseite
21
	 */
1899 daniel 22
	function wpsg_mod_productindex_activate()
1854 daniel 23
	{
1899 daniel 24
 
1854 daniel 25
		if (jQuery('#wpsg_mod_productindex_active').attr('checked'))
26
		{
27
			jQuery('#wpsg_mod_productindex_layer').show();
28
		}
29
		else
30
		{
31
			jQuery('#wpsg_mod_productindex_layer').hide();
32
		}
33
 
34
	} // wpng_mod_productindex_activate()
35
 
36
	jQuery(document).ready(function() {
37
 
1899 daniel 38
		jQuery('#wpsg_mod_productindex_active').bind('change', function() { wpsg_mod_productindex_activate(); } );
1854 daniel 39
 
40
		wpsg_mod_productindex_activate();
41
 
42
	} );
43
 
44
/* ]]> */</script>