summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-06 20:17:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-06 20:17:21 +0000
commit22beb1a65d65c9c61fb5d7e181df681fb1a8849e (patch)
treefcc595461f72ca424bbe2cea557b574849c1c997 /templates
parent1d12186dba5259dfcf2d0306bb3e34d84dda5304 (diff)
downloadampache-22beb1a65d65c9c61fb5d7e181df681fb1a8849e.tar.gz
ampache-22beb1a65d65c9c61fb5d7e181df681fb1a8849e.tar.bz2
ampache-22beb1a65d65c9c61fb5d7e181df681fb1a8849e.zip
added paging to genre sub views, and added missing fields to the song single view
Diffstat (limited to 'templates')
-rw-r--r--templates/show_edit_access.inc.php4
-rw-r--r--templates/show_song.inc.php22
2 files changed, 24 insertions, 2 deletions
diff --git a/templates/show_edit_access.inc.php b/templates/show_edit_access.inc.php
index 4e9bf68a..676a8570 100644
--- a/templates/show_edit_access.inc.php
+++ b/templates/show_edit_access.inc.php
@@ -34,7 +34,7 @@
<option value="stream"<?php echo $sl_stream; ?>><?php echo _('Stream Access'); ?></option>
<option value="interface"<?php echo $sl_interface; ?>><?php echo _('Web Interface'); ?></option>
<option value="network"<?php echo $sl_network; ?>><?php echo _('Local Network Definition'); ?></option>
- <option value="xml-rpc"<?php echo $sl_xml-rpc; ?>><?php echo _('XML-RPC'); ?></option>
+ <option value="rpc"<?php echo $sl_rpc; ?>><?php echo _('RPC'); ?></option>
</select>
</td>
@@ -57,7 +57,7 @@
<?php show_user_select('user',$access->user); ?>
</td>
</tr>
-<?php if ($access->type == 'xml-rpc') { ?>
+<?php if ($access->type == 'rpc') { ?>
<tr>
<td><?php echo _('Remote Key'); ?></td>
<td>
diff --git a/templates/show_song.inc.php b/templates/show_song.inc.php
index 9f7b19e5..d9180d0b 100644
--- a/templates/show_song.inc.php
+++ b/templates/show_song.inc.php
@@ -38,13 +38,35 @@
<td><?php echo $song->f_genre_link; ?></td>
</tr>
<tr>
+ <td><?php echo _('Length'); ?></td>
+ <td><?php echo scrub_out($song->f_time); ?></td>
+</tr>
+<tr>
+ <td><?php echo _('Comment'); ?></td>
+ <td><?php echo scrub_out($song->comment); ?></td>
+</tr>
+<tr>
+ <td><?php echo _('Label'); ?></td>
+ <td><?php echo scrub_out($song->label); ?></td>
+</tr>
+<tr>
+ <td><?php echo _('Language'); ?></td>
+ <td><?php echo scrub_out($song->language); ?></td>
+</tr>
+<tr>
+ <td><?php echo _('Catalog Number'); ?></td>
+ <td><?php echo scrub_out($song->catalog_number); ?></td>
+</tr>
+<tr>
<td><?php echo _('Bitrate'); ?></td>
<td><?php echo scrub_out($song->f_bitrate); ?></td>
</tr>
+<?php if ($GLOBALS['user']->has_access('75')) { ?>
<tr>
<td><?php echo _('Filename'); ?></td>
<td><?php echo scrub_out($song->file); ?> (<?php echo $song->f_size; ?>MB)</td>
</tr>
+<?php } ?>
<?php if ($song->update_time) { ?>
<tr>
<td><?php echo _('Last Updated'); ?></td>