summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/mods/mod_productindex/page_metabox.phtml39
1 files changed, 19 insertions, 20 deletions
diff --git a/views/mods/mod_productindex/page_metabox.phtml b/views/mods/mod_productindex/page_metabox.phtml
index 45ae757..4b46638 100644
--- a/views/mods/mod_productindex/page_metabox.phtml
+++ b/views/mods/mod_productindex/page_metabox.phtml
@@ -7,12 +7,12 @@
?>
<style type="text/css">
-
-#wpsg_mod_productindex_layer { height:20rem; }
-#wpsg_mod_productindex_layer select,
-#wpsg_mod_productindex_layer input { width:25rem; }
-#wpsg_mod_productindex_layer #wpsg_mod_productindex_hideOrder,
-#wpsg_mod_productindex_layer #wpsg_mod_productindex_hideViewSelect { width:15px; height:15px; }
+
+ #wpsg_mod_productindex_layer { height:20rem; }
+ #wpsg_mod_productindex_layer select,
+ #wpsg_mod_productindex_layer input { width:25rem; }
+ #wpsg_mod_productindex_layer #wpsg_mod_productindex_hideOrder,
+ #wpsg_mod_productindex_layer #wpsg_mod_productindex_hideViewSelect { width:15px; height:15px; }
</style>
@@ -90,34 +90,33 @@
</div>
-<script type="text/javascript">/* <![CDATA[ */
+<script>
/**
* Zeigt / Versteckt die Optionen für die Produktübersichtsseite
*/
- function wpsg_mod_productindex_activate()
- {
-
- if (jQuery('#wpsg_mod_productindex_active').attr('checked'))
- {
+ function wpsg_mod_productindex_activate() {
+
+ if (jQuery('#wpsg_mod_productindex_active').prop('checked')) {
+
jQuery('#wpsg_mod_productindex_layer').show();
- }
- else
- {
+
+ } else {
+
jQuery('#wpsg_mod_productindex_layer').hide();
+
}
- } // wpsg_mod_productindex_activate()
+ }
- function wpsg_mod_productindex_switchShow()
- {
+ function wpsg_mod_productindex_switchShow() {
var show = jQuery('#wpsg_mod_productindex_show').val();
jQuery('.wpsg_mod_productindex_layershow').hide();
jQuery('.wpsg_mod_productindex_layer_' + show).show();
- } // function wpsg_mod_productindex_switchShow()
+ }
jQuery(document).ready(function() {
@@ -129,4 +128,4 @@
} );
-/* ]]> */</script> \ No newline at end of file
+</script> \ No newline at end of file