summaryrefslogtreecommitdiffstats
path: root/templates/show_edit_artist.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-21 19:32:25 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-21 19:32:25 +0000
commite540814435a7b825ef585bdcbf0b79f3f5f47e99 (patch)
tree823e8b7b5b9443dee06f11b30006c94f8ae7de36 /templates/show_edit_artist.inc.php
parent2493e8eb48c48eeda11095406fdc22004053271a (diff)
downloadampache-e540814435a7b825ef585bdcbf0b79f3f5f47e99.tar.gz
ampache-e540814435a7b825ef585bdcbf0b79f3f5f47e99.tar.bz2
ampache-e540814435a7b825ef585bdcbf0b79f3f5f47e99.zip
added ability to edit artists and albums and flag all songs under them for re-taging
Diffstat (limited to 'templates/show_edit_artist.inc.php')
-rw-r--r--templates/show_edit_artist.inc.php46
1 files changed, 46 insertions, 0 deletions
diff --git a/templates/show_edit_artist.inc.php b/templates/show_edit_artist.inc.php
new file mode 100644
index 00000000..f3f5119a
--- /dev/null
+++ b/templates/show_edit_artist.inc.php
@@ -0,0 +1,46 @@
+<?php
+/*
+
+ Copyright (c) 2001 - 2006 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 v2
+ as published by the Free Software Foundation.
+
+ 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.
+
+*/
+?>
+
+<?php show_box_top(_('Edit Artist')); ?>
+<form name="edit_artist" method="post" enctype="multipart/form-data" action="<?php echo conf('web_path'); ?>/admin/flag.php?action=edit_artist">
+<table class="tabledata">
+<tr class="<?php echo flip_class(); ?>">
+ <td><?php echo _('Name'); ?></td>
+ <td>
+ <input type="textbox" name="name" value="<?php echo scrub_out($artist->name); ?>">
+ </td>
+</tr>
+<tr class="<?php echo flip_class(); ?>">
+ <td>&nbsp;</td>
+ <td>
+ <input type="checkbox" name="flag" value="1" checked="checked" /> <?php echo _('Flag for Retagging'); ?>
+ </td>
+</tr>
+<tr class="<?php echo flip_class(); ?>">
+ <td colspan="2">
+ <input type="hidden" name="artist_id" value="<?php echo $artist->id; ?>" />
+ <input type="submit" value="<?php echo _('Update Album'); ?>" />
+ </td>
+</tr>
+</table>
+</form>
+<?php show_box_bottom(); ?>