summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-18 02:39:13 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-18 02:39:13 +0000
commit1ce04520cdadbc03726da96608a8b5bbb20ee95a (patch)
tree94b67496c3bbb595ac7df06a32f0404f3e39d475 /templates
parent492a04db28731df4e9c1b80735397b9c61410b08 (diff)
downloadampache-1ce04520cdadbc03726da96608a8b5bbb20ee95a.tar.gz
ampache-1ce04520cdadbc03726da96608a8b5bbb20ee95a.tar.bz2
ampache-1ce04520cdadbc03726da96608a8b5bbb20ee95a.zip
file!
Diffstat (limited to 'templates')
-rw-r--r--templates/show_rename_artist.php.inc61
1 files changed, 61 insertions, 0 deletions
diff --git a/templates/show_rename_artist.php.inc b/templates/show_rename_artist.php.inc
new file mode 100644
index 00000000..cc99ec96
--- /dev/null
+++ b/templates/show_rename_artist.php.inc
@@ -0,0 +1,61 @@
+<?php
+/*
+
+ Copyright (c) 2004 Ampache.org
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+?>
+<script language='javascript'>
+ function insert () {
+ document.getElementById('artist_name').value = '<?php echo $artist->name; ?>';
+ }
+</script>
+
+<form name="rename_artist" method="post" action="<?php echo conf('web_path'); ?>/artists.php?action=rename&amp;artist=<?php echo $artist->id; ?>">
+<table class="text-box">
+<tr class="table-header">
+ <th colspan="3">
+ <?php echo _("Renaming") . " " . $artist->name; ?>
+ </th>
+</tr>
+<tr class="odd">
+ <td>
+ <?php echo _("New name"); ?>
+ </td>
+ <td>
+ <?php show_artist_pulldown($artist->id,"artist_id",4); ?>
+ <br />
+ <?php echo _("OR"); ?><br />
+ <input type="text" name="artist_name" size="30" value=<?php echo scrub_out($_REQUEST['artist_name']); ?>" id="artist_name" />
+ <a href="javascript:insert()"><?php echo _("Insert current"); ?></a>
+ <?php $GLOBALS['error']->print_error('artist_name'); ?>
+ </td>
+</tr>
+<tr class="even">
+ <td>&nbsp;</td>
+ <td><input type="checkbox" name="update_id3" value="1" />&nbsp; <?php echo _("Update id3 tags"); ?></td>
+ <td>&nbsp;</td>
+</tr>
+<tr class="odd">
+ <td>&nbsp;</td>
+ <td colspan="2">
+ <input type="submit" value="<?php echo _("Rename"); ?>" />
+ </td>
+</tr>
+</table>
+</form>