Checkboxen für cvars auch verstecken
authorHolger Lindemann <hli@lx-system.de>
Wed, 14 Oct 2009 13:41:39 +0000 (15:41 +0200)
committerHolger Lindemann <hli@lx-system.de>
Wed, 14 Oct 2009 13:41:39 +0000 (15:41 +0200)
templates/webpages/amcvar/search_filter_de.html
templates/webpages/amcvar/search_filter_master.html
templates/webpages/amcvar/search_include_de.html
templates/webpages/amcvar/search_include_master.html

index a8dbfe4..f25b428 100644 (file)
@@ -64,7 +64,7 @@
 [% IF hidden_cvar_filters %]
    <tr><td></td><td colspan="3"><a href="#" id="cvar_filter-toggle"><i>Klicken Sie hier, um nach benutzerdefinierten Variablen zu suchen</i></a></td></tr>
    <script type='text/javascript'>
-     $('#cvar_filter-toggle').click(function() { $('[id^="cvar_filter"]').toggle() });
-     $(document).ready(function(){ $('[id^="cvar_filter_"]').hide() });
+     $('#cvar_filter-toggle').click(function() { $('[id^="cvar_filter"]').toggle(); $('[id^="l_cvartd_"]').toggle(); });
+     $(document).ready(function(){ $('[id^="cvar_filter_"]').hide(); $('[id^="l_cvartd_"]').hide(); });
    </script>
 [% END %]
index 35274dc..9151d13 100644 (file)
@@ -64,7 +64,7 @@
 [% IF hidden_cvar_filters %]
    <tr><td></td><td colspan="3"><a href="#" id="cvar_filter-toggle"><i><translate>click here to edit cvars</translate></i></a></td></tr>
    <script type='text/javascript'>
-     $('#cvar_filter-toggle').click(function() { $('[id^="cvar_filter"]').toggle() });
-     $(document).ready(function(){ $('[id^="cvar_filter_"]').hide() });
+     $('#cvar_filter-toggle').click(function() { $('[id^="cvar_filter"]').toggle(); $('[id^="l_cvartd_"]').toggle(); });
+     $(document).ready(function(){ $('[id^="cvar_filter_"]').hide(); $('[id^="l_cvartd_"]').hide(); });
    </script>
 [% END %]
index 4c16c51..3fd967f 100644 (file)
@@ -8,7 +8,7 @@
    <tr>
     [%- SET start_new_row = '0' %]
     [%- END %]
-    <td>
+    <td id="[% HTML.escape(include_prefix) %]cvartd_[% HTML.escape(var.name) %]">
      <input type="checkbox"
             name="[% HTML.escape(include_prefix) %]cvar_[% HTML.escape(var.name) %]"
             id="[% HTML.escape(include_prefix) %]cvar_[% HTML.escape(var.name) %]"
index 4c16c51..3fd967f 100644 (file)
@@ -8,7 +8,7 @@
    <tr>
     [%- SET start_new_row = '0' %]
     [%- END %]
-    <td>
+    <td id="[% HTML.escape(include_prefix) %]cvartd_[% HTML.escape(var.name) %]">
      <input type="checkbox"
             name="[% HTML.escape(include_prefix) %]cvar_[% HTML.escape(var.name) %]"
             id="[% HTML.escape(include_prefix) %]cvar_[% HTML.escape(var.name) %]"