source: extensions/gally/gally-default/template/upload.tpl @ 6109

Last change on this file since 6109 was 6109, checked in by grum, 14 years ago

Gally's themes compatibles with piwigo 2.1

  • Property svn:executable set to *
File size: 3.0 KB
Line 
1<!-- **GBL** >UPLOAD> -->
2
3<div id="content" class="content">
4
5  <div class="titrePage">
6    <ul class="categoryActions">
7      <li><a id="icon_home" class="button" href="{$U_HOME}" title="{'return to homepage'|@translate}"><!--<img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"/>--></a></li>
8    </ul>
9    <h2>{'Upload a picture'|@translate}</h2>
10  </div>
11
12  {include file='dialogs.tpl'}
13
14  {if not $UPLOAD_SUCCESSFUL }
15  <form enctype="multipart/form-data" method="post" action="{$F_ACTION}">
16    <fieldset>
17      <legend>{$ADVISE_TITLE}</legend>
18      {if not empty($advises)}
19      <ul>
20        {foreach from=$advises item=advise}
21        <li>{$advise}</li>
22        {/foreach}
23      </ul>
24      {/if}
25
26      <ul>
27        <li>
28            <div class="property">&nbsp;</div><input name="picture" type="file" value="" />
29        </li>
30        {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
31        <!-- category -->
32        <li>
33          <div class="property">{'Category'|@translate}</div>
34          {html_options name="category" options=$categories selected=$categories_selected}
35        </li>
36        <!-- username -->
37        <li>
38          <div class="property">{'Username'|@translate}</div>
39          <input name="username" type="text" value="{$NAME}" />&nbsp;<span class="mandatorystar">*</span>
40        </li>
41        <!-- mail address -->
42        <li>
43          <div class="property">{'E-mail address'|@translate}</div>
44          <input name="mail_address" type="text" value="{$EMAIL}" size="35"/>&nbsp;<span class="mandatorystar">*</span>
45        </li>
46        <!-- name of the picture -->
47        <li>
48          <div class="property">{'Name of the picture'|@translate}</div>
49          <input name="name" type="text" value="{$NAME_IMG}" size="35"/>
50        </li>
51        <!-- author -->
52        <li>
53          <div class="property">{'Author'|@translate}</div>
54          <input name="author" type="text" value="{$AUTHOR_IMG}" size="35"/>
55        </li>
56        <!-- date of creation -->
57        <li>
58          <div class="property">{'Creation date'|@translate} (DD/MM/YYYY)</div>
59          <input name="date_creation" type="text" value="{$DATE_IMG}" />
60        </li>
61        <!-- comment -->
62        <li>
63          <div class="property">{'Comment'|@translate}</div>
64          <textarea name="comment" rows="6" cols="60" style="overflow:auto">{$COMMENT_IMG}</textarea>
65        </li>
66        {/if}
67      </ul>
68    </fieldset>
69    <p class="bottomButtons">
70      <input class="submit" name="submit" type="submit" value="{'Submit'|@translate}" />
71    </p>
72  </form>
73  {else}
74  {'Picture uploaded with success, an administrator will validate it as soon as possible'|@translate}<br />
75  <div style="text-align:center;">
76    <a href="{$U_RETURN}">[ {'Home'|@translate} ]</a>
77  </div>
78  {/if}
79
80  {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
81  <div class="mandatorynfo"><span class="mandatorystar">*</span> : {'obligatory'|@translate}</div>
82  {/if}
83</div> <!-- content -->
84
85
86<!-- **GBL** <UPLOAD< -->
Note: See TracBrowser for help on using the repository browser.