summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-06 06:05:32 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-06 06:05:32 +0000
commitb3dcd437cb507774753659faa113d499e107e201 (patch)
treefaaaf999315b575f063c0564ea4d6d5aebb9ea5e /templates
parentf7cfd87117fbd41911bb6823aec8ea3ffdd72350 (diff)
downloadampache-b3dcd437cb507774753659faa113d499e107e201.tar.gz
ampache-b3dcd437cb507774753659faa113d499e107e201.tar.bz2
ampache-b3dcd437cb507774753659faa113d499e107e201.zip
fixed lack of prefix on albums improves album art search results, thx darkside
Diffstat (limited to 'templates')
-rw-r--r--templates/show_edit_album.inc.php2
-rw-r--r--templates/show_edit_album_row.inc.php2
-rw-r--r--templates/show_random_albums.inc.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_edit_album.inc.php b/templates/show_edit_album.inc.php
index ca657672..e8f30373 100644
--- a/templates/show_edit_album.inc.php
+++ b/templates/show_edit_album.inc.php
@@ -26,7 +26,7 @@
<tr class="<?php echo flip_class(); ?>">
<td><?php echo _('Name'); ?></td>
<td>
- <input type="textbox" name="name" value="<?php echo scrub_out($album->name); ?>">
+ <input type="textbox" name="name" value="<?php echo scrub_out($album->full_name); ?>">
</td>
</tr>
<tr class="<?php echo flip_class(); ?>">
diff --git a/templates/show_edit_album_row.inc.php b/templates/show_edit_album_row.inc.php
index 341048c3..0e19c080 100644
--- a/templates/show_edit_album_row.inc.php
+++ b/templates/show_edit_album_row.inc.php
@@ -24,7 +24,7 @@
<table cellpadding="3" cellspacing="0">
<tr>
<td>
- <input type="textbox" name="name" value="<?php echo scrub_out($album->name); ?>" />
+ <input type="textbox" name="name" value="<?php echo scrub_out($album->full_name); ?>" />
</td>
<td>
<?php
diff --git a/templates/show_random_albums.inc.php b/templates/show_random_albums.inc.php
index 99d49bff..1c947fb7 100644
--- a/templates/show_random_albums.inc.php
+++ b/templates/show_random_albums.inc.php
@@ -26,7 +26,7 @@ $web_path = Config::get('web_path');
foreach ($albums as $album_id) {
$album = new Album($album_id);
$album->format();
- $name = scrub_out('[' . $album->f_artist . '] ' . $album->name);
+ $name = scrub_out('[' . $album->f_artist . '] ' . $album->full_name);
?>
<div class="random_album">
<a href="<?php echo $web_path; ?>/albums.php?action=show&amp;album=<?php echo $album_id; ?>">