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..28a6d3a6246b9e631dd2d619f28bf46e9f638133 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>
@@
-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>