~ubuntu-branches/debian/sid/ampache/sid

« back to all changes in this revision

Viewing changes to templates/show_edit_playlist_song_row.inc.php

  • Committer: Package Import Robot
  • Author(s): Charlie Smotherman
  • Date: 2013-08-27 13:19:48 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20130827131948-1czew0zxn6u70dtv
Tags: 3.6-rzb2752+dfsg-1
* New upsteam snapshot.  Contains important bug fixes to the installer.
* Correct typo in ampache-common.postrm.
* Remove courtousy copy of php-getid3, during repack.  Closes: #701526
* Update package to use dh_linktree to make the needed sym links to the
  needed system libs that were removed during repack.
* Update debian/rules to reflect upstreams removing/moving of modules.
* Update debian/ampache-common.install to reflect upstreams removal of files.
* Updated to use new apache2.4 API. Closes: #669756
* Updated /debian/po/de.po thx David Prévot for the patch.  Closes:  #691963
* M3U import is now ordered, fixed upstream.  Closes: #684984
* Text input area has been resized so IPv6 addresses will now fit, fixed
  upstream.  Closes:  #716230
* Added ampache-common.preinst to make sure that the courtousy copies of code
  dirs are empty so dh_linktree can do it's magic on upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
 
2
/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
3
3
/**
4
 
 * Show Edit Playlist Song Row
5
 
 *
6
4
 *
7
5
 * LICENSE: GNU General Public License, version 2 (GPLv2)
8
 
 * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
 
6
 * Copyright 2001 - 2013 Ampache.org
9
7
 *
10
8
 * This program is free software; you can redistribute it and/or
11
9
 * modify it under the terms of the GNU General Public License v2
20
18
 * along with this program; if not, write to the Free Software
21
19
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
20
 *
23
 
 * @package     Ampache
24
 
 * @copyright   2001 - 2011 Ampache.org
25
 
 * @license     http://opensource.org/licenses/gpl-2.0 GPLv2
26
 
 * @link        http://www.ampache.org/
27
21
 */
28
 
 
29
22
?>
30
23
<td colspan="9">
31
24
<form method="post" id="edit_track_<?php echo $track['id']; ?>" action="javascript:void(0);">
32
25
<table class="inline-edit" cellpadding="3" cellspacing="0">
33
26
<tr>
34
27
<td>
35
 
        <input type="text" name="track" size="3" maxlength="4" value="<?php echo intval($track['track']); ?>" />
 
28
    <input type="text" name="track" size="3" maxlength="4" value="<?php echo intval($track['track']); ?>" />
36
29
</td>
37
30
<td class="cel_song"><?php echo $song->f_link; ?></td>
38
31
<td class="cel_artist"><?php echo $song->f_artist_link; ?></td>
41
34
<td class="cel_track"><?php echo $song->f_track; ?></td>
42
35
<td class="cel_time"><?php echo $song->f_time; ?></td>
43
36
<td>
44
 
        <input type="hidden" name="id" value="<?php echo $song->id; ?>" />
45
 
        <input type="hidden" name="type" value="song" />
46
 
        <?php echo Ajax::button('?page=playlist&action=save_track&playlist_id=' . $playlist->id . '&track_id=' . $track['id'],'download', T_('Save Changes'),'save_track_' . $track['id'],'edit_track_' . $track['id']); ?>
 
37
    <input type="hidden" name="id" value="<?php echo $song->id; ?>" />
 
38
    <input type="hidden" name="type" value="song" />
 
39
    <?php echo Ajax::button('?page=playlist&action=save_track&playlist_id=' . $playlist->id . '&track_id=' . $track['id'],'download', T_('Save Changes'),'save_track_' . $track['id'],'edit_track_' . $track['id']); ?>
47
40
</td>
48
41
</tr>
49
42
</table>