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_artists.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_artists.inc.php')
-rw-r--r-- | templates/show_artists.inc.php | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php index 1bb92cb7..e1c7b270 100644 --- a/templates/show_artists.inc.php +++ b/templates/show_artists.inc.php @@ -41,31 +41,9 @@ foreach ($object_ids as $artist_id) { $artist = new Artist($artist_id); $artist->format(); ?> - <tr class="<?php echo flip_class(); ?>"> - <td> - <span onclick="ajaxPut('<?php echo Config::get('ajax_url'); ?>?action=basket&type=artist&id=<?php echo $artist->id; ?>');return true;" > - <?php echo get_user_icon('add'); ?> - </span> - <span onclick="ajaxPut('<?php echo Config::get('ajax_url'); ?>?action=basket&type=artist_random&id=<?php echo $artist->id; ?>');return true;" > - <?php echo get_user_icon('random'); ?> - </span> - </td> - <td><?php echo $artist->f_name_link; ?></td> - <td><?php echo $artist->songs; ?></td> - <td><?php echo $artist->albums; ?></td> - <td nowrap="nowrap"> - <?php if (Access::check_function('batch_download')) { ?> - <a href="<?php echo Config::get('web_path'); ?>/batch.php?action=artist&id=<?php echo $artist->id; ?>"> - <?php echo get_user_icon('batch_download','',_('Batch Download')); ?> - </a> - <?php } ?> - <?php if ($GLOBALS['user']->has_access(100)) { ?> - <a href="<?php echo $web_path; ?>/admin/flag.php?action=show_edit_artist&artist_id=<?php echo $artist->id; ?>"> - <?php echo get_user_icon('edit'); ?> - </a> - <?php } ?> - </td> - </tr> +<tr id="artist_<?php echo $artist->id; ?>" class="<?php echo flip_class(); ?>"> + <?php require Config::get('prefix') . '/templates/show_artist_row.inc.php'; ?> +</tr> <?php } //end foreach ($artists as $artist) ?> <tr class="table-header"> <td><?php echo _('Add'); ?> |