source: extensions/music_player/template/admin_img.tpl @ 27267

Last change on this file since 27267 was 27267, checked in by flop25, 6 years ago

all foreach reworked properly

File size: 1.8 KB
Line 
1<div class="titrePage">
2    <ul class="categoryActions">
3      <li><a href="admin.php?page=plugin&section=music_player/admin/help.php" title="{'Help'|@translate}">{'mp_need_help'|@translate}</a></li>
4    </ul>
5  <h2>Music player / {$PLAYLIST} / miniature</h2>
6</div>
7<!--
8<div class="header_msgs">
9 <p>mp_msgs.mp_msg.MP_MSG</p>
10</div>
11 -->
12
13{foreach from=$envoi item=envoi_item}<!-- BEGIN envoi -->
14<fieldset>
15<legend>Upload</legend>
16<form action="" method="post" enctype="multipart/form-data">
17  <input name="fichier" type="file" />
18  <input type="hidden" name="ajout_image" value="upload" />
19  <input type="hidden" name="id" value="{$envoi_item.ID}" />
20  <input type="submit" name="button" id="button" value="{'mp_send'|@translate}" />
21</form>
22</fieldset>
23{'mp_ou'|@translate}
24<fieldset>
25<legend>{'Links'|@translate}</legend>
26<form action="" method="post">
27  <input name="lien" type="text" id="textfield" size="50" value="http://" />
28  <input type="hidden" name="ajout_image" value="lien" />
29  <input type="hidden" name="id" value="{$envoi_item.ID}" />
30  <input type="submit" name="button2" id="button2" value="{'mp_send'|@translate}" />
31</form>
32</fieldset>
33  {/foreach}<!-- END envoi -->
34 
35  {foreach from=$miniature item=miniature_item}<!-- BEGIN miniature -->
36<div align="center">
37  <img src="{$miniature_item.URL}" alt="La miniature de la playlist" />
38<form action="" method="post">
39  <input type="submit" name="suppr" id="suppr" value="{'delete'|@translate}" />
40{'mp_adm_info_img'|@translate}
41</form>
42</div>
43  {/foreach}<!-- END miniature -->
44  {foreach from=$rien item=rien_item}<!-- BEGIN rien -->
45<div align="center">
46  {$rien_item.TXT}
47</div>
48  {/foreach}<!-- END rien -->
49<p><a href="admin.php?page=plugin&amp;section=music_player/admin/admin.php">{'mp_adm_return'|@translate}</a></p>
Note: See TracBrowser for help on using the repository browser.