summaryrefslogtreecommitdiffstats
path: root/templates/show_duplicates.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 04:15:11 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 04:15:11 +0000
commitedcf34c986d14fb6583eb29958bf88140cd97b5b (patch)
treedde8c48e1ca303426a87459057913fc030b66869 /templates/show_duplicates.inc.php
parent6b7284fab7f49f54f4d72db6c690bbea7f7b7af7 (diff)
downloadampache-edcf34c986d14fb6583eb29958bf88140cd97b5b.tar.gz
ampache-edcf34c986d14fb6583eb29958bf88140cd97b5b.tar.bz2
ampache-edcf34c986d14fb6583eb29958bf88140cd97b5b.zip
fixed up xmlrpc hopefully (needs testing) and fixed duplicates, cleaned up burgundy a little more
Diffstat (limited to 'templates/show_duplicates.inc.php')
-rw-r--r--templates/show_duplicates.inc.php61
1 files changed, 61 insertions, 0 deletions
diff --git a/templates/show_duplicates.inc.php b/templates/show_duplicates.inc.php
new file mode 100644
index 00000000..3dd839f8
--- /dev/null
+++ b/templates/show_duplicates.inc.php
@@ -0,0 +1,61 @@
+<?php
+/*
+
+ Copyright (c) 2001 - 2005 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
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ 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.
+
+*/
+
+$web_path = conf('web_path');
+?>
+<?php show_box_top(_('Find Duplicates')); ?>
+<form name="songs" action="<?php echo conf('web_path'); ?>/admin/duplicates.php" method="post" enctype="multipart/form-data" >
+<table cellspacing="0" cellpadding="3" border="0" width="450">
+ <tr>
+ <td valign="top"><?php echo _('Search Type'); ?>:</td>
+ <td>
+ <?php
+
+ if ($search_type=="title")
+ $checked = "checked=\"checked\"";
+ else
+ $checked = "";
+ echo "<input type=\"radio\" name=\"search_type\" value=\"title\" ".$checked." />" . _("Title") . "<br />";
+
+ if ($search_type=="artist_title")
+ $checked = "checked=\"checked\"";
+ else
+ $checked = "";
+ echo "<input type=\"radio\" name=\"search_type\" value=\"artist_title\" ".$checked." />" . _("Artist and Title") . "<br />";
+ if ($search_type=="artist_album_title"OR $search_type=="")
+ $checked = "checked=\"checked\"";
+ else
+ $checked = "";
+ echo "<input type=\"radio\" name=\"search_type\" value=\"artist_album_title\"".$checked." />" . _("Artist, Album and Title") . "<br />";
+ ?>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>
+ <input type="hidden" name="action" value="search" />
+ <input type="submit" value="<?php echo _('Search'); ?>" />
+ </td>
+ </tr>
+</table>
+</form>
+<?php show_box_bottom(); ?>