summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/list_duplicates.inc3
-rw-r--r--templates/show_add_catalog.inc.php6
-rw-r--r--templates/show_edit_catalog.inc.php (renamed from templates/customize_catalog.inc)23
3 files changed, 16 insertions, 16 deletions
diff --git a/templates/list_duplicates.inc b/templates/list_duplicates.inc
index f694c332..54617c92 100644
--- a/templates/list_duplicates.inc
+++ b/templates/list_duplicates.inc
@@ -25,8 +25,8 @@
$web_path = conf('web_path');
show_duplicate_searchbox($search_type);
if ($flags) { ?>
+ <?php show_box_top(_('Duplicate Songs')); ?>
<form method="post" enctype="multipart/form-data" action="<?php echo $web_path . "/admin/song.php?action=disable"; ?>">
- <p class="header1"><?php echo _('Duplicate Songs'); ?></p>
<table class="tabledata" cellspacing="0" cellpadding="0" >
<tr class="table-header">
<td><?php echo _('Disable'); ?></td>
@@ -66,6 +66,7 @@ if ($flags) { ?>
</tr>
</table>
</form>
+ <?php show_box_bottom(); ?>
<?php } else { ?>
<p><?php _('You don\'t have any duplicate songs.'); ?></p>
<?php } // end if ($flags) and else ?>
diff --git a/templates/show_add_catalog.inc.php b/templates/show_add_catalog.inc.php
index bdd7c97a..2bf02283 100644
--- a/templates/show_add_catalog.inc.php
+++ b/templates/show_add_catalog.inc.php
@@ -20,7 +20,6 @@
*/
-$default_id3 = "/usr/bin/id3v2 -a &quot;%a&quot; -A &quot;%A&quot; -t &quot;%t&quot; -g %g -y %y -T %T -c &quot;%c&quot; %filename";
$default_rename = "%a - %T - %t";
$default_sort = "%a/%A";
@@ -61,7 +60,10 @@ $default_sort = "%a/%A";
</select>
</td>
</tr>
-
+<tr>
+ <td><?php echo _('XML-RPC Key'); ?>: </td>
+ <td><input size="30" type="text" name="key" value="" /><span class="error">*<?php echo _('Required for Remote Catalogs'); ?></span></td>
+</tr>
<tr>
<td><?php echo _("Filename Pattern"); ?>: </td>
<td><input size="60" type="text" name="rename_pattern" value="<?php echo $default_rename; ?>" /></td>
diff --git a/templates/customize_catalog.inc b/templates/show_edit_catalog.inc.php
index 4bd09746..7a31de6a 100644
--- a/templates/customize_catalog.inc
+++ b/templates/show_edit_catalog.inc.php
@@ -20,14 +20,11 @@
*/
?>
-
-<br />
-<div class="header2"><?php echo _("Settings for catalog in"); echo $catalog->path; ?></div><br />
-<div class="text-box">
-<form method="get" action="<?php echo conf('web_path'); ?>/admin/catalog.php" enctype="multipart/form-data">
-<table class="tabledata" cellspacing="0" cellpadding="0" border="0">
+<?php show_box_top(_('Settings for') . ' ' . $catalog->name . ' (' . $catalog->path . ')'); ?>
+<form method="post" action="<?php echo conf('web_path'); ?>/admin/catalog.php" enctype="multipart/form-data">
+<table cellspacing="0" cellpadding="0" border="0">
<tr>
- <td><?php echo _("Name"); ?>:</td>
+ <td><?php echo _('Name'); ?>:</td>
<td><input size="60" type="text" name="name" value="<?php echo scrub_out($catalog->name); ?>"></input></td>
<td style="vertical-align:top; font-family: monospace;" rowspan="5">
<strong><?php echo _("Auto-inserted Fields"); ?>:</strong><br />
@@ -43,20 +40,20 @@
</td>
</tr>
<tr>
- <td><?php echo _("ID3 set command"); ?>:</td>
+ <td><?php echo _('XML-RPC Key'); ?>:</td>
<td>
- <input size="60" type="text" name="id3_set_command" value="<?php echo scrub_out($catalog->id3_set_command); ?>" />
+ <input size="30" type="text" name="key" value="<?php echo scrub_out($catalog->key); ?>" />*<span class="error">Required for Remote Catalogs</span>
</td>
</tr>
<tr>
- <td><?php echo _("Filename pattern"); ?>:</td>
+ <td><?php echo _('Filename pattern'); ?>:</td>
<td>
<input size="60" type="text" name="rename_pattern" value="<?php echo scrub_out($catalog->rename_pattern); ?>" />
</td>
</tr>
<tr>
<td>
- <?php echo _("Folder Pattern"); ?>:<br /><?php echo _("(no leading or ending '/')"); ?>
+ <?php echo _('Folder Pattern'); ?>:<br /><?php echo _('(no leading or ending \'/\')'); ?>
</td>
<td>
<input size="60" type="text" name="sort_pattern" value="<?php echo scrub_out($catalog->sort_pattern);?>" />
@@ -67,9 +64,9 @@
<td>
<input type="hidden" name="catalog_id" value="<?php echo $catalog->id; ?>" />
<input type="hidden" name="action" value="update_catalog_settings" />
- <input type="submit" value="<?php echo _("Save Catalog Settings"); ?>" />
+ <input type="submit" value="<?php echo _('Save Catalog Settings'); ?>" />
</td>
</tr>
</table>
</form>
-</div>
+<?php show_box_bottom(); ?>