Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

posting_attach_body.html

Zuletzt modifiziert: 02.04.2025, 15:02 - Dateigröße: 4.02 KiB


01  <div class="panel bg3 panel-container" id="attach-panel">
02      <div class="inner">
03   
04      <p>{L_ADD_ATTACHMENT_EXPLAIN} <span class="hidden" id="drag-n-drop-message">{L_PLUPLOAD_DRAG_TEXTAREA}</span></p>
05      {% if MAX_ATTACHMENT_FILESIZE is not empty %}<p>{{ MAX_ATTACHMENT_FILESIZE }}</p>{% endif %}
06   
07      <fieldset class="fields2" id="attach-panel-basic">
08      <dl>
09          <dt><label for="fileupload">{L_FILENAME}{L_COLON}</label></dt>
10          <dd>
11              <input type="file" accept="{{ ALLOWED_ATTACHMENTS }}" name="fileupload" id="fileupload" class="inputbox autowidth" />
12              <input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="upload = true;" />
13          </dd>
14      </dl>
15      <dl>
16          <dt><label for="filecomment">{L_FILE_COMMENT}{L_COLON}</label></dt>
17          <dd><textarea name="filecomment" id="filecomment" rows="1" cols="40" class="inputbox autowidth">{FILE_COMMENT}</textarea></dd>
18      </dl>
19      </fieldset>
20   
21      <div id="attach-panel-multi" class="attach-panel-multi">
22          <input type="button" class="button2" value="{L_PLUPLOAD_ADD_FILES}" id="add_files" />
23      </div>
24   
25      {% EVENT posting_attach_body_file_list_before %}
26      <div class="panel<!-- IF not .attach_row --> hidden<!-- ENDIF --> file-list-container" id="file-list-container">
27          <div class="inner">
28              <table class="table1 zebra-list fixed-width-table">
29                  <thead>
30                      <tr>
31                          <th class="attach-name">{L_PLUPLOAD_FILENAME}</th>
32                          <th class="attach-comment">{L_FILE_COMMENT}</th>
33                          <th class="attach-filesize">{L_PLUPLOAD_SIZE}</th>
34                          <th class="attach-status">{L_PLUPLOAD_STATUS}</th>
35                      </tr>
36                  </thead>
37                  <tbody class="responsive-skip-empty file-list" id="file-list">
38                      <tr class="attach-row attach-row-tpl" id="attach-row-tpl">
39                              <td class="attach-name">
40                                  <span class="file-name ellipsis-text"></span>
41                                  <span class="attach-controls">
42                                      {% if S_BBCODE_ALLOWED %}<input type="button" value="{{ lang('PLACE_INLINE') }}" class="button2 hidden file-inline-bbcode" />&nbsp;{% endif %}
43                                      <input type="button" value="{L_DELETE_FILE}" class="button2 file-delete" />
44                                  </span>
45                                  <span class="clear"></span>
46                              </td>
47                              <td class="attach-comment">
48                                  <textarea rows="1" cols="30" class="inputbox"></textarea>
49                              </td>
50                              <td class="attach-filesize">
51                                  <span class="file-size"></span>
52                              </td>
53                              <td class="attach-status">
54                                  <span class="file-progress">
55                                      <span class="file-progress-bar"></span>
56                                  </span>
57                                  <span class="file-status"></span>
58                              </td>
59                      </tr>
60                      {% EVENT posting_attach_body_attach_row_before %}
61                      <!-- BEGIN attach_row -->
62                          {% EVENT posting_attach_body_attach_row_prepend %}
63                          <tr class="attach-row" data-attach-id="{attach_row.ATTACH_ID}">
64                              <td class="attach-name">
65                                  <span class="file-name ellipsis-text"><a href="{attach_row.U_VIEW_ATTACHMENT}">{attach_row.FILENAME}</a></span>
66                                  {% EVENT posting_attach_body_attach_row_controls_prepend %}
67                                  <span class="attach-controls">
68                                      {% if S_BBCODE_ALLOWED and S_INLINE_ATTACHMENT_OPTIONS %}<input type="button" value="{{ lang('PLACE_INLINE') }}" class="button2 file-inline-bbcode" />&nbsp;{% endif %}
69                                      <input type="submit" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" class="button2 file-delete" />
70                                  </span>
71                                  {% EVENT posting_attach_body_attach_row_controls_append %}
72                                  <span class="clear"></span>
73                              </td>
74                              <td class="attach-comment">
75                                  <textarea name="comment_list[{attach_row.ASSOC_INDEX}]" rows="1" cols="30" class="inputbox">{attach_row.FILE_COMMENT}</textarea>
76                                  {attach_row.S_HIDDEN}
77                              </td>
78                              <td class="attach-filesize">
79                                  <span class="file-size">{attach_row.FILESIZE}</span>
80                              </td>
81                              <td class="attach-status">
82                                  <span class="file-status file-uploaded"></span>
83                              </td>
84                          </tr>
85                          {% EVENT posting_attach_body_attach_row_append %}
86                      <!-- END attach_row -->
87                      {% EVENT posting_attach_body_attach_row_after %}
88                  </tbody>
89              </table>
90          </div>
91      </div>
92      {% EVENT posting_attach_body_file_list_after %}
93      </div>
94  </div>
95