source: branches/release-1_3/template/default/upload.vtp @ 290

Last change on this file since 290 was 290, checked in by gweltas, 20 years ago

Conformity with the XHTML 1.0 transitional standard
Creation of the following files :

  • template/default/header.php and template/default/footer.php to ensure a common standard
  • default.css to be CSS valid

Obsolescence of the following files :

  • template/default/theme/conf.php
  • template/default/style.inc.php

Custom galleries should reflect those changes.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.1 KB
Line 
1    <table style="width:100%;height:100%">
2      <tr align="center" valign="middle">
3        <td>
4          {#frame_start}1px{#frame_begin}
5            <div class="titrePage">{#upload_title}</div>
6          {#frame_end}
7          <div style="margin-bottom:5px;">&nbsp;</div>
8          {#frame_start}50%{#frame_begin}
9            <!--VTP_upload_not_successful-->
10            <form enctype="multipart/form-data" method="post" action="{#form_action}">
11              <table style="width:80%;margin-left:auto;margin-right:auto;">
12                <!--VTP_errors-->
13                <tr>
14                  <td colspan="3">
15                    <div class="errors">
16                      <ul>
17                        <!--VTP_li-->
18                        <li>{#li}</li>
19                        <!--/VTP_li-->
20                      </ul>
21                    </div>
22                  </td>
23                </tr>
24                <!--/VTP_errors-->
25                <tr>
26                  <td colspan="2" class="menu">
27                    <div style="text-align:center;">{#advise_title}</div>
28                    <ul>
29                      <!--VTP_advise-->
30                      <li>{#content}</li>
31                      <!--/VTP_advise-->
32                    </ul>
33                  </td>
34                </tr>
35                <tr>
36                  <td colspan="2" align="center" style="padding:10px;">
37                    <input name="picture" type="file" value="" />
38                  </td>
39                </tr>
40                <!--VTP_fields-->
41                <!-- username -->
42                <tr>
43                  <td class="menu">{#upload_username} <span style="color:red;">*</span></td>
44                  <td align="center" style="padding:10px;">
45                    <input name="username" type="text" value="{#username}" />
46                  </td>
47                </tr>
48                <!-- mail address -->
49                <tr>
50                  <td class="menu">{#mail_address} <span style="color:red;">*</span></td>
51                  <td align="center" style="padding:10px;">
52                    <input name="mail_address" type="text" value="{#user_mail_address}" />
53                  </td>
54                </tr>
55                <!-- name of the picture -->
56                <tr>
57                  <td class="menu">{#upload_name}</td>
58                  <td align="center" style="padding:10px;">
59                    <input name="name" type="text" value="{#name}" />
60                  </td>
61                </tr>
62                <!-- author -->
63                <tr>
64                  <td class="menu">{#upload_author}</td>
65                  <td align="center" style="padding:10px;">
66                    <input name="author" type="text" value="{#author}" />
67                  </td>
68                </tr>
69                <!-- date of creation -->
70                <tr>
71                  <td class="menu">{#upload_creation_date}</td>
72                  <td align="center" style="padding:10px;">
73                    <input name="date_creation" type="text" value="{#date_creation}" />
74                  </td>
75                </tr>
76                <!-- comment -->
77                <tr>
78                  <td class="menu">{#upload_comment}</td>
79                  <td align="center" style="padding:10px;">
80                   <textarea name="comment" rows="3" cols="40" style="overflow:auto">{#comment}</textarea>
81                  </td>
82                </tr>
83                <!--/VTP_fields-->
84                <tr>
85                  <td colspan="2" align="center">
86                    <input name="submit" type="submit" value="{#submit}" />
87                  </td>
88                </tr>
89              </table>
90            </form>
91            <!--/VTP_upload_not_successful-->
92            <!--VTP_upload_successful-->
93            {#upload_successful}<br />
94            <!--/VTP_upload_successful-->
95            <div style="text-align:center;">
96              <a href="{#return_url}">[ {#search_return_main_page} ]</a>
97            </div>
98            <!--VTP_note-->
99            <div style="text-align:left;"><span style="color:red;">*</span> : {#mandatory}</div>
100            <!--/VTP_note-->
101          {#frame_end}
102        </td>
103      </tr>
104    </table>
Note: See TracBrowser for help on using the repository browser.