projects
/
mpd-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Загрузка плейлистов.
[mpd-web.git]
/
ajax
/
editplaylist.php
diff --git
a/ajax/editplaylist.php
b/ajax/editplaylist.php
index b7e8bf44ae65b46534c0e5828535a5dbff57c9c9..a4764c9be23b4cb60e7e0d9d13ef4ea7cc8a4ec3 100644
(file)
--- a/
ajax/editplaylist.php
+++ b/
ajax/editplaylist.php
@@
-18,7
+18,7
@@
$dir = $_REQUEST['dir'];
<table>
<tr>
<td><span class="button" onclick="RefreshPlaylist()"><img width="20" src="images/playlist.png"></span><td>
<table>
<tr>
<td><span class="button" onclick="RefreshPlaylist()"><img width="20" src="images/playlist.png"></span><td>
- <td><span class="button" onclick="
PlaylistEditCommand('addall','<?php echo escapePhpString($dir);?>')
" ><img width="20" src="images/addall.png"></span><td>
+ <td><span class="button" onclick="
return confirm('Добавить все. Вы уверены?') ? PlaylistEditCommand('addall','<?php echo escapePhpString($dir);?>') : false;
" ><img width="20" src="images/addall.png"></span><td>
<td><span class="button" onclick="PlaylistEditItemsCommand('addselected','<?php echo escapePhpString($dir);?>')"><img width="20" src="images/addselected.png"></span><td>
</tr>
</table>
<td><span class="button" onclick="PlaylistEditItemsCommand('addselected','<?php echo escapePhpString($dir);?>')"><img width="20" src="images/addselected.png"></span><td>
</tr>
</table>
@@
-26,7
+26,7
@@
$dir = $_REQUEST['dir'];
<div id="items">
<table>
<tr id="items_heading">
<div id="items">
<table>
<tr id="items_heading">
- <td></td><td>
Title</td><th colspan="2">Control
</th>
+ <td></td><td>
Название</td><th colspan="2">Управление
</th>
</tr>
<?php
$dirs=$mpd->GetDir($dir);
</tr>
<?php
$dirs=$mpd->GetDir($dir);
@@
-65,7
+65,7
@@
$dir = $_REQUEST['dir'];
<table>
<tr>
<td><span class="button" onclick="RefreshPlaylist()"><img width="20" src="images/playlist.png"></span><td>
<table>
<tr>
<td><span class="button" onclick="RefreshPlaylist()"><img width="20" src="images/playlist.png"></span><td>
- <td><span class="button" onclick="
PlaylistEditCommand('addall','<?php echo escapePhpString($dir);?>')
" ><img width="20" src="images/addall.png"></span><td>
+ <td><span class="button" onclick="
return confirm('Добавить все. Вы уверены?') ? PlaylistEditCommand('addall','<?php echo escapePhpString($dir);?>') : false;
" ><img width="20" src="images/addall.png"></span><td>
<td><span class="button" onclick="PlaylistEditItemsCommand('addselected','<?php echo escapePhpString($dir);?>')"><img width="20" src="images/addselected.png"></span><td>
</tr>
</table>
<td><span class="button" onclick="PlaylistEditItemsCommand('addselected','<?php echo escapePhpString($dir);?>')"><img width="20" src="images/addselected.png"></span><td>
</tr>
</table>