summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show_edit_album.inc.php17
-rw-r--r--templates/show_songs.inc4
-rw-r--r--templates/show_users.inc4
3 files changed, 21 insertions, 4 deletions
diff --git a/templates/show_edit_album.inc.php b/templates/show_edit_album.inc.php
index 6b6c42fa..141288b8 100644
--- a/templates/show_edit_album.inc.php
+++ b/templates/show_edit_album.inc.php
@@ -24,8 +24,25 @@
<form name="edit_album" method="post" enctype="multipart/form-data" action="<?php echo conf('web_path'); ?>/admin/flag.php?action=edit_album">
<table class="tabledata">
<tr class="<?php echo flip_class(); ?>">
+ <td><?php echo _('Name'); ?></td>
+ <td>
+ <input type="textbox" name="name" value="<?php echo scrub_out($album->artist); ?>">
+ </td>
+</tr>
+<tr class="<?php echo flip_class(); ?>">
+ <td><?php echo _('Year'); ?></td>
+ <td>
+ <input type="textbox" name="year" value="<?php echo scrub_out($album->year); ?>">
+ </td>
+</tr>
+<tr class="<?php echo flip_class(); ?>">
<td>&nbsp;</td>
<td>
+ <input type="checkbox" name="flag" value="1" checked="checked" /> <?php echo _('Flag for Retagging'); ?>
+ </td>
+</tr>
+<tr class="<?php echo flip_class(); ?>">
+ <td colspan="2">
<input type="hidden" name="album_id" value="<?php echo $album->id; ?>" />
<input type="submit" value="<?php echo _('Update Album'); ?>" />
</td>
diff --git a/templates/show_songs.inc b/templates/show_songs.inc
index 0fa0569c..8e3c0247 100644
--- a/templates/show_songs.inc
+++ b/templates/show_songs.inc
@@ -138,11 +138,11 @@ foreach ($song_ids as $song_id) {
</a> |
<?php if ($song->enabled) { ?>
<a href="<?php echo $web_path; ?>/admin/flag.php?action=disable&amp;song_ids=<?php echo $song->id; ?>">
- <?php echo get_user_icon('enable','disable_hover'); ?>
+ <?php echo get_user_icon('disable'); ?>
</a>
<?php } else { ?>
<a href="<?php echo $web_path; ?>/admin/flag.php?action=enabled&amp;song_ids=<?php echo $song->id; ?>">
- <?php echo get_user_icon('disable','enable_hover'); ?>
+ <?php echo get_user_icon('enable'); ?>
</a>
<?php } //status ?>
<?php } //access ?>
diff --git a/templates/show_users.inc b/templates/show_users.inc
index 48eb11a3..6b7d3e14 100644
--- a/templates/show_users.inc
+++ b/templates/show_users.inc
@@ -116,10 +116,10 @@ while ($results = mysql_fetch_object($db_result)) {
<?php
//FIXME: Fix this for the extra permission levels
if ($user->disabled == '1') {
- echo "<td><a href=\"".$web_path."/admin/users.php?action=update&amp;user=$user->username&amp;level=enabled\">" . get_user_icon('disable','enable_hover') . "</a></td>";
+ echo "<td><a href=\"".$web_path."/admin/users.php?action=update&amp;user=$user->username&amp;level=enabled\">" . get_user_icon('enable') . "</a></td>";
}
else {
- echo "<td><a href=\"".$web_path."/admin/users.php?action=update&amp;user=$user->username&amp;level=disabled\">" . get_user_icon('enable','disable_hover') ."</a></td>";
+ echo "<td><a href=\"".$web_path."/admin/users.php?action=update&amp;user=$user->username&amp;level=disabled\">" . get_user_icon('disable') ."</a></td>";
}
?>
<td>