aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/upload.tpl
blob: 6fb30d2082cd942aa96aad4a49dc73a213985bef (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
<div id="content">

  <div class="titrePage">
    <ul class="categoryActions">
      <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
    </ul>
    <h2>{lang:upload_title}</h2>
  </div>

  <!-- BEGIN upload_not_successful -->
  <form enctype="multipart/form-data" method="post" action="{F_ACTION}">
    <table style="width:80%;margin-left:auto;margin-right:auto;">
    <!-- BEGIN errors -->
        <tr>
        <td colspan="2">
          <div class="errors">
          <ul>
            <!-- BEGIN error -->
            <li>{upload_not_successful.errors.error.ERROR}</li>
            <!-- END error -->
          </ul>
          </div>
        </td>
        </tr>
    <!-- END errors -->
    <tr>
      <td colspan="2" class="menu">
      <div style="text-align:center;">{ADVISE_TITLE}</div>
      <ul>
        <!-- BEGIN advise -->
        <li>{upload_not_successful.advise.ADVISE}</li>
        <!-- END advise -->
      </ul>
      </td>
    </tr>
    <tr>
      <td colspan="2" align="center" style="padding:10px;">
      <input name="picture" type="file" value="" />
      </td>
    </tr>
    <!-- BEGIN fields -->
    <!-- username  -->
    <tr>
      <td class="menu">{lang:upload_username} <span style="color:red;">*</span></td>
      <td align="left" style="padding:10px;">
      <input name="username" type="text" value="{NAME}" />
      </td>
    </tr>
    <!-- mail address  -->
    <tr>
      <td class="menu">{lang:mail_address} <span style="color:red;">*</span></td>
      <td align="left" style="padding:10px;">
      <input name="mail_address" type="text" value="{EMAIL}" />
      </td>
    </tr>
    <!-- name of the picture  -->
    <tr>
      <td class="menu">{lang:upload_name}</td>
      <td align="left" style="padding:10px;">
      <input name="name" type="text" value="{NAME_IMG}" />
      </td>
    </tr>
    <!-- author  -->
    <tr>
      <td class="menu">{lang:upload_author}</td>
      <td align="left" style="padding:10px;">
      <input name="author" type="text" value="{AUTHOR_IMG}" />
      </td>
    </tr>
    <!-- date of creation  -->
    <tr>
      <td class="menu">{lang:upload_creation_date}</td>
      <td align="left" style="padding:10px;">
      <input name="date_creation" type="text" value="{DATE_IMG}" />
      </td>
    </tr>
    <!-- comment  -->
    <tr>
      <td class="menu">{lang:comment}</td>
      <td align="left" style="padding:10px;">
       <textarea name="comment" rows="3" cols="40" style="overflow:auto">{COMMENT_IMG}</textarea>
      </td>
    </tr>
    <!-- END fields -->
    <tr>
      <td colspan="2" align="center">
      <input class="submit" name="submit" type="submit" value="{lang:submit}" class="bouton" />
      </td>
    </tr>
    </table>
  </form>
  <!-- END upload_not_successful -->
  <!-- BEGIN upload_successful -->
  {lang:upload_successful}<br />
  <div style="text-align:center;">
    <a href="{U_RETURN}">[ {lang:home} ]</a>
  </div>
  <!-- END upload_successful -->
  <!-- BEGIN note -->
  <div style="text-align:left;"><span style="color:red;">*</span> : {lang:mandatory}</div>
  <!-- END note -->
</div> <!-- content -->