From 748e50ade1b0c7034eddaadbe2285e5bf3a20fc6 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 31 Dec 2007 03:20:29 +0000 Subject: added ability to do add new on other elements of song edit (Thx picasso) added export catalog to csv --- templates/show_edit_song_row.inc.php | 10 +++++++--- templates/show_export.inc.php | 25 +++++++++++++++++-------- templates/sidebar_admin.inc.php | 2 +- 3 files changed, 25 insertions(+), 12 deletions(-) (limited to 'templates') diff --git a/templates/show_edit_song_row.inc.php b/templates/show_edit_song_row.inc.php index dcd41750..cbab7739 100644 --- a/templates/show_edit_song_row.inc.php +++ b/templates/show_edit_song_row.inc.php @@ -26,15 +26,19 @@ - artist); ?> + artist,true,$song->id); ?> +
+id,'change','check_inline_song_edit("artist", '.$song->id.')'); ?> album,true,$song->id); ?>
-id,'change','checkAlbum('.$song->id.')'); ?> +id,'change','check_inline_song_edit("album", '.$song->id.')'); ?> - genre); ?> + genre,'',true,$song->id); ?> +
+id,'change','check_inline_song_edit("genre", '.$song->id.')'); ?> diff --git a/templates/show_export.inc.php b/templates/show_export.inc.php index eece02f2..16ffc716 100644 --- a/templates/show_export.inc.php +++ b/templates/show_export.inc.php @@ -19,20 +19,28 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +$name = 'export_' . $_REQUEST['export_format']; +${$name} = ' selected="selected"'; +$name = 'catalog_' . $_REQUEST['export_catalog']; +${$name} = ' selected="selected"'; + show_box_top(_('Export Catalog')); ?>
- +
diff --git a/templates/sidebar_admin.inc.php b/templates/sidebar_admin.inc.php index 0f0411ab..9ad1154e 100644 --- a/templates/sidebar_admin.inc.php +++ b/templates/sidebar_admin.inc.php @@ -24,8 +24,8 @@
  • +
  • -
  • -- cgit
    : - + id; + ?> - + @@ -42,8 +50,9 @@ show_box_top(_('Export Catalog')); ?>
    : - + +