diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-29 21:42:42 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-29 21:42:42 +0000 |
commit | 3fa94f564493d930f5049526e18d35c1213ba9ca (patch) | |
tree | 6c6dfe75bd3ade082cc9d69be457b281e4248c89 /templates/show_edit_artist_row.inc.php | |
parent | e46b19547e7d16999b05577ec64631cc12796355 (diff) | |
download | ampache-3fa94f564493d930f5049526e18d35c1213ba9ca.tar.gz ampache-3fa94f564493d930f5049526e18d35c1213ba9ca.tar.bz2 ampache-3fa94f564493d930f5049526e18d35c1213ba9ca.zip |
fixed a few more warnings, fixed artist editing and improved album editing a little (so it cleans up after its self)
Diffstat (limited to 'templates/show_edit_artist_row.inc.php')
-rw-r--r-- | templates/show_edit_artist_row.inc.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/show_edit_artist_row.inc.php b/templates/show_edit_artist_row.inc.php new file mode 100644 index 00000000..a3fef3f1 --- /dev/null +++ b/templates/show_edit_artist_row.inc.php @@ -0,0 +1,36 @@ +<?php +/* + + Copyright (c) 2001 - 2007 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. + +*/ +?> +<td colspan="5"> +<form method="post" id="edit_artist_<?php echo $artist->id; ?>"> +<table border="0" cellpadding="3" cellspacing="0"> +<tr> +<td> + <input type="textbox" name="name" value="<?php echo scrub_out($artist->f_name); ?>" /> +</td> +<td> + <input type="hidden" name="id" value="<?php echo $artist->id; ?>" /> + <input type="hidden" name="type" value="artist" /> + <?php echo Ajax::button('?action=edit_object&id=' . $album->id . '&type=artist','download',_('Save Changes'),'save_artist_' . $artist->id,'edit_artist_' . $artist->id); ?> +</tr> +</table> +</form> +</td> |