From ffac7359918b54193dab135d2ab7310271f5902b Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Wed, 4 Jan 2006 09:01:36 +0000 Subject: fixed a few more playlist functions... cleaned up some code... --- templates/add_catalog.inc | 3 ++- templates/admin_menu.inc | 55 ----------------------------------------- templates/catalog.inc | 15 +++++------ templates/customize_catalog.inc | 8 +++--- templates/header.inc | 2 +- templates/list_duplicates.inc | 42 ++++++++++++------------------- 6 files changed, 29 insertions(+), 96 deletions(-) delete mode 100644 templates/admin_menu.inc (limited to 'templates') diff --git a/templates/add_catalog.inc b/templates/add_catalog.inc index f0493269..5d156d99 100644 --- a/templates/add_catalog.inc +++ b/templates/add_catalog.inc @@ -1,7 +1,7 @@ "$web_path/admin/users.php", - _("Mail Users") => "$web_path/admin/mail.php", - _("Catalog") => "$web_path/admin/catalog.php", - _("Admin Preferences") => "$web_path/admin/preferences.php", - _("Access Lists") => "$web_path/admin/access.php" - ); - -?> - -
diff --git a/templates/catalog.inc b/templates/catalog.inc index 79030725..ab2fb3f3 100644 --- a/templates/catalog.inc +++ b/templates/catalog.inc @@ -1,7 +1,7 @@ -
Iconv for information on getting ICONV"); ?>
diff --git a/templates/customize_catalog.inc b/templates/customize_catalog.inc index 464149ad..a0813036 100644 --- a/templates/customize_catalog.inc +++ b/templates/customize_catalog.inc @@ -1,7 +1,7 @@ : - + : - + @@ -58,7 +58,7 @@ :
- + diff --git a/templates/header.inc b/templates/header.inc index d69cee63..91700508 100644 --- a/templates/header.inc +++ b/templates/header.inc @@ -1,7 +1,7 @@
"> -

Duplicate Songs

+

- - - - - - - - + + + + + + + + format_song(); - $class = (++$i%2)?'odd':'even'; $alt_title = $song->title; $formated_title = $song->f_title; @@ -59,11 +50,11 @@ $dinfolist = get_duplicate_info($song,$search_type); foreach ($dinfolist as $dinfo) { - echo "". + echo "". "". - "". - "". - "". + "". + "". + "". "". "". "". @@ -76,11 +67,10 @@ } ?> - +
DisableSongArtistAlbumLengthBitrateSizeFilename
id\">".htmlspecialchars($formated_title)." ".htmlspecialchars($dinfo['artist'])." ".htmlspecialchars($dinfo['album'])." id\">".scrub_out($formated_title)." ".scrub_out($dinfo['artist'])." ".scrub_out($dinfo['album'])." ".floor($dinfo['time']/60).":".sprintf("%02d", ($dinfo['time']%60) )."".intval($dinfo['bitrate']/1000)."".sprintf("%.2f", ($dinfo['size']/1000000))."Mb
- -

You don't have any duplicate songs.

+

-- cgit