source: extensions/Simple_Grey/upload.tpl @ 5087

Last change on this file since 5087 was 4762, checked in by boulde, 15 years ago

change titrepage id to a class

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