aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/upload.vtp
blob: 1ac1c3ccb2114fe2421a22a3595bf0e4d7e7502e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<html>
  <head>
    {#style}
    <title>{#upload_title}</title>
    <meta http-equiv="Content-Type" content="text/html; charset={#charset}">
  </head>
  <body>
    {#header}
    <table style="width:100%;height:100%">
      <tr align="center" valign="middle">
        <td>
          {#frame_start}1px{#frame_begin}
            <div class="titrePage">{#upload_title}</div>
          {#frame_end}
          <div style="margin-bottom:5px;">&nbsp;</div>
          {#frame_start}50%{#frame_begin}
            <!--VTP_upload_not_successful-->
            <form enctype="multipart/form-data" method="post" action="{#form_action}">
              <table style="width:80%;margin-left:auto;margin-right:auto;">
                <!--VTP_errors-->
                <tr>
                  <td colspan="3">
                    <div class="errors">
                      <ul>
                        <!--VTP_li-->
                        <li>{#li}</li>
                        <!--/VTP_li-->
                      </ul>
                    </div>
                  </td>
                </tr>
                <!--/VTP_errors-->
                <tr>
                  <td colspan="2" class="menu">
                    <div style="text-align:center;">{#advise_title}</div>
                    <ul>
                      <!--VTP_advise-->
                      <li>{#content}</li>
                      <!--/VTP_advise-->
                    </ul>
                  </td>
                </tr>
                <tr>
                  <td colspan="2" align="center" style="padding:10px;">
                    <input name="picture" type="file" value="" />
                  </td>
                </tr>
                <!--VTP_fields-->
                <!-- username -->
                <tr>
                  <td class="menu">{#upload_username} <span style="color:red;">*</span></td>
                  <td align="center" style="padding:10px;">
                    <input name="username" type="text" value="{#username}" />
                  </td>
                </tr>
                <!-- mail address -->
                <tr>
                  <td class="menu">{#mail_address} <span style="color:red;">*</span></td>
                  <td align="center" style="padding:10px;">
                    <input name="mail_address" type="text" value="{#user_mail_address}" />
                  </td>
                </tr>
                <!-- name of the picture -->
                <tr>
                  <td class="menu">{#upload_name}</td>
                  <td align="center" style="padding:10px;">
                    <input name="name" type="text" value="{#name}" />
                  </td>
                </tr>
                <!-- author -->
                <tr>
                  <td class="menu">{#upload_author}</td>
                  <td align="center" style="padding:10px;">
                    <input name="author" type="text" value="{#author}" />
                  </td>
                </tr>
                <!-- date of creation -->
                <tr>
                  <td class="menu">{#upload_creation_date}</td>
                  <td align="center" style="padding:10px;">
                    <input name="date_creation" type="text" value="{#date_creation}" />
                  </td>
                </tr>
                <!-- comment -->
                <tr>
                  <td class="menu">{#upload_comment}</td>
                  <td align="center" style="padding:10px;">
                   <textarea name="comment" rows="3" cols="40" style="overflow:auto">{#comment}</textarea>
                  </td>
                </tr>
                <!--/VTP_fields-->
                <tr>
                  <td colspan="2" align="center">
                    <input name="submit" type="submit" value="{#submit}" />
                  </td>
                </tr>
              </table>
            </form>
            <!--/VTP_upload_not_successful-->
            <!--VTP_upload_successful-->
            {#upload_successful}<br />
            <!--/VTP_upload_successful-->
            <div style="text-align:center;">
              <a href="{#return_url}">[ {#search_return_main_page} ]</a>
            </div>
            <!--VTP_note-->
            <div style="text-align:left;"><span style="color:red;">*</span> : {#mandatory}</div>
            <!--/VTP_note-->
          {#frame_end}
        </td>
      </tr>
    </table>
    {#footer}
  </body>
</html>