Удаление списков.
[mpd-web.git] / view / default / tmpl / playlistmenu.php
index bc0f8f06bd2f7e137a577c96ec63b2c1289abe26..45c88572e0afe70f5da011be6e88b0ce958b7039 100644 (file)
@@ -2,7 +2,9 @@
         <table>
                 <tr>
                        <td><span class="button" onclick="EditPlayList()"><img width="20" src="images/songs.png"></span><td>
         <table>
                 <tr>
                        <td><span class="button" onclick="EditPlayList()"><img width="20" src="images/songs.png"></span><td>
-                       <td><span class="button" onclick="PlaylistCommand('clear')" ><img width="20" src="images/removeall.png"></span><td>
+                       <td><span class="button" onclick="LoadPlayList()"><img width="20" src="images/lists.png"></span><td>
+                       <td><span class="button" onclick="SavePlayList()"><img width="20" src="images/save.png"></span><td>
+                       <td><span class="button" onclick="return confirm('Очистить список. Вы уверены?') ? PlaylistCommand('clear') : false;" ><img width="20" src="images/removeall.png"></span><td>
                        <td><span class="button" onclick="PlaylistItemsCommand('removeselected')"><img width="20" src="images/removeselected.png"></span><td>
                </tr>
         </table>
                        <td><span class="button" onclick="PlaylistItemsCommand('removeselected')"><img width="20" src="images/removeselected.png"></span><td>
                </tr>
         </table>