Subversion Repositories Applications.papyrus

Rev

Rev 1372 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
831 florian 1
{IF NOT ITEMCOUNT 0}
2
  {IF NOT ITEMCOUNT 1}
3
    {ASSIGN DID_TOGGLEBLOCK 1}
4
    <script type="text/javascript">
5
      document.write
6
        ( '<input type="checkbox" name="toggle" onclick="' +
7
          'var lf=document.getElementById(\'phorum_listform\');' +
8
          'for (var i=0;i<lf.elements.length;i++) {' +
9
          'var elt=lf.elements[i];' +
10
          'if (elt.type==\'checkbox\' && elt.name!=\'toggle\') {' +
11
          'elt.checked = this.checked;' +
12
          '}' +
13
          '}' +
14
          '">' );
15
    </script>
16
    <noscript>&nbsp;</noscript>
17
  {/IF}
18
{/IF}
19
{IF NOT DID_TOGGLEBLOCK}&nbsp;{/IF}