mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 03:49:56 +02:00
- hardcoded disk# sort order when sort is set to album name
- removed pager from browse table - added footer to browse tables - updated browse files for better customization - modified css
This commit is contained in:
parent
4b58b3e218
commit
15c56f21f2
13 changed files with 189 additions and 130 deletions
|
@ -428,7 +428,7 @@ class Browse {
|
||||||
case 'album':
|
case 'album':
|
||||||
switch($field) {
|
switch($field) {
|
||||||
case 'name':
|
case 'name':
|
||||||
$sql = "`album`.`name`";
|
$sql = "`album`.`name`, `album`.`disk`";
|
||||||
break;
|
break;
|
||||||
case 'year':
|
case 'year':
|
||||||
$sql = "`album`.`year`";
|
$sql = "`album`.`year`";
|
||||||
|
@ -503,44 +503,45 @@ class Browse {
|
||||||
// Format any matches we have so we can show them to the masses
|
// Format any matches we have so we can show them to the masses
|
||||||
$match = $_SESSION['browse']['filter']['alpha_match'] ? ' (' . $_SESSION['browse']['filter']['alpha_match'] . ')' : '';
|
$match = $_SESSION['browse']['filter']['alpha_match'] ? ' (' . $_SESSION['browse']['filter']['alpha_match'] . ')' : '';
|
||||||
|
|
||||||
|
$class = "box browse_".$_SESSION['browse']['type'];
|
||||||
switch ($_SESSION['browse']['type']) {
|
switch ($_SESSION['browse']['type']) {
|
||||||
case 'song':
|
case 'song':
|
||||||
show_box_top(_('Songs') . $match);
|
show_box_top(_('Songs') . $match, $class);
|
||||||
require_once Config::get('prefix') . '/templates/show_songs.inc.php';
|
require_once Config::get('prefix') . '/templates/show_songs.inc.php';
|
||||||
show_box_bottom();
|
show_box_bottom();
|
||||||
break;
|
break;
|
||||||
case 'album':
|
case 'album':
|
||||||
show_box_top(_('Albums') . $match);
|
show_box_top(_('Albums') . $match, $class);
|
||||||
require_once Config::get('prefix') . '/templates/show_albums.inc.php';
|
require_once Config::get('prefix') . '/templates/show_albums.inc.php';
|
||||||
show_box_bottom();
|
show_box_bottom();
|
||||||
break;
|
break;
|
||||||
case 'genre':
|
case 'genre':
|
||||||
show_box_top(_('Genres') . $match);
|
show_box_top(_('Genres') . $match, $class);
|
||||||
require_once Config::get('prefix') . '/templates/show_genres.inc.php';
|
require_once Config::get('prefix') . '/templates/show_genres.inc.php';
|
||||||
show_box_bottom();
|
show_box_bottom();
|
||||||
break;
|
break;
|
||||||
case 'user':
|
case 'user':
|
||||||
show_box_top(_('Manage Users') . $match);
|
show_box_top(_('Manage Users') . $match, $class);
|
||||||
require_once Config::get('prefix') . '/templates/show_users.inc.php';
|
require_once Config::get('prefix') . '/templates/show_users.inc.php';
|
||||||
show_box_bottom();
|
show_box_bottom();
|
||||||
break;
|
break;
|
||||||
case 'artist':
|
case 'artist':
|
||||||
show_box_top(_('Artists') . $match);
|
show_box_top(_('Artists') . $match, $class);
|
||||||
require_once Config::get('prefix') . '/templates/show_artists.inc.php';
|
require_once Config::get('prefix') . '/templates/show_artists.inc.php';
|
||||||
show_box_bottom();
|
show_box_bottom();
|
||||||
break;
|
break;
|
||||||
case 'live_stream':
|
case 'live_stream':
|
||||||
show_box_top(_('Radion Stations') . $match);
|
show_box_top(_('Radion Stations') . $match, $class);
|
||||||
require_once Config::get('prefix') . '/templates/show_live_streams.inc.php';
|
require_once Config::get('prefix') . '/templates/show_live_streams.inc.php';
|
||||||
show_box_bottom();
|
show_box_bottom();
|
||||||
break;
|
break;
|
||||||
case 'playlist':
|
case 'playlist':
|
||||||
show_box_top(_('Playlists') . $match);
|
show_box_top(_('Playlists') . $match, $class);
|
||||||
require_once Config::get('prefix') . '/templates/show_playlists.inc.php';
|
require_once Config::get('prefix') . '/templates/show_playlists.inc.php';
|
||||||
show_box_bottom();
|
show_box_bottom();
|
||||||
break;
|
break;
|
||||||
case 'catalog':
|
case 'catalog':
|
||||||
show_box_top(_('Catalogs'));
|
show_box_top(_('Catalogs'), $class);
|
||||||
require_once Config::get('prefix') . '/templates/show_catalogs.inc.php';
|
require_once Config::get('prefix') . '/templates/show_catalogs.inc.php';
|
||||||
show_box_bottom();
|
show_box_bottom();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -24,10 +24,11 @@
|
||||||
<?php echo Ajax::button('?action=basket&type=album_random&id=' . $album->id,'random',_('Random'),'random_album_' . $album->id); ?>
|
<?php echo Ajax::button('?action=basket&type=album_random&id=' . $album->id,'random',_('Random'),'random_album_' . $album->id); ?>
|
||||||
</td>
|
</td>
|
||||||
<?php if (Browse::get_filter('show_art')) { ?>
|
<?php if (Browse::get_filter('show_art')) { ?>
|
||||||
<td height="87">
|
<td class="br_td_cover">
|
||||||
<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=show&album=<?php echo $album->id; ?>">
|
<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=show&album=<?php echo $album->id; ?>">
|
||||||
<img height="75" width="75" src="<?php echo Config::get('web_path'); ?>/image.php?id=<?php echo $album->id; ?>&thumb=1&sid=<?php echo session_id(); ?>"
|
<img height="75" width="75" src="<?php echo Config::get('web_path'); ?>/image.php?id=<?php echo $album->id; ?>&thumb=1&sid=<?php echo session_id(); ?>" />
|
||||||
</a>
|
</a>
|
||||||
|
</td>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<td><?php echo $album->f_name_link; ?></td>
|
<td><?php echo $album->f_name_link; ?></td>
|
||||||
<td><?php echo $album->f_artist_link; ?></td>
|
<td><?php echo $album->f_artist_link; ?></td>
|
||||||
|
|
|
@ -21,13 +21,18 @@
|
||||||
$web_path = Config::get('web_path');
|
$web_path = Config::get('web_path');
|
||||||
$ajax_url = Config::get('ajax_url');
|
$ajax_url = Config::get('ajax_url');
|
||||||
?>
|
?>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
<table class="tabledata" cellspacing="0" cellpadding="0">
|
<table class="tabledata" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<colgroup>
|
||||||
<td colspan="7">
|
<col id="br_add" />
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
<col id="br_cover" />
|
||||||
</td>
|
<col id="br_album" />
|
||||||
</tr>
|
<col id="br_artist" />
|
||||||
<tr class="table-header">
|
<col id="br_songs" />
|
||||||
|
<col id="br_year" />
|
||||||
|
<col id="br_action" />
|
||||||
|
</colgroup>
|
||||||
|
<tr class="table-header th-top">
|
||||||
<th><?php echo _('Add'); ?></th>
|
<th><?php echo _('Add'); ?></th>
|
||||||
<?php if (Browse::get_filter('show_art')) { ?>
|
<?php if (Browse::get_filter('show_art')) { ?>
|
||||||
<th><?php echo _('Cover'); ?></th>
|
<th><?php echo _('Cover'); ?></th>
|
||||||
|
@ -48,9 +53,16 @@ $ajax_url = Config::get('ajax_url');
|
||||||
<?php require Config::get('prefix') . '/templates/show_album_row.inc.php'; ?>
|
<?php require Config::get('prefix') . '/templates/show_album_row.inc.php'; ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } //end foreach ($albums as $album) ?>
|
<?php } //end foreach ($albums as $album) ?>
|
||||||
<tr>
|
<tr class="table-header th-bottom">
|
||||||
<td colspan="7">
|
<th><?php echo _('Add'); ?></th>
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
<?php if (Browse::get_filter('show_art')) { ?>
|
||||||
</td>
|
<th><?php echo _('Cover'); ?></th>
|
||||||
|
<?php } ?>
|
||||||
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Album'),'album_sort_name'); ?></th>
|
||||||
|
<th><?php echo _('Artist'); ?></th>
|
||||||
|
<th><?php echo _('Songs'); ?></th>
|
||||||
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=year',_('Year'),'album_sort_year'); ?></th>
|
||||||
|
<th><?php echo _('Actions'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<td><?php echo $artist->f_name_link; ?></td>
|
<td><?php echo $artist->f_name_link; ?></td>
|
||||||
<td><?php echo $artist->songs; ?></td>
|
<td><?php echo $artist->songs; ?></td>
|
||||||
<td><?php echo $artist->albums; ?></td>
|
<td><?php echo $artist->albums; ?></td>
|
||||||
<td nowrap="nowrap">
|
<td>
|
||||||
<?php if (Access::check_function('batch_download')) { ?>
|
<?php if (Access::check_function('batch_download')) { ?>
|
||||||
<a href="<?php echo Config::get('web_path'); ?>/batch.php?action=artist&id=<?php echo $artist->id; ?>">
|
<a href="<?php echo Config::get('web_path'); ?>/batch.php?action=artist&id=<?php echo $artist->id; ?>">
|
||||||
<?php echo get_user_icon('batch_download','',_('Batch Download')); ?>
|
<?php echo get_user_icon('batch_download','',_('Batch Download')); ?>
|
||||||
|
|
|
@ -21,13 +21,16 @@
|
||||||
$web_path = Config::get('web_path');
|
$web_path = Config::get('web_path');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
<table class="tabledata" cellspacing="0" cellpadding="0">
|
<table class="tabledata" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<colgroup>
|
||||||
<td colspan="5">
|
<col id="br_add" />
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
<col id="br_artist" />
|
||||||
</td>
|
<col id="br_songs" />
|
||||||
</tr>
|
<col id="br_albums" />
|
||||||
<tr class="table-header">
|
<col id="br_action" />
|
||||||
|
</colgroup>
|
||||||
|
<tr class="table-header th-top">
|
||||||
<th><?php echo _('Add'); ?></th>
|
<th><?php echo _('Add'); ?></th>
|
||||||
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Artist'),'artist_sort_name'); ?></th>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Artist'),'artist_sort_name'); ?></th>
|
||||||
<th> <?php echo _('Songs'); ?> </th>
|
<th> <?php echo _('Songs'); ?> </th>
|
||||||
|
@ -44,17 +47,12 @@ foreach ($object_ids as $artist_id) {
|
||||||
<?php require Config::get('prefix') . '/templates/show_artist_row.inc.php'; ?>
|
<?php require Config::get('prefix') . '/templates/show_artist_row.inc.php'; ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } //end foreach ($artists as $artist) ?>
|
<?php } //end foreach ($artists as $artist) ?>
|
||||||
<tr class="table-header">
|
<tr class="table-header th-bottom">
|
||||||
<th><?php echo _('Add'); ?></th>
|
<th><?php echo _('Add'); ?></th>
|
||||||
<th><?php echo _("Artist"); ?></th>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Artist'),'artist_sort_name'); ?></th>
|
||||||
<th><?php echo _('Songs'); ?></th>
|
<th> <?php echo _('Songs'); ?> </th>
|
||||||
<th><?php echo _('Albums'); ?></th>
|
<th> <?php echo _('Albums'); ?> </th>
|
||||||
<th><?php echo _('Action'); ?></th>
|
<th> <?php echo _('Action'); ?> </th>
|
||||||
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="5">
|
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
|
|
|
@ -19,13 +19,16 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
<table class="tabledata" cellspacing="0" cellpadding="0">
|
<table class="tabledata" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<colgroup>
|
||||||
<td colspan="5">
|
<col id="br_catalog" />
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
<col id="br_path" />
|
||||||
</td>
|
<col id="br_lastverify" />
|
||||||
</tr>
|
<col id="br_lastadd" />
|
||||||
<tr class="table-header">
|
<col id="br_action" />
|
||||||
|
</colgroup>
|
||||||
|
<tr class="table-header th-top">
|
||||||
<th><?php echo _('Name'); ?></th>
|
<th><?php echo _('Name'); ?></th>
|
||||||
<th><?php echo _('Path'); ?></th>
|
<th><?php echo _('Path'); ?></th>
|
||||||
<th><?php echo _('Last Verify'); ?></th>
|
<th><?php echo _('Last Verify'); ?></th>
|
||||||
|
@ -41,9 +44,12 @@
|
||||||
<?php require Config::get('prefix') . '/templates/show_catalog_row.inc.php'; ?>
|
<?php require Config::get('prefix') . '/templates/show_catalog_row.inc.php'; ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<tr>
|
<tr class="table-header th-bottom">
|
||||||
<td colspan="5">
|
<th><?php echo _('Name'); ?></th>
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
<th><?php echo _('Path'); ?></th>
|
||||||
</td>
|
<th><?php echo _('Last Verify'); ?></th>
|
||||||
|
<th><?php echo _('Last Add'); ?></th>
|
||||||
|
<th><?php echo _('Actions'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
|
|
|
@ -24,13 +24,15 @@
|
||||||
* Takes an array of genre objects and displays them out
|
* Takes an array of genre objects and displays them out
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
|
||||||
<table class="tabledata" cellspacing="0" cellpadding="0">
|
<table class="tabledata" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<colgroup>
|
||||||
<td colspan="5">
|
<col id="br_add" />
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
|
<col id="br_genre" />
|
||||||
</td>
|
<col id="br_songs" />
|
||||||
</tr>
|
<col id="br_action" />
|
||||||
<tr class="table-header">
|
</colgroup>
|
||||||
|
<tr class="table-header th-top">
|
||||||
<th><?php echo _('Add'); ?></th>
|
<th><?php echo _('Add'); ?></th>
|
||||||
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Genre'),'sort_genre_name'); ?></th>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Genre'),'sort_genre_name'); ?></th>
|
||||||
<th><?php echo _('Songs'); ?></th>
|
<th><?php echo _('Songs'); ?></th>
|
||||||
|
@ -61,9 +63,11 @@ foreach ($object_ids as $genre_id) {
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } // end foreach genres ?>
|
<?php } // end foreach genres ?>
|
||||||
<tr>
|
<tr class="table-header th-bottom">
|
||||||
<td colspan="5">
|
<th><?php echo _('Add'); ?></th>
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Genre'),'sort_genre_name'); ?></th>
|
||||||
</td>
|
<th><?php echo _('Songs'); ?></th>
|
||||||
|
<th><?php echo _('Action'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
|
||||||
|
|
|
@ -21,13 +21,17 @@
|
||||||
$web_path = Config::get('web_path');
|
$web_path = Config::get('web_path');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
<table class="tabledata" cellspacing="0" cellpadding="0">
|
<table class="tabledata" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<colgroup>
|
||||||
<td colspan="6">
|
<col id="br_add" />
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
<col id="br_streamname" />
|
||||||
</td>
|
<col id="br_callsign" />
|
||||||
</tr>
|
<col id="br_frequency" />
|
||||||
<tr class="table-header">
|
<col id="br_genre" />
|
||||||
|
<col id="br_action" />
|
||||||
|
</colgroup>
|
||||||
|
<tr class="table-header th-top">
|
||||||
<th><?php echo _('Add'); ?></th>
|
<th><?php echo _('Add'); ?></th>
|
||||||
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Name'),'live_stream_sort_name'); ?></th>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Name'),'live_stream_sort_name'); ?></th>
|
||||||
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=call_sign',_('Callsign'),'live_stream_call_sign'); ?></th>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=call_sign',_('Callsign'),'live_stream_call_sign'); ?></th>
|
||||||
|
@ -44,9 +48,13 @@ foreach ($object_ids as $radio_id) {
|
||||||
<?php require Config::get('prefix') . '/templates/show_live_stream_row.inc.php'; ?>
|
<?php require Config::get('prefix') . '/templates/show_live_stream_row.inc.php'; ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } //end foreach ($artists as $artist) ?>
|
<?php } //end foreach ($artists as $artist) ?>
|
||||||
<tr>
|
<tr class="table-header th-bottom">
|
||||||
<td colspan="6">
|
<th><?php echo _('Add'); ?></th>
|
||||||
<?php require Config::Get('prefix') . '/templates/list_header.inc.php'; ?>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Name'),'live_stream_sort_name'); ?></th>
|
||||||
</td>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=call_sign',_('Callsign'),'live_stream_call_sign'); ?></th>
|
||||||
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=frequency',_('Frequency'),'live_stream_frequency'); ?></th>
|
||||||
|
<th><?php echo _('Genre'); ?></th>
|
||||||
|
<th><?php echo _('Action'); ?> </th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<?php require Config::Get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
|
|
|
@ -20,14 +20,17 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<table class="tabledata" cellspacing="0" cellpadding="0"> <!-- Playlist Table -->
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
|
||||||
<tr>
|
<table class="tabledata" cellspacing="0" cellpadding="0">
|
||||||
<td colspan="5">
|
<colgroup>
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
|
<col id="br_add" />
|
||||||
</td>
|
<col id="br_playlist" />
|
||||||
</tr>
|
<col id="br_songs" />
|
||||||
<tr class="table-header">
|
<col id="br_owner" />
|
||||||
<th> </th>
|
<col id="br_action" />
|
||||||
|
</colgroup>
|
||||||
|
<tr class="table-header th-top">
|
||||||
|
<th><?php echo _('Add'); ?></th>
|
||||||
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Playlist Name'),'playlist_sort_name'); ?></th>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Playlist Name'),'playlist_sort_name'); ?></th>
|
||||||
<th><?php echo _('# Songs'); ?></th>
|
<th><?php echo _('# Songs'); ?></th>
|
||||||
<th><?php echo _('Owner'); ?></th>
|
<th><?php echo _('Owner'); ?></th>
|
||||||
|
@ -43,9 +46,12 @@ foreach ($object_ids as $playlist_id) {
|
||||||
<?php require Config::get('prefix') . '/templates/show_playlist_row.inc.php'; ?>
|
<?php require Config::get('prefix') . '/templates/show_playlist_row.inc.php'; ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } // end foreach ($playlists as $playlist) ?>
|
<?php } // end foreach ($playlists as $playlist) ?>
|
||||||
<tr>
|
<tr class="table-header th-bottom">
|
||||||
<td colspan="5">
|
<th><?php echo _('Add'); ?></th>
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Playlist Name'),'playlist_sort_name'); ?></th>
|
||||||
</td>
|
<th><?php echo _('# Songs'); ?></th>
|
||||||
|
<th><?php echo _('Owner'); ?></th>
|
||||||
|
<th><?php echo _('Actions'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
|
||||||
|
|
|
@ -23,13 +23,19 @@
|
||||||
$web_path = Config::get('web_path');
|
$web_path = Config::get('web_path');
|
||||||
$ajax_url = Config::get('ajax_url');
|
$ajax_url = Config::get('ajax_url');
|
||||||
?>
|
?>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
<table class="tabledata" cellspacing="0" cellpadding="0">
|
<table class="tabledata" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<colgroup>
|
||||||
<td colspan="8">
|
<col id="br_add" />
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
<col id="br_song" />
|
||||||
</td>
|
<col id="br_artist" />
|
||||||
</tr>
|
<col id="br_album" />
|
||||||
<tr class="table-header">
|
<col id="br_genre" />
|
||||||
|
<col id="br_track" />
|
||||||
|
<col id="br_time" />
|
||||||
|
<col id="br_action" />
|
||||||
|
</colgroup>
|
||||||
|
<tr class="table-header th-top">
|
||||||
<th><?php echo _('Add'); ?></th>
|
<th><?php echo _('Add'); ?></th>
|
||||||
<th>
|
<th>
|
||||||
<?php echo Ajax::text('?page=browse&action=set_sort&sort=title',_('Song Title'),'sort_song_title'); ?>
|
<?php echo Ajax::text('?page=browse&action=set_sort&sort=title',_('Song Title'),'sort_song_title'); ?>
|
||||||
|
@ -50,9 +56,17 @@ $ajax_url = Config::get('ajax_url');
|
||||||
<?php require Config::get('prefix') . '/templates/show_song_row.inc.php'; ?>
|
<?php require Config::get('prefix') . '/templates/show_song_row.inc.php'; ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<tr>
|
<tr class="table-header th-bottom">
|
||||||
<td colspan="8">
|
<th><?php echo _('Add'); ?></th>
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
<th>
|
||||||
</td>
|
<?php echo Ajax::text('?page=browse&action=set_sort&sort=title',_('Song Title'),'sort_song_title'); ?>
|
||||||
|
</th>
|
||||||
|
<th><?php echo _('Artist'); ?></th>
|
||||||
|
<th><?php echo _('Album'); ?></th>
|
||||||
|
<th><?php echo _('Genre'); ?></th>
|
||||||
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=track',_('Track'),'sort_song_track'); ?></th>
|
||||||
|
<th><?php echo Ajax::text('?page=browse&action=set_sort&sort=time',_('Time'),'sort_song_time'); ?></th>
|
||||||
|
<th><?php echo _('Action'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
|
|
|
@ -22,37 +22,27 @@
|
||||||
$web_path = Config::get('web_path');
|
$web_path = Config::get('web_path');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
||||||
<table class="tabledata" cellpadding="0" cellspacing="0">
|
<table class="tabledata" cellpadding="0" cellspacing="0">
|
||||||
<tr class="table-header" align="center">
|
<colgroup>
|
||||||
<th colspan="11">
|
<col id="br_username" />
|
||||||
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
|
<col id="br_lastseen" />
|
||||||
</th>
|
<col id="br_registrationdate" />
|
||||||
</tr>
|
<col id="br_activity" />
|
||||||
<tr class="table-header">
|
<col id="br_lastip" />
|
||||||
<th>
|
<col id="br_action" />
|
||||||
<?php echo _('Fullname'); ?>
|
<col id="br_online" />
|
||||||
(<?php echo _('Username'); ?>)
|
</colgroup>
|
||||||
</th>
|
<tr class="table-header th-top">
|
||||||
<th>
|
<th><?php echo _('Fullname'); ?>(<?php echo _('Username'); ?>)</th>
|
||||||
<?php echo _('Last Seen'); ?>
|
<th><?php echo _('Last Seen'); ?></th>
|
||||||
</th>
|
<th><?php echo _('Registration Date'); ?></th>
|
||||||
<th>
|
<th><?php echo _('Activity'); ?></th>
|
||||||
<?php echo _('Registration Date'); ?>
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
<?php echo _('Activity'); ?>
|
|
||||||
</th>
|
|
||||||
<?php if (Config::get('track_user_ip')) { ?>
|
<?php if (Config::get('track_user_ip')) { ?>
|
||||||
<th>
|
<th><?php echo _('Last Ip'); ?></th>
|
||||||
<?php echo _('Last Ip'); ?>
|
|
||||||
</th>
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<th>
|
<th><?php echo _('Action'); ?></th>
|
||||||
<?php echo _('Action'); ?>
|
<th><?php echo _('On-line'); ?></th>
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
<?php echo _('On-line'); ?>
|
|
||||||
</th>
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
foreach ($object_ids as $user_id) {
|
foreach ($object_ids as $user_id) {
|
||||||
|
@ -112,4 +102,15 @@ foreach ($object_ids as $user_id) {
|
||||||
?>
|
?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } //end foreach users ?>
|
<?php } //end foreach users ?>
|
||||||
|
<tr class="table-header th-bottom">
|
||||||
|
<th><?php echo _('Fullname'); ?>(<?php echo _('Username'); ?>)</th>
|
||||||
|
<th><?php echo _('Last Seen'); ?></th>
|
||||||
|
<th><?php echo _('Registration Date'); ?></th>
|
||||||
|
<th><?php echo _('Activity'); ?></th>
|
||||||
|
<?php if (Config::get('track_user_ip')) { ?>
|
||||||
|
<th><?php echo _('Last Ip'); ?></th>
|
||||||
|
<?php } ?>
|
||||||
|
<th><?php echo _('Action'); ?></th>
|
||||||
|
<th><?php echo _('On-line'); ?></th>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -556,9 +556,9 @@ h3#content_title span {
|
||||||
/************************************************/
|
/************************************************/
|
||||||
/* List Header Styles */
|
/* List Header Styles */
|
||||||
/************************************************/
|
/************************************************/
|
||||||
.list-header{margin:7px 0; text-align:center; font-size: 0.8em;}
|
.list-header{margin:7px 0; text-align:center; font-size: 0.8em;position:relative;}
|
||||||
.list-header .prev{float:left;}
|
.list-header .prev{/*float:left;*/ position:absolute; top:0; left:0;}
|
||||||
.list-header .next{float:right;}
|
.list-header .next{/*float:right;*/ position:absolute; top:0; right:0;}
|
||||||
.list-header .selected{background: #e0e0e0;}
|
.list-header .selected{background: #e0e0e0;}
|
||||||
.list-header .page-nb{padding:1px;border: 1px solid #ccc;text-decoration: none;}
|
.list-header .page-nb{padding:1px;border: 1px solid #ccc;text-decoration: none;}
|
||||||
.list-header .page-nb:hover{background: #d0d0d0;}
|
.list-header .page-nb:hover{background: #d0d0d0;}
|
||||||
|
@ -613,6 +613,11 @@ div#Header{
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/************************************************/
|
||||||
|
/* "Browse by" */
|
||||||
|
/************************************************/
|
||||||
|
.br_td_cover{padding:6px;}
|
||||||
|
|
||||||
|
|
||||||
/************************************************/
|
/************************************************/
|
||||||
/* Styles for Login template */
|
/* Styles for Login template */
|
||||||
|
|
|
@ -56,6 +56,7 @@ body{
|
||||||
font-family: Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif;
|
font-family: Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif;
|
||||||
background: #2b293d url(../images/background.jpg) 0 0 repeat-x fixed;
|
background: #2b293d url(../images/background.jpg) 0 0 repeat-x fixed;
|
||||||
min-width:90em;
|
min-width:90em;
|
||||||
|
color:#e9ad51;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol { list-style-type: decimal-leading-zero; }
|
ol { list-style-type: decimal-leading-zero; }
|
||||||
|
@ -159,15 +160,13 @@ input[type=checkbox]{border:none;background:none;}
|
||||||
background: #111;
|
background: #111;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
.table-header td, .table-header th {
|
.table-header th {
|
||||||
color:#8b3e38;
|
color:#8b3e38;
|
||||||
font-variant:small-caps;
|
font-variant:small-caps;
|
||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
}
|
|
||||||
.table-header th {
|
|
||||||
border-right:1px solid #000;
|
border-right:1px solid #000;
|
||||||
}
|
}
|
||||||
.table-header td a, .table-header th a {
|
.table-header th a {
|
||||||
color:#8b3e38;
|
color:#8b3e38;
|
||||||
padding-right:10px;
|
padding-right:10px;
|
||||||
background: url(../images/sort_off.gif) 100% 50% no-repeat;
|
background: url(../images/sort_off.gif) 100% 50% no-repeat;
|
||||||
|
@ -333,6 +332,7 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
|
||||||
border-bottom:1px dotted #e9ad51;
|
border-bottom:1px dotted #e9ad51;
|
||||||
text-decoration: overline;
|
text-decoration: overline;
|
||||||
background: url(../images/puce.gif) -8px -8px no-repeat;
|
background: url(../images/puce.gif) -8px -8px no-repeat;
|
||||||
|
color:#e9ad51;
|
||||||
}
|
}
|
||||||
#sidebar-page ul.sb2 li:hover h4{
|
#sidebar-page ul.sb2 li:hover h4{
|
||||||
background-color:#000;
|
background-color:#000;
|
||||||
|
@ -620,9 +620,9 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
|
||||||
/************************************************/
|
/************************************************/
|
||||||
/* List Header Styles */
|
/* List Header Styles */
|
||||||
/************************************************/
|
/************************************************/
|
||||||
.list-header{margin:7px 0; text-align:center; font-size: 0.9em;}
|
.list-header{margin:7px 0; text-align:center; font-size: 0.9em;position:relative;}
|
||||||
.list-header .prev{float:left;}
|
.list-header .prev{/*float:left;*/ position:absolute; top:0; left:0;}
|
||||||
.list-header .next{float:right;}
|
.list-header .next{/*float:right;*/ position:absolute; top:0; right:0;}
|
||||||
.list-header .selected{}
|
.list-header .selected{}
|
||||||
.list-header .page-nb{padding:1px;border: 1px solid #111;}
|
.list-header .page-nb{padding:1px;border: 1px solid #111;}
|
||||||
.list-header a:hover{background: transparent; border-color:#e9ad51;}
|
.list-header a:hover{background: transparent; border-color:#e9ad51;}
|
||||||
|
@ -792,7 +792,10 @@ input.text_input {
|
||||||
margin-left:5px;
|
margin-left:5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/************************************************/
|
||||||
|
/* "Browse by" */
|
||||||
|
/************************************************/
|
||||||
|
.br_td_cover{padding:6px;}
|
||||||
|
|
||||||
/************************************************/
|
/************************************************/
|
||||||
/* Misc */
|
/* Misc */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue