Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
831 florian 1
<div class="PhorumStdBlockHeader PhorumNarrowBlock">
2
  {IF POST->attachments}
3
    {INCLUDE posting_attachments_list}
4
    {ASSIGN AttachPhrase LANG->AttachAnotherFile}
5
  {ELSE}
6
    {ASSIGN AttachPhrase LANG->AttachAFile}
7
  {/IF}
8
  {IF ATTACHMENTS_FULL}
9
    <b>{LANG->AttachFull}</b>
10
  {ELSE}
11
    <script type="text/javascript">
12
      function phorumShowAttachForm() {
13
        document.getElementById('phorum-attach-link').style.display='none';
14
        document.getElementById('phorum-attach-form').style.display='block';
15
      }
16
      document.write("<div id=\"phorum-attach-link\" style=\"display: block;\"><a href=\"javascript:phorumShowAttachForm();\"><b>{AttachPhrase} ...</b></a></div>\n");
17
      document.write("<div id=\"phorum-attach-form\" style=\"display: none;\">");
18
    </script>
19
    <b>{AttachPhrase}</b>
20
    <ul>
21
      {IF EXPLAIN_ATTACH_FILE_TYPES}<li>{EXPLAIN_ATTACH_FILE_TYPES}</li>{/IF}
22
      {IF EXPLAIN_ATTACH_FILE_SIZE}<li>{EXPLAIN_ATTACH_FILE_SIZE}</li>{/IF}
23
      {IF EXPLAIN_ATTACH_TOTALFILE_SIZE}<li>{EXPLAIN_ATTACH_TOTALFILE_SIZE}</li>{/IF}
24
      {IF EXPLAIN_ATTACH_MAX_ATTACHMENTS}<li>{EXPLAIN_ATTACH_MAX_ATTACHMENTS}</li>{/IF}
25
    </ul>
26
    <input type="file" size="50" name="attachment" />
27
    <input type="submit" name="attach" value="{LANG->Attach}" />
28
    <script type="text/javascript">document.write('</div>');</script>
29
  {/IF}
30
</div>