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
 
3
{IF POST->attachments}
4
  {include posting_attachments_list}
5
 
6
  {ASSIGN AttachPhrase LANG->AttachAnotherFile}
7
 
8
{ELSE}
9
  {ASSIGN AttachPhrase LANG->AttachAFile}
10
{/IF}
11
 
12
{IF ATTACHMENTS_FULL}
13
  <b>{LANG->AttachFull}</b>
14
{ELSE}
15
  <script type="text/javascript">
16
  function phorumShowAttachForm() {
17
    document.getElementById('phorum-attach-link').style.display='none';
18
    document.getElementById('phorum-attach-form').style.display='block';
19
  }
20
  document.write("<div id=\"phorum-attach-link\" style=\"display: block;\"><a href=\"javascript:phorumShowAttachForm();\"><b>{AttachPhrase} ...</b></a></div>\n");
21
  document.write("<div id=\"phorum-attach-form\" style=\"display: none;\">");
22
  </script>
23
 
24
  <b>{AttachPhrase}</b>
25
 
26
  <ul>
27
  {IF EXPLAIN_ATTACH_FILE_TYPES}<li>{EXPLAIN_ATTACH_FILE_TYPES}{/IF}
28
  {IF EXPLAIN_ATTACH_FILE_SIZE}<li>{EXPLAIN_ATTACH_FILE_SIZE}{/IF}
29
  {IF EXPLAIN_ATTACH_TOTALFILE_SIZE}<li>{EXPLAIN_ATTACH_TOTALFILE_SIZE}{/IF}
30
  {IF EXPLAIN_ATTACH_MAX_ATTACHMENTS}<li>{EXPLAIN_ATTACH_MAX_ATTACHMENTS}{/IF}
31
  </ul>
32
 
33
  <input type="file" size="50" name="attachment" />
34
  <input type="submit" name="attach" value="{LANG->Attach}" />
35
<script type="text/javascript">document.write('</div>');</script>
36
{/IF}
37
 
38
</div>