source: extensions/music_player/template/admin_edit.tpl @ 5732

Last change on this file since 5732 was 3329, checked in by flop25, 16 years ago

first commit

File size: 6.7 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}</h2>
6</div>
7<!--
8<div class="header_msgs">
9  <p>mp_msgs.mp_msg.MP_MSG</p>
10</div>
11 -->
12{foreach from=$edit_txt item=edit_txt}
13<form action="" method="post" name="edit_txt">
14  {'mp_adm_edit_1'|@translate} :
15  <input name="texte" type="text" value="{$edit_txt.TXT}" maxlength="255" />
16  <input name="id" type="hidden" value="{$edit_txt.ID}" />
17  <input name="envoi" value="edit_txt" type="hidden" />
18  <input name="submit" value="OK" type="submit" />
19</form>
20<p><a href="admin.php?page=plugin&amp;section=music_player/admin/admin.php">{'mp_adm_return'|@translate}</a></p>
21{/foreach}
22
23{foreach from=$edit_ex item=edit_ex}
24<form action="" method="post" name="edit_ex">
25  {'mp_adm_edit_1'|@translate} :
26  <input name="texte" type="text" value="{$edit_ex.TXT}" maxlength="255" />
27  <br />
28  URL :
29  <input name="url" type="text" value="{$edit_ex.URL}" size="60" maxlength="255" />
30  <input name="id" type="hidden" value="{$edit_ex.ID}" />
31  <input name="envoi" value="edit_ex" type="hidden" />
32  <input name="submit" value="OK" type="submit" />
33</form>
34<p><a href="admin.php?page=plugin&amp;section=music_player/admin/admin.php">{'mp_adm_return'|@translate}</a></p>
35{/foreach}
36
37{foreach from=$suppr item=suppr}
38<form action="admin.php?page=plugin&amp;section=music_player/admin/admin_edit.php&music={$suppr.PL}" method="post" name="suppr">
39  <input name="envoi" type="hidden" value="suppr" />
40  <input name="id" type="hidden" value="{$suppr.ID}" />
41  <input name="submit" value="{'mp_adm_ed_sup_ok'|@translate}" type="submit" />
42  {'mp_adm_ed_sup_info'|@translate}
43</form>
44<p><a href="admin.php?page=plugin&amp;section=music_player/admin/admin_edit.php&music={$suppr.PL}">{'mp_adm_return_2'|@translate}</a></p>
45{/foreach}
46{foreach from=$edit_music item=edit_music}
47<form action="" method="post" name="edit_music">
48  Texte :
49  <input name="nom" type="text" value="{$edit_music.NOM}" size="40" maxlength="255" />
50  <br />
51  URL :
52  <input name="url" type="text" value="{$edit_music.URL}" size="80" maxlength="255" />
53  <input name="id" type="hidden" value="{$edit_music.ID}" />
54  <input name="envoi" type="hidden" value="edit_music" />
55  <input name="submit" value="OK" type="submit" />
56</form>
57<p><a href="admin.php?page=plugin&amp;section=music_player/admin/admin_edit.php&music={$edit_music.PL}">{'mp_adm_return_2'|@translate}</a></p>
58{/foreach}
59
60{if isset($etape_ID)}
61<fieldset>
62<legend>{'mp_adm_etape_1'|@translate}</legend>
63<form id="form1" name="form1" method="post" action="">
64  <div align="center">{'mp_adm_et1_txt'|@translate}
65    <input type="hidden" name="id_playlist" id="hiddenField" value="{$etape_ID}" />
66    <input type="hidden" name="envoi" id="hiddenField" value="synchro_bdd" />
67    <input type="submit" name="button" id="button" value="{'mp_adm_edit_3'|@translate}" />
68  </div>
69</form>
70</fieldset>
71<fieldset>
72<legend>{'mp_adm_etape_2'|@translate}</legend>
73{'mp_adm_et2_txt'|@translate}
74<form id="form1" name="form1" method="post" action="">
75  {'mp_adm_et2_nbr'|@translate}
76  <input name="nbr_ajout" type="text" id="nbr_ajout" size="3" maxlength="2" />
77  <input type="submit" name="button" id="button" value="OK" />
78</form>
79<form action="" method="post" name="edit_music">
80  {foreach from=$ajout item=ajout}<!-- BEGIN ajout -->
81  <fieldset>
82  Texte :
83  <input name="nom_{$ajout.I}" type="text" size="40" maxlength="255" />
84  {'mp_adm_et2_rg'|@translate}
85  <input name="rang_{$ajout.I}" type="text" size="3" maxlength="20" />
86  {'mp_adm_et2_rg2'|@translate}<br />
87  URL :
88  <input name="url_{$ajout.I}" type="text" size="80" maxlength="255" />
89  </fieldset>
90  {/foreach}
91  <input name="nbr" type="hidden" value="{$etape_I}" />
92  <input name="envoi" type="hidden" value="ajout" />
93  <input name="submit" value="{'mp_send'|@translate}" type="submit" />
94</form>
95</fieldset>
96{/if}<!-- etape -->
97
98{if isset($playlist_TEXTE)}
99<fieldset>
100<legend>{'mp_adm_etape_3'|@translate}</legend>
101{'mp_adm_edit_2'|@translate} &quot;<em>{$playlist_TEXTE}&quot;</em> {'mp_adm_envoi_2'|@translate} :
102<table id="list_music" class="table2">
103  <thead>
104    <tr class="throw">
105      <td>{'mp_adm_thead1'|@translate}</td>
106      <td>{'mp_adm_thead2'|@translate}</td>
107      <td>{'mp_adm_thead3'|@translate}</td>
108      <td>{'mp_adm_thead4'|@translate}</td>
109      <td>{'mp_adm_thead5'|@translate}</td>
110      <td>{'mp_adm_thead6'|@translate}</td>
111    </tr>
112  </thead>
113  {foreach from=$music item=music}<!-- BEGIN music -->
114  <tr class="{$music.CLASS}">
115    <td>{$music.NOM}</td>
116    <td>{$music.FILE}</td>
117        <td>
118    {if isset ($music.UP_RANG)}
119      <form action="" method="post">
120        <input name="rang" type="hidden" value="{$music.UP_RANG}" />
121        <input name="nouv_rang" type="hidden" value="{$music.UP_RANG_NEW}" />
122        <input type="hidden" name="envoi" id="hiddenField" value="rang" />
123        <input type="image" name="up" src="plugins/music_player/template/icon/page_top.png" />
124      </form>
125        {/if}
126    </td>
127    <td>
128    {if isset ($music.D_RANG)}
129      <form action="" method="post">
130        <input name="rang" type="hidden" value="{$music.D_RANG}" />
131        <input name="nouv_rang" type="hidden" value="{$music.D_RANG_NEW}" />
132        <input type="hidden" name="envoi" id="hiddenField" value="rang" />
133        <input type="image" name="down" src="plugins/music_player/template/icon/page_end.png" />
134      </form>
135    {/if}
136    </td>
137    <td><a href="admin.php?page=plugin&section=music_player/admin/admin_edit.php&music_id={$music.ID}" title="{'mp_admin_nm_edit'|@translate}"><img src="{$pwg_root}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'mp_admin_nm_edit'|@translate}"></a></td>
138    <td><a href="admin.php?page=plugin&section=music_player/admin/admin_edit.php&suppr={$music.ID}" title="{'delete'|@translate}"><img src="{$pwg_root}{$themeconf.icon_dir}/delete.png" class="button" alt="{'delete'|@translate}"></a> </td>
139  </tr>
140  {/foreach}<!-- END music -->
141</table>
142</fieldset>
143<fieldset>
144<legend>{'mp_adm_etape_4'|@translate}</legend>
145<form id="form1" name="form1" method="post" action="">
146  <div align="center"> ===>{'mp_adm_et4_txt'|@translate}
147    <input type="hidden" name="id_playlist" id="hiddenField" value="{$playlist_ID}" />
148    <input type="hidden" name="envoi" id="hiddenField2" value="synchro_xml" />
149    <input type="submit" name="button" id="button" value="{'mp_adm_et4_ok'|@translate}" />
150    <=== </div>
151</form>
152</fieldset>
153
154<p><a href="admin.php?page=plugin&amp;section=music_player/admin/admin.php">{'mp_adm_return'|@translate}</a></p>
155{/if}
Note: See TracBrowser for help on using the repository browser.