Вычищение старых конструкций PHP + многочисленная доводка по мелочи.
[mpd-web.git] / view / default / tmpl / playlistmenu.php
index bc0f8f06bd2f7e137a577c96ec63b2c1289abe26..fdf21572ff73fa0e91115906b8688666036a78ef 100644 (file)
@@ -2,7 +2,9 @@
         <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('Clear current playlist, are you sure?') ? 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>