source: extensions/PersoFavicon/admin/admin.tpl @ 19391

Last change on this file since 19391 was 19391, checked in by plg, 11 years ago

Better management on error code/message provided by PHP on file upload

No need to add a MAX_FILE_SIZE limit on HTML form, it makes the error
message less readable than the specific PHP error message.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 972 bytes
Line 
1<div class="titrePage">
2  <h2>{'pfi_h2'|@translate}</h2>
3</div>
4{if isset ($pfi)}
5  {if isset ($ICO)}
6        <div style="text-align:left; padding:20px;">
7                {'pfi_actu'|@translate} <img class="thumbnail" src="{$ICO}" alt="" width="20px"><br>
8                {'pfi_actu2'|@translate}
9        </div>
10  {/if}
11                <form method="post" enctype="multipart/form-data" onsubmit="return(confirm('{'pfi_validdef'|@translate}'));">
12                        <fieldset>
13                                <legend>{'pfi_select'|@translate}</legend>
14                                        <input class="file" name="pfi" type="file" value="">
15                <br>   
16                <br>
17                        <div style="text-align:center;">
18                                <input class="submit" name="submitpfi" type="submit" value="{'pfi_envoie'|@translate}" {$TAG_INPUT_ENABLED} />
19                        </div>
20                        </fieldset>
21                </form>
22{/if}
23{if isset ($help)}
24                <h3>{'pfi_aide1T'|@translate}</h3>
25                                <div style="text-align:left;padding:10px;">{'pfi_aide1'|@translate}</div>
26                <h3>{'pfi_aide2T'|@translate}</h3>
27                                <div style="text-align:left;padding:10px;">{'pfi_aide2'|@translate}</div>
28{/if}
Note: See TracBrowser for help on using the repository browser.