summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/catalog.php2
-rw-r--r--artists.php2
-rw-r--r--install.php10
-rw-r--r--login.php2
-rw-r--r--templates/header.inc.php20
-rw-r--r--templates/show_access_list.inc.php2
-rw-r--r--templates/show_admin_info.inc.php2
-rw-r--r--templates/show_admin_tools.inc.php18
-rw-r--r--templates/show_album_row.inc.php14
-rw-r--r--templates/show_albums.inc.php50
-rw-r--r--templates/show_artist_row.inc.php10
-rw-r--r--templates/show_artists.inc.php36
-rw-r--r--templates/show_catalog_row.inc.php10
-rw-r--r--templates/show_catalogs.inc.php40
-rw-r--r--templates/show_confirmation.inc.php4
-rw-r--r--templates/show_disabled_songs.inc54
-rw-r--r--templates/show_disabled_songs.inc.php70
-rw-r--r--templates/show_flagged.inc.php50
-rw-r--r--templates/show_genres.inc.php38
-rw-r--r--templates/show_install.inc.php (renamed from templates/show_install.inc)0
-rw-r--r--templates/show_install_config.inc.php (renamed from templates/show_install_config.inc)0
-rw-r--r--templates/show_ip_history.inc.php25
-rw-r--r--templates/show_list_duplicates.inc.php56
-rw-r--r--templates/show_live_stream_row.inc.php12
-rw-r--r--templates/show_live_streams.inc.php42
-rw-r--r--templates/show_local_catalog_info.inc.php20
-rw-r--r--templates/show_localplay_controllers.inc.php32
-rw-r--r--templates/show_localplay_playlist.inc.php28
-rw-r--r--templates/show_login_form.inc.php (renamed from templates/show_login_form.inc)0
-rw-r--r--templates/show_playlist_row.inc.php10
-rw-r--r--templates/show_playlist_song_row.inc.php18
-rw-r--r--templates/show_playlist_songs.inc.php54
-rw-r--r--templates/show_playlists.inc.php36
-rw-r--r--templates/show_plugins.inc.php32
-rw-r--r--templates/show_preference_admin.inc.php20
-rw-r--r--templates/show_preference_box.inc.php38
-rw-r--r--templates/show_random.inc.php2
-rw-r--r--templates/show_recently_played.inc.php38
-rw-r--r--templates/show_search.inc.php5
-rw-r--r--templates/show_search_bar.inc.php4
-rw-r--r--templates/show_similar_artists.inc.php (renamed from templates/show_similar_artists.inc)26
-rw-r--r--templates/show_song_row.inc.php16
-rw-r--r--templates/show_songs.inc.php58
-rw-r--r--templates/show_tv_playlist.inc.php46
-rw-r--r--templates/show_users.inc.php73
-rw-r--r--themes/classic/templates/default.css373
-rw-r--r--themes/greysme/templates/default.css433
47 files changed, 1035 insertions, 896 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index 167d7979..0c9b8fad 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -222,7 +222,7 @@ switch ($_REQUEST['action']) {
$songs = $catalog->get_disabled();
if (count($songs)) {
- require (conf('prefix') . '/templates/show_disabled_songs.inc');
+ require (conf('prefix') . '/templates/show_disabled_songs.inc.php');
}
else {
echo "<div class=\"error\" align=\"center\">" . _('No Disabled songs found') . "</div>";
diff --git a/artists.php b/artists.php
index 70f8fec7..f00d8fcf 100644
--- a/artists.php
+++ b/artists.php
@@ -104,7 +104,7 @@ switch($_REQUEST['action']) {
make_bool($_POST['c_ignins_l']));
$artist_id = $artist->id;
$artist_name = $artist->name;
- require (conf('prefix') . '/templates/show_similar_artists.inc');
+ require (conf('prefix') . '/templates/show_similar_artists.inc.php');
} else {
$GLOBALS['error']->add_error('general',"Error: No artist given");
}
diff --git a/install.php b/install.php
index b9abd5fb..7ba78652 100644
--- a/install.php
+++ b/install.php
@@ -68,7 +68,7 @@ $php_self = $http_type . $_SERVER['HTTP_HOST'] . "/" . preg_replace("/^\/(.+\.ph
switch ($_REQUEST['action']) {
case 'create_db':
if (!install_insert_db($username,$password,$hostname,$database)) {
- require_once 'templates/show_install.inc';
+ require_once 'templates/show_install.inc.php';
break;
}
@@ -82,7 +82,7 @@ switch ($_REQUEST['action']) {
case 'create_config':
$created_config = install_create_config($web_path,$username,$password,$hostname,$database);
- require_once 'templates/show_install_config.inc';
+ require_once 'templates/show_install_config.inc.php';
break;
case 'show_create_config':
@@ -116,7 +116,7 @@ switch ($_REQUEST['action']) {
load_gettext();
header ("Content-Type: text/html; charset=" . Config::get('site_charset'));
- require_once 'templates/show_install_config.inc';
+ require_once 'templates/show_install_config.inc.php';
break;
case 'create_account':
@@ -141,7 +141,7 @@ switch ($_REQUEST['action']) {
/* Make sure we've got a valid config file */
if (!check_config_values($results)) {
- require_once Config::get('prefix') . '/templates/show_install_config.inc';
+ require_once Config::get('prefix') . '/templates/show_install_config.inc.php';
break;
}
@@ -201,7 +201,7 @@ switch ($_REQUEST['action']) {
// Page ready :)
header ("Content-Type: text/html; charset=$charset");
- require_once 'templates/show_install.inc';
+ require_once 'templates/show_install.inc.php';
break;
default:
/* Do some basic tests here... most common error, no mysql */
diff --git a/login.php b/login.php
index 9913a5d1..a0720925 100644
--- a/login.php
+++ b/login.php
@@ -147,7 +147,7 @@ else {
Error::add('general',$auth['error']);
}
-require Config::get('prefix') . '/templates/show_login_form.inc';
+require Config::get('prefix') . '/templates/show_login_form.inc.php';
?>
</body>
diff --git a/templates/header.inc.php b/templates/header.inc.php
index ef3672f1..c6400ada 100644
--- a/templates/header.inc.php
+++ b/templates/header.inc.php
@@ -58,19 +58,19 @@ if (Config::get('use_rss')) { ?>
echo " class=\"vertical_menu\" ";
}?>>
- <div id="topbar"><!-- This is the topbar row -->
- <div id="topbarleft">
- <a href="http://www.ampache.org">
- <img src="<?php echo $web_path; ?><?php echo Config::get('theme_path'); ?>/images/ampache.png" title="Ampache: For the love of music" alt="Ampache: For the love of music" />
- </a>
- </div><!--End topbarleft -->
- <div id="topbarright">
- <?php show_box_top('','box box_topbarright'); ?>
+ <div id="header"><!-- This is the header -->
+ <h1 id="headerlogo">
+ <a href="http://www.ampache.org">
+ <img src="<?php echo $web_path; ?><?php echo Config::get('theme_path'); ?>/images/ampache.png" title="Ampache: For the love of music" alt="Ampache: For the love of music" />
+ </a>
+ </h1>
+ <div id="headerbox">
+ <?php show_box_top('','box box_headerbox'); ?>
<span id="loginInfo"><?php echo _('You are currently logged in as') . " " . $GLOBALS['user']->fullname; ?></span>
<?php require_once Config::get('prefix') . '/templates/show_search_bar.inc.php'; ?>
<?php show_box_bottom(); ?>
- </div> <!-- End topbarright -->
- </div><!-- End topbar -->
+ </div> <!-- End headerbox -->
+ </div><!-- End header -->
<div id="sidebar"><!-- This is the sidebar -->
<?php require_once Config::get('prefix') . '/templates/sidebar.inc.php'; ?>
</div><!-- End sidebar -->
diff --git a/templates/show_access_list.inc.php b/templates/show_access_list.inc.php
index 1374b81a..0c3c1fee 100644
--- a/templates/show_access_list.inc.php
+++ b/templates/show_access_list.inc.php
@@ -35,7 +35,7 @@ to add any server's IP address that you want to access your Ampache catalog or b
stream from this server.</p>
<p>
-<a class="smallbutton" href="<?php echo $web_path; ?>/admin/access.php?action=show_add_host"><?php echo _('Add Entry'); ?></a>
+<a class="button" href="<?php echo $web_path; ?>/admin/access.php?action=show_add_host"><?php echo _('Add Entry'); ?></a>
</p>
<?php if (count($list)) { ?>
<table cellspacing="1" cellpadding="3" class="tabledata">
diff --git a/templates/show_admin_info.inc.php b/templates/show_admin_info.inc.php
index ddf2a77b..b011740d 100644
--- a/templates/show_admin_info.inc.php
+++ b/templates/show_admin_info.inc.php
@@ -33,7 +33,7 @@ $songs = Catalog::get_disabled(10);
<?php show_box_top(_('Disabled Songs')); ?>
<!-- Show Last 10 Disabled Songs -->&nbsp;
- <?php require Config::get('prefix') . '/templates/show_disabled_songs.inc'; ?>
+ <?php require Config::get('prefix') . '/templates/show_disabled_songs.inc.php'; ?>
<div class="text-action">
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=show_disabled"><?php echo _('Show All'); ?>...</a>
</div>
diff --git a/templates/show_admin_tools.inc.php b/templates/show_admin_tools.inc.php
index 02237e59..b1e3e9e4 100644
--- a/templates/show_admin_tools.inc.php
+++ b/templates/show_admin_tools.inc.php
@@ -25,18 +25,22 @@ $catalogs = Catalog::get_catalogs();
?>
<?php show_box_top(_('Catalogs')); ?>
<table class="tabledata" cellpadding="0" cellspacing="0">
-<tr class="table-header">
- <th><?php echo _('Name'); ?></th>
- <th align="center"><?php echo _('Action'); ?></th>
+<colgroup>
+ <col id="col_name" />
+ <col id="col_action" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php foreach ($catalogs as $catalog) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td>
+ <td class="cel_name">
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=show_customize_catalog&amp;catalog_id=<?php echo $catalog->id; ?>">
<?php echo scrub_out($catalog->name); ?></a>
&nbsp;&nbsp;(<?php echo scrub_out($catalog->path); ?>)
</td>
- <td>
+ <td class="cel_action">
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=add_to_catalog&amp;catalogs[]=<?php echo $catalog->id; ?>">
<?php echo _('Add'); ?></a>&nbsp;|&nbsp;
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=update_catalog&amp;catalogs[]=<?php echo $catalog->id; ?>">
@@ -65,6 +69,10 @@ $catalogs = Catalog::get_catalogs();
</td>
</tr>
<?php } // end if no catalogs ?>
+<tr class="th-bottom">
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+</tr>
</table>
<div class="text-action">
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=clean_all_catalogs"><?php echo _('Clean All'); ?></a>&nbsp;
diff --git a/templates/show_album_row.inc.php b/templates/show_album_row.inc.php
index 7d5ffde0..6d8189d3 100644
--- a/templates/show_album_row.inc.php
+++ b/templates/show_album_row.inc.php
@@ -19,22 +19,22 @@
*/
?>
-<td>
+<td class="cel_add">
<?php echo Ajax::button('?action=basket&type=album&id=' . $album->id,'add',_('Add'),'add_album_' . $album->id); ?>
<?php echo Ajax::button('?action=basket&type=album_random&id=' . $album->id,'random',_('Random'),'random_album_' . $album->id); ?>
</td>
<?php if (Browse::get_filter('show_art')) { ?>
-<td class="br_td_cover">
+<td class="cel_cover">
<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=show&amp;album=<?php echo $album->id; ?>">
<img height="75" width="75" src="<?php echo Config::get('web_path'); ?>/image.php?id=<?php echo $album->id; ?>&amp;thumb=1&amp;sid=<?php echo session_id(); ?>" />
</a>
</td>
<?php } ?>
-<td><?php echo $album->f_name_link; ?></td>
-<td><?php echo $album->f_artist_link; ?></td>
-<td><?php echo $album->song_count; ?></td>
-<td><?php echo $album->year; ?></td>
-<td>
+<td class="cel_album"><?php echo $album->f_name_link; ?></td>
+<td class="cel_artist"><?php echo $album->f_artist_link; ?></td>
+<td class="cel_songs"><?php echo $album->song_count; ?></td>
+<td class="cel_year"><?php echo $album->year; ?></td>
+<td class="cel_action">
<?php if (Access::check_function('batch_download')) { ?>
<a href="<?php echo Config::get('web_path'); ?>/batch.php?action=album&amp;id=<?php echo $album->id; ?>">
<?php echo get_user_icon('batch_download',_('Batch Download')); ?>
diff --git a/templates/show_albums.inc.php b/templates/show_albums.inc.php
index fe2af1be..962739ce 100644
--- a/templates/show_albums.inc.php
+++ b/templates/show_albums.inc.php
@@ -22,26 +22,28 @@ $web_path = Config::get('web_path');
$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" cellpadding="0" cellspacing="0">
<colgroup>
- <col id="br_add" />
- <col id="br_cover" />
- <col id="br_album" />
- <col id="br_artist" />
- <col id="br_songs" />
- <col id="br_year" />
- <col id="br_action" />
+ <col id="col_add" />
+ <?php if (Browse::get_filter('show_art')) { ?>
+ <col id="col_cover" />
+ <?php } ?>
+ <col id="col_album" />
+ <col id="col_artist" />
+ <col id="col_songs" />
+ <col id="col_year" />
+ <col id="col_action" />
</colgroup>
-<tr class="table-header th-top">
- <th><?php echo _('Add'); ?></th>
+<tr class="th-top">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
<?php if (Browse::get_filter('show_art')) { ?>
- <th><?php echo _('Cover'); ?></th>
+ <th class="cel_cover"><?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>
+ <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Album'),'album_sort_name'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_songs"><?php echo _('Songs'); ?></th>
+ <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&sort=year',_('Year'),'album_sort_year'); ?></th>
+ <th class="cel_action"><?php echo _('Actions'); ?></th>
</tr>
<?php
/* Foreach through the albums */
@@ -53,16 +55,16 @@ $ajax_url = Config::get('ajax_url');
<?php require Config::get('prefix') . '/templates/show_album_row.inc.php'; ?>
</tr>
<?php } //end foreach ($albums as $album) ?>
-<tr class="table-header th-bottom">
- <th><?php echo _('Add'); ?></th>
+<tr class="th-bottom">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
<?php if (Browse::get_filter('show_art')) { ?>
- <th><?php echo _('Cover'); ?></th>
+ <th class="cel_cover"><?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>
+ <th class="cel_album"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Album'),'album_sort_name'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_songs"><?php echo _('Songs'); ?></th>
+ <th class="cel_year"><?php echo Ajax::text('?page=browse&action=set_sort&sort=year',_('Year'),'album_sort_year'); ?></th>
+ <th class="cel_action"><?php echo _('Actions'); ?></th>
</tr>
</table>
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
diff --git a/templates/show_artist_row.inc.php b/templates/show_artist_row.inc.php
index ab5ac563..e20ccfd9 100644
--- a/templates/show_artist_row.inc.php
+++ b/templates/show_artist_row.inc.php
@@ -19,14 +19,14 @@
*/
?>
-<td>
+<td class="cel_add">
<?php echo Ajax::button('?action=basket&type=artist&id=' . $artist->id,'add',_('Add'),'add_artist_' . $artist->id); ?>
<?php echo Ajax::button('?action=basket&type=artist_random&id=' . $artist->id,'random',_('Random'),'random_artist_' . $artist->id); ?>
</td>
-<td><?php echo $artist->f_name_link; ?></td>
-<td><?php echo $artist->songs; ?></td>
-<td><?php echo $artist->albums; ?></td>
-<td>
+<td class="cel_artist"><?php echo $artist->f_name_link; ?></td>
+<td class="cel_songs"><?php echo $artist->songs; ?></td>
+<td class="cel_albums"><?php echo $artist->albums; ?></td>
+<td class="cel_action">
<?php if (Access::check_function('batch_download')) { ?>
<a href="<?php echo Config::get('web_path'); ?>/batch.php?action=artist&amp;id=<?php echo $artist->id; ?>">
<?php echo get_user_icon('batch_download','',_('Batch Download')); ?>
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php
index f67f02cd..954686aa 100644
--- a/templates/show_artists.inc.php
+++ b/templates/show_artists.inc.php
@@ -22,20 +22,20 @@ $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" cellpadding="0" cellspacing="0">
<colgroup>
- <col id="br_add" />
- <col id="br_artist" />
- <col id="br_songs" />
- <col id="br_albums" />
- <col id="br_action" />
+ <col id="col_add" />
+ <col id="col_artist" />
+ <col id="col_songs" />
+ <col id="col_albums" />
+ <col id="col_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',_('Artist'),'artist_sort_name'); ?></th>
- <th> <?php echo _('Songs'); ?> </th>
- <th> <?php echo _('Albums'); ?> </th>
- <th> <?php echo _('Action'); ?> </th>
+<tr class="th-top">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Artist'),'artist_sort_name'); ?></th>
+ <th class="cel_songs"> <?php echo _('Songs'); ?> </th>
+ <th class="cel_albums"> <?php echo _('Albums'); ?> </th>
+ <th class="cel_action"> <?php echo _('Action'); ?> </th>
</tr>
<?php
/* Foreach through every artist that has been passed to us */
@@ -47,12 +47,12 @@ foreach ($object_ids as $artist_id) {
<?php require Config::get('prefix') . '/templates/show_artist_row.inc.php'; ?>
</tr>
<?php } //end foreach ($artists as $artist) ?>
-<tr class="table-header th-bottom">
- <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 _('Songs'); ?> </th>
- <th> <?php echo _('Albums'); ?> </th>
- <th> <?php echo _('Action'); ?> </th>
+<tr class="th-bottom">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_artist"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Artist'),'artist_sort_name'); ?></th>
+ <th class="cel_songs"> <?php echo _('Songs'); ?> </th>
+ <th class="cel_albums"> <?php echo _('Albums'); ?> </th>
+ <th class="cel_action"> <?php echo _('Action'); ?> </th>
</tr>
</table>
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
diff --git a/templates/show_catalog_row.inc.php b/templates/show_catalog_row.inc.php
index 34f7ea77..faf9b406 100644
--- a/templates/show_catalog_row.inc.php
+++ b/templates/show_catalog_row.inc.php
@@ -20,11 +20,11 @@
*/
$web_path = Config::get('web_path');
?>
-<td><?php echo $catalog->f_name_link; ?></td>
-<td><?php echo scrub_out($catalog->f_path); ?></td>
-<td><?php echo scrub_out($catalog->f_update); ?></td>
-<td><?php echo scrub_out($catalog->f_add); ?></td>
-<td>
+<td class="cel_catalog"><?php echo $catalog->f_name_link; ?></td>
+<td class="cel_path"><?php echo scrub_out($catalog->f_path); ?></td>
+<td class="cel_lastverify"><?php echo scrub_out($catalog->f_update); ?></td>
+<td class="cel_lastadd"><?php echo scrub_out($catalog->f_add); ?></td>
+<td class="cel_action">
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=add_to_catalog&amp;catalogs[]=<?php echo $catalog->id; ?>"><?php echo _('Add'); ?></a>
| <a href="<?php echo $web_path; ?>/admin/catalog.php?action=update_catalog&amp;catalogs[]=<?php echo $catalog->id; ?>"><?php echo _('Verify'); ?></a>
| <a href="<?php echo $web_path; ?>/admin/catalog.php?action=clean_catalog&amp;catalogs[]=<?php echo $catalog->id; ?>"><?php echo _('Clean'); ?></a>
diff --git a/templates/show_catalogs.inc.php b/templates/show_catalogs.inc.php
index b8b6173e..9174838c 100644
--- a/templates/show_catalogs.inc.php
+++ b/templates/show_catalogs.inc.php
@@ -20,20 +20,20 @@
*/
?>
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
-<table class="tabledata" cellspacing="0" cellpadding="0">
+<table class="tabledata" cellpadding="0" cellspacing="0">
<colgroup>
- <col id="br_catalog" />
- <col id="br_path" />
- <col id="br_lastverify" />
- <col id="br_lastadd" />
- <col id="br_action" />
+ <col id="col_catalog" />
+ <col id="col_path" />
+ <col id="col_lastverify" />
+ <col id="col_lastadd" />
+ <col id="col_action" />
</colgroup>
-<tr class="table-header th-top">
- <th><?php echo _('Name'); ?></th>
- <th><?php echo _('Path'); ?></th>
- <th><?php echo _('Last Verify'); ?></th>
- <th><?php echo _('Last Add'); ?></th>
- <th><?php echo _('Actions'); ?></th>
+<tr class="th-top">
+ <th class="cel_catalog"><?php echo _('Name'); ?></th>
+ <th class="cel_path"><?php echo _('Path'); ?></th>
+ <th class="cel_lastverify"><?php echo _('Last Verify'); ?></th>
+ <th class="cel_lastadd"><?php echo _('Last Add'); ?></th>
+ <th class="cel_action"><?php echo _('Actions'); ?></th>
</tr>
<?php
foreach ($object_ids as $catalog_id) {
@@ -44,18 +44,11 @@
<?php require Config::get('prefix') . '/templates/show_catalog_row.inc.php'; ?>
</tr>
<?php } ?>
-<tr class="table-header th-bottom">
- <th><?php echo _('Name'); ?></th>
- <th><?php echo _('Path'); ?></th>
- <th><?php echo _('Last Verify'); ?></th>
- <th><?php echo _('Last Add'); ?></th>
- <th><?php echo _('Actions'); ?></th>
-</tr>
<tr class="<?php echo flip_class(); ?>">
<td colspan="3">
&nbsp;
</td>
- <td align="right" colspan="2">
+ <td class="cel_action" colspan="2">
<a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=gather_album_art"><?php echo _('Gather All Art'); ?></a>
| <a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=add_to_all_catalogs"><?php echo _('Add to All'); ?></a>
| <a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=update_all_catalogs"><?php echo _('Verify All'); ?></a>
@@ -63,5 +56,12 @@
| <a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=full_service"><?php echo _('Update All'); ?></a>
</td>
</tr>
+<tr class="th-bottom">
+ <th class="cel_catalog"><?php echo _('Name'); ?></th>
+ <th class="cel_path"><?php echo _('Path'); ?></th>
+ <th class="cel_lastverify"><?php echo _('Last Verify'); ?></th>
+ <th class="cel_lastadd"><?php echo _('Last Add'); ?></th>
+ <th class="cel_action"><?php echo _('Actions'); ?></th>
+</tr>
</table>
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
diff --git a/templates/show_confirmation.inc.php b/templates/show_confirmation.inc.php
index 21b20ca3..fb66ce4b 100644
--- a/templates/show_confirmation.inc.php
+++ b/templates/show_confirmation.inc.php
@@ -22,8 +22,8 @@
<?php show_box_top(scrub_out($title)); ?>
<?php echo $text; ?>
<br />
- <a class="smallbutton" href="<?php echo $path; ?>"><?php echo _('Continue'); ?></a>
+ <a class="button" href="<?php echo $path; ?>"><?php echo _('Continue'); ?></a>
<?php if ($cancel) { ?>
- <a class="smallbutton" href="<?php echo Config::get('web_path') . "/" . return_referer(); ?>"><?php echo _('Cancel'); ?></a>
+ <a class="button" href="<?php echo Config::get('web_path') . "/" . return_referer(); ?>"><?php echo _('Cancel'); ?></a>
<?php } ?>
<?php show_box_bottom(); ?>
diff --git a/templates/show_disabled_songs.inc b/templates/show_disabled_songs.inc
deleted file mode 100644
index 833d1881..00000000
--- a/templates/show_disabled_songs.inc
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-/*
-
- Copyright (c) 2001 - 2006 Ampache.org
- All rights reserved.
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License v2
- as published by the Free Software Foundation
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-*/
-?>
-<br />
-<form name="songs" method="post" action="<?php echo conf('web_path'); ?>/admin/catalog.php" enctype="multipart/form-data" style="Display:inline">
-<table class="tabledata" cellspacing="0">
-<tr class="table-header">
- <td><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></td>
- <td><?php echo _('Title'); ?></td>
- <td><?php echo _('Album'); ?></td>
- <td><?php echo _('Artist'); ?></td>
- <td><?php echo _('Filename'); ?></td>
- <td><?php echo _('Addition Time'); ?></td>
-</tr>
-<?php foreach ($songs as $song) { ?>
- <tr class="<?php echo flip_class(); ?>">
- <td><input type="checkbox" name="song[]" value="<?php echo $song->id; ?>" /></td>
- <td><?php echo $song->title; ?></td>
- <td><?php echo $song->get_album_name($song->album); ?></td>
- <td><?php echo $song->get_artist_name($song->album); ?></td>
- <td><?php echo $song->file; ?></td>
- <td><?php echo date("h:i:s, m/d/y",$song->addition_time); ?></td>
-
- </tr>
-<?php } if (!count($songs)) { ?>
- <tr class="<?php echo flip_class(); ?>">
- <td colspan="7"><span class="error"><?php echo _('No Records Found'); ?></span></td>
- </tr>
-<?php } ?>
-<tr class="<?php echo flip_class(); ?>">
- <td colspan="7">
- <input class="button" type="submit" value="<?php echo _('Remove'); ?>" />&nbsp;&nbsp;
- <input type="hidden" name="action" value="remove_disabled" />
- </td>
-</tr>
-</table>
-</form>
diff --git a/templates/show_disabled_songs.inc.php b/templates/show_disabled_songs.inc.php
new file mode 100644
index 00000000..1f051306
--- /dev/null
+++ b/templates/show_disabled_songs.inc.php
@@ -0,0 +1,70 @@
+<?php
+/*
+
+ Copyright (c) 2001 - 2006 Ampache.org
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License v2
+ as published by the Free Software Foundation
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+?>
+<br />
+<form name="songs" method="post" action="<?php echo conf('web_path'); ?>/admin/catalog.php" enctype="multipart/form-data" style="Display:inline">
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_select" />
+ <col id="col_song" />
+ <col id="col_album" />
+ <col id="col_artist" />
+ <col id="col_filename" />
+ <col id="col_additiontime" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></td>
+ <th class="cel_song"><?php echo _('Title'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_filename"><?php echo _('Filename'); ?></th>
+ <th class="cel_additiontime"><?php echo _('Addition Time'); ?></th>
+</tr>
+<?php foreach ($songs as $song) { ?>
+ <tr class="<?php echo flip_class(); ?>">
+ <td class="cel_select"><input type="checkbox" name="song[]" value="<?php echo $song->id; ?>" /></td>
+ <td class="cel_song"><?php echo $song->title; ?></td>
+ <td class="cel_album"><?php echo $song->get_album_name($song->album); ?></td>
+ <td class="cel_artist"><?php echo $song->get_artist_name($song->album); ?></td>
+ <td class="cel_filename"><?php echo $song->file; ?></td>
+ <td class="cel_additiontime"><?php echo date("h:i:s, m/d/y",$song->addition_time); ?></td>
+
+ </tr>
+<?php } if (!count($songs)) { ?>
+ <tr class="<?php echo flip_class(); ?>">
+ <td colspan="7"><span class="error"><?php echo _('No Records Found'); ?></span></td>
+ </tr>
+<?php } ?>
+<tr class="<?php echo flip_class(); ?>">
+ <td colspan="7">
+ <input class="button" type="submit" value="<?php echo _('Remove'); ?>" />&nbsp;&nbsp;
+ <input type="hidden" name="action" value="remove_disabled" />
+ </td>
+</tr>
+<tr class="th-bottom">
+ <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></td>
+ <th class="cel_song"><?php echo _('Title'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_filename"><?php echo _('Filename'); ?></th>
+ <th class="cel_additiontime"><?php echo _('Addition Time'); ?></th>
+</tr>
+</table>
+</form>
diff --git a/templates/show_flagged.inc.php b/templates/show_flagged.inc.php
index 0860d805..ec8c7cd0 100644
--- a/templates/show_flagged.inc.php
+++ b/templates/show_flagged.inc.php
@@ -22,27 +22,36 @@
$web_path = Config::get('web_path');
?>
<form id="songs" method="post" enctype="multipart/form-data" action="<?php echo Config::get('web_path'); ?>/admin/flag.php?action=reject_flags">
-<table class="tabledata" cellspacing="0" cellpadding="0">
-<tr class="table-header">
- <th><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></th>
- <th><?php echo _('Object'); ?></th>
- <th><?php echo _('User'); ?></th>
- <th><?php echo _('Flag'); ?></th>
- <th><?php echo _('Comment'); ?></th>
- <th><?php echo _('Status'); ?></th>
- <th><?php echo _('Action'); ?></th>
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_select" />
+ <col id="col_object" />
+ <col id="col_username" />
+ <col id="col_flag" />
+ <col id="col_comment" />
+ <col id="col_status" />
+ <col id="col_action" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></th>
+ <th class="cel_object"><?php echo _('Object'); ?></th>
+ <th class="cel_username"><?php echo _('User'); ?></th>
+ <th class="cel_flag"><?php echo _('Flag'); ?></th>
+ <th class="cel_comment"><?php echo _('Comment'); ?></th>
+ <th class="cel_status"><?php echo _('Status'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php foreach ($flagged as $data) { $flag = new Flag($data); ?>
<tr class="<?php echo flip_class(); ?>">
- <td align="center">
+ <td class="cel_select">
<input type="checkbox" name="song[]" value="<?php echo $flag->id; ?>" id="song_<?php echo $flag->id; ?>" />
</td>
- <td><a href="<?php echo Config::get('web_path'); ?>/admin/flag.php?action=show_edit_song&song=<?php echo $flag->object_id; ?>"><?php $flag->print_name(); ?></a></td>
- <td><?php echo scrub_out($flag->f_user_username); ?></td>
- <td><?php $flag->print_flag(); ?></td>
- <td><?php echo scrub_out($flag->comment); ?></td>
- <td><?php $flag->print_status(); ?></td>
- <td align="center">
+ <td class="cel_object"><a href="<?php echo Config::get('web_path'); ?>/admin/flag.php?action=show_edit_song&song=<?php echo $flag->object_id; ?>"><?php $flag->print_name(); ?></a></td>
+ <td class="cel_username"><?php echo scrub_out($flag->f_user_username); ?></td>
+ <td class="cel_flag"><?php $flag->print_flag(); ?></td>
+ <td class="cel_comment"><?php echo scrub_out($flag->comment); ?></td>
+ <td class="cel_status"><?php $flag->print_status(); ?></td>
+ <td class="cel_action">
<?php if ($flag->approved) { ?>
<a href="<?php echo $web_path; ?>/admin/flag.php?action=reject_flag&amp;flag_id=<?php echo $flag->id; ?>">
<?php echo get_user_icon('disable'); ?>
@@ -68,6 +77,15 @@ $web_path = Config::get('web_path');
<input class="button" type="submit" value="<?php echo _('Update'); ?>" />
</td>
</tr>
+<tr class="th-bottom">
+ <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></th>
+ <th class="cel_object"><?php echo _('Object'); ?></th>
+ <th class="cel_username"><?php echo _('User'); ?></th>
+ <th class="cel_flag"><?php echo _('Flag'); ?></th>
+ <th class="cel_comment"><?php echo _('Comment'); ?></th>
+ <th class="cel_status"><?php echo _('Status'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+</tr>
</table>
</form>
<div class="text-action">
diff --git a/templates/show_genres.inc.php b/templates/show_genres.inc.php
index f0570100..d2df78ba 100644
--- a/templates/show_genres.inc.php
+++ b/templates/show_genres.inc.php
@@ -25,18 +25,18 @@
*/
?>
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
-<table class="tabledata" cellspacing="0" cellpadding="0">
+<table class="tabledata" cellpadding="0" cellspacing="0">
<colgroup>
- <col id="br_add" />
- <col id="br_genre" />
- <col id="br_songs" />
- <col id="br_action" />
+ <col id="col_add" />
+ <col id="col_genre" />
+ <col id="col_songs" />
+ <col id="col_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',_('Genre'),'sort_genre_name'); ?></th>
- <th><?php echo _('Songs'); ?></th>
- <th><?php echo _('Action'); ?></th>
+<tr class="th-top">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_genre"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Genre'),'sort_genre_name'); ?></th>
+ <th class="cel_songs"><?php echo _('Songs'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php
foreach ($object_ids as $genre_id) {
@@ -44,7 +44,7 @@ foreach ($object_ids as $genre_id) {
$genre->format();
?>
<tr class="<?php echo flip_class(); ?>">
- <td>
+ <td class="cel_add">
<span onclick="ajaxPut('<?php echo Config::get('ajax_url'); ?>?action=basket&amp;type=genre&amp;id=<?php echo $genre->id; ?>');return true;" >
<?php echo get_user_icon('add'); ?>
</span>
@@ -52,9 +52,9 @@ foreach ($object_ids as $genre_id) {
<?php echo get_user_icon('random'); ?>
</span>
</td>
- <td><?php echo $genre->f_link; ?></td>
- <td><?php echo $genre->get_song_count(); ?></td>
- <td>
+ <td class="cel_genre"><?php echo $genre->f_link; ?></td>
+ <td class="cel_songs"><?php echo $genre->get_song_count(); ?></td>
+ <td class="cel_action">
<?php if (Access::check_function('batch_download')) { ?>
<a href="<?php echo $genre->download_link; ?>">
<?php echo get_user_icon('batch_download'); ?>
@@ -63,11 +63,11 @@ foreach ($object_ids as $genre_id) {
</td>
</tr>
<?php } // end foreach genres ?>
-<tr class="table-header th-bottom">
- <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 _('Songs'); ?></th>
- <th><?php echo _('Action'); ?></th>
+<tr class="th-bottom">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_genre"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Genre'),'sort_genre_name'); ?></th>
+ <th class="cel_songs"><?php echo _('Songs'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
</table>
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
diff --git a/templates/show_install.inc b/templates/show_install.inc.php
index 5a477e74..5a477e74 100644
--- a/templates/show_install.inc
+++ b/templates/show_install.inc.php
diff --git a/templates/show_install_config.inc b/templates/show_install_config.inc.php
index 9b5c477b..9b5c477b 100644
--- a/templates/show_install_config.inc
+++ b/templates/show_install_config.inc.php
diff --git a/templates/show_ip_history.inc.php b/templates/show_ip_history.inc.php
index d3b2a010..0e30c93f 100644
--- a/templates/show_ip_history.inc.php
+++ b/templates/show_ip_history.inc.php
@@ -28,24 +28,29 @@
<a href="<?php echo Config::get('web_path')?>/admin/users.php?action=show_ip_history&user_id=<?php echo $working_user->id?>&all"><?php echo _('Show All'); ?>...</a>
<?php }?>
</div>
-<table>
-<tr class="table-header">
- <td align="center">
- <?php echo _('Date'); ?>
- </td>
- <td align=\"center\">
- <?php echo _('IP Address'); ?>
- </td>
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_date" />
+ <col id="col_ipaddress" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_date"><?php echo _('Date'); ?></th>
+ <th class="cel_ipaddress"><?php echo _('IP Address'); ?></th>
</tr>
<?php foreach ($history as $data) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td>
+ <td class="cel_date">
<?php echo date("d/m/Y H\hi",$data['date']); ?>
</td>
- <td>
+ <td class="cel_ipaddress">
<?php echo int2ip($data['ip']); ?>
</td>
</tr>
<?php } ?>
+<tr class="th-bottom">
+ <th class="cel_date"><?php echo _('Date'); ?></th>
+ <th class="cel_ipaddress"><?php echo _('IP Address'); ?></th>
+</tr>
+
</table>
<?php show_box_bottom(); ?>
diff --git a/templates/show_list_duplicates.inc.php b/templates/show_list_duplicates.inc.php
index f4ff4b58..f835cf8a 100644
--- a/templates/show_list_duplicates.inc.php
+++ b/templates/show_list_duplicates.inc.php
@@ -25,16 +25,26 @@ show_duplicate_searchbox($search_type);
if (count($flags)) { ?>
<?php show_box_top(_('Duplicate Songs')); ?>
<form method="post" enctype="multipart/form-data" action="<?php echo $web_path; ?>/admin/flag.php?action=disable">
- <table class="tabledata">
- <tr class="table-header">
- <td><?php echo _('Disable'); ?></td>
- <td><?php echo _('Song'); ?></td>
- <td><?php echo _('Artist'); ?></td>
- <td><?php echo _('Album'); ?></td>
- <td><?php echo _('Length'); ?></td>
- <td><?php echo _('Bitrate'); ?></td>
- <td><?php echo _('Size'); ?></td>
- <td><?php echo _('Filename'); ?></td>
+ <table class="tabledata" cellpadding="0" cellspacing="0">
+ <colgroup>
+ <col id="col_disable" />
+ <col id="col_song" />
+ <col id="col_artist" />
+ <col id="col_album" />
+ <col id="col_length" />
+ <col id="col_bitrate" />
+ <col id="col_size" />
+ <col id="col_filename" />
+ </colgroup>
+ <tr class="th-top">
+ <th class="cel_disable"><?php echo _('Disable'); ?></th>
+ <th class="cel_song"><?php echo _('Song'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_length"><?php echo _('Length'); ?></th>
+ <th class="cel_bitrate"><?php echo _('Bitrate'); ?></th>
+ <th class="cel_size"><?php echo _('Size'); ?></th>
+ <th class="cel_filename"><?php echo _('Filename'); ?></th>
</tr>
<?php
foreach ($flags as $flag) {
@@ -58,14 +68,14 @@ if (count($flags)) { ?>
$check_txt = '';
if ($key == '0' AND $_REQUEST['auto']) { $check_txt = ' checked="checked"'; }
echo "<tr class=\"".$current_class."\">".
- "<td><input type=\"checkbox\" name=\"song_ids[]\" value=\"" . $dinfo['songid'] . "\" $check_txt/></td>".
- "<td><a href=\"$web_path/stream.php?action=single_song&amp;song_id=$song->id\">".scrub_out($formated_title)."</a> </td>".
- "<td><a href=\"$web_path/artists.php?action=show&amp;artist=".$dinfo['artistid']."\" title=\"".scrub_out($dinfo['artist'])."\">".scrub_out($dinfo['artist'])."</a> </td>".
- "<td><a href=\"$web_path/albums.php?action=show&amp;album=".$dinfo['albumid']."\" title=\"".scrub_out($dinfo['album'])."\">".scrub_out($dinfo['album'])."</a> </td>".
- "<td>".floor($dinfo['time']/60).":".sprintf("%02d", ($dinfo['time']%60) )."</td>".
- "<td>".intval($dinfo['bitrate']/1000)."</td>".
- "<td>".sprintf("%.2f", ($dinfo['size']/1048576))."MB</td>".
- "<td>".$dinfo['file']."</td>";
+ "<td class=\"cel_disable\"><input type=\"checkbox\" name=\"song_ids[]\" value=\"" . $dinfo['songid'] . "\" $check_txt/></td>".
+ "<td class=\"cel_song\"><a href=\"$web_path/stream.php?action=single_song&amp;song_id=$song->id\">".scrub_out($formated_title)."</a> </td>".
+ "<td class=\"cel_artist\"><a href=\"$web_path/artists.php?action=show&amp;artist=".$dinfo['artistid']."\" title=\"".scrub_out($dinfo['artist'])."\">".scrub_out($dinfo['artist'])."</a> </td>".
+ "<td class=\"cel_album\"><a href=\"$web_path/albums.php?action=show&amp;album=".$dinfo['albumid']."\" title=\"".scrub_out($dinfo['album'])."\">".scrub_out($dinfo['album'])."</a> </td>".
+ "<td class=\"cel_length\">".floor($dinfo['time']/60).":".sprintf("%02d", ($dinfo['time']%60) )."</td>".
+ "<td class=\"cel_bitrate\">".intval($dinfo['bitrate']/1000)."</td>".
+ "<td class=\"cel_size\">".sprintf("%.2f", ($dinfo['size']/1048576))."MB</td>".
+ "<td class=\"cel_filename\">".$dinfo['file']."</td>";
echo "</tr>\n";
} // end foreach ($dinfolist as $dinfo)
@@ -74,6 +84,16 @@ if (count($flags)) { ?>
<tr>
<td colspan="8" class="<?php echo flip_class(); ?>"><input type="submit" value="<?php echo _('Disable Songs'); ?>" /></td>
</tr>
+ <tr class="th-bottom">
+ <th class="cel_disable"><?php echo _('Disable'); ?></th>
+ <th class="cel_song"><?php echo _('Song'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_length"><?php echo _('Length'); ?></th>
+ <th class="cel_bitrate"><?php echo _('Bitrate'); ?></th>
+ <th class="cel_size"><?php echo _('Size'); ?></th>
+ <th class="cel_filename"><?php echo _('Filename'); ?></th>
+ </tr>
</table>
</form>
<?php show_box_bottom(); ?>
diff --git a/templates/show_live_stream_row.inc.php b/templates/show_live_stream_row.inc.php
index 773b1d35..23e0f9d7 100644
--- a/templates/show_live_stream_row.inc.php
+++ b/templates/show_live_stream_row.inc.php
@@ -19,14 +19,14 @@
*/
?>
-<td>
+<td class="cel_add">
<?php echo Ajax::button('?action=basket&type=live_stream&id=' . $radio->id,'add',_('Add'),'add_radio_' . $radio->id); ?>
</td>
-<td><?php echo $radio->f_name_link; ?></td>
-<td><?php echo $radio->f_callsign; ?></td>
-<td><?php echo $radio->f_frequency; ?></td>
-<td><?php echo $radio->f_genre; ?></td>
-<td>
+<td class="cel_streamname"><?php echo $radio->f_name_link; ?></td>
+<td class="cel_callsign"><?php echo $radio->f_callsign; ?></td>
+<td class="cel_frequency"><?php echo $radio->f_frequency; ?></td>
+<td class="cel_genre"><?php echo $radio->f_genre; ?></td>
+<td class="cel_action">
<?php if ($GLOBALS['user']->has_access('50')) { ?>
<?php echo Ajax::button('?action=show_edit_object&type=live_stream&id=' . $radio->id,'edit',_('Edit'),'edit_radio_' . $radio->id); ?>
<?php } ?>
diff --git a/templates/show_live_streams.inc.php b/templates/show_live_streams.inc.php
index beb44f10..b315922c 100644
--- a/templates/show_live_streams.inc.php
+++ b/templates/show_live_streams.inc.php
@@ -22,22 +22,22 @@ $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" cellpadding="0" cellspacing="0">
<colgroup>
- <col id="br_add" />
- <col id="br_streamname" />
- <col id="br_callsign" />
- <col id="br_frequency" />
- <col id="br_genre" />
- <col id="br_action" />
+ <col id="col_add" />
+ <col id="col_streamname" />
+ <col id="col_callsign" />
+ <col id="col_frequency" />
+ <col id="col_genre" />
+ <col id="col_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',_('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=frequency',_('Frequency'),'live_stream_frequency'); ?></th>
- <th><?php echo _('Genre'); ?></th>
- <th><?php echo _('Action'); ?> </th>
+<tr class="th-top">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_streamname"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Name'),'live_stream_sort_name'); ?></th>
+ <th class="cel_callsign"><?php echo Ajax::text('?page=browse&action=set_sort&sort=call_sign',_('Callsign'),'live_stream_call_sign'); ?></th>
+ <th class="cel_frequency"><?php echo Ajax::text('?page=browse&action=set_sort&sort=frequency',_('Frequency'),'live_stream_frequency'); ?></th>
+ <th class="cel_genre"><?php echo _('Genre'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?> </th>
</tr>
<?php
foreach ($object_ids as $radio_id) {
@@ -48,13 +48,13 @@ foreach ($object_ids as $radio_id) {
<?php require Config::get('prefix') . '/templates/show_live_stream_row.inc.php'; ?>
</tr>
<?php } //end foreach ($artists as $artist) ?>
-<tr class="table-header th-bottom">
- <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=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 class="th-bottom">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_streamname"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Name'),'live_stream_sort_name'); ?></th>
+ <th class="cel_callsign"><?php echo Ajax::text('?page=browse&action=set_sort&sort=call_sign',_('Callsign'),'live_stream_call_sign'); ?></th>
+ <th class="cel_frequency"><?php echo Ajax::text('?page=browse&action=set_sort&sort=frequency',_('Frequency'),'live_stream_frequency'); ?></th>
+ <th class="cel_genre"><?php echo _('Genre'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?> </th>
</tr>
</table>
<?php require Config::Get('prefix') . '/templates/list_header.inc.php'; ?>
diff --git a/templates/show_local_catalog_info.inc.php b/templates/show_local_catalog_info.inc.php
index 49c6a309..389f3099 100644
--- a/templates/show_local_catalog_info.inc.php
+++ b/templates/show_local_catalog_info.inc.php
@@ -22,16 +22,16 @@
?>
<?php show_box_top(_('Catalog Statistics')); ?>
-<table cellspacing="1" cellpadding="3">
-<tr class="table-header">
- <td><?php echo _('Connected Users'); ?></td>
- <td><?php echo _('Total Users'); ?></td>
- <td><?php echo _('Albums'); ?></td>
- <td><?php echo _('Artists'); ?></td>
- <td><?php echo _('Songs'); ?></td>
- <td><?php echo _('Genres'); ?></td>
- <td><?php echo _('Catalog Size'); ?></td>
- <td><?php echo _('Catalog Time'); ?></td>
+<table class="tabledata" cellpadding="3" cellspacing="1">
+<tr class="th-top">
+ <th><?php echo _('Connected Users'); ?></th>
+ <th><?php echo _('Total Users'); ?></th>
+ <th><?php echo _('Albums'); ?></th>
+ <th><?php echo _('Artists'); ?></th>
+ <th><?php echo _('Songs'); ?></th>
+ <th><?php echo _('Genres'); ?></th>
+ <th><?php echo _('Catalog Size'); ?></th>
+ <th><?php echo _('Catalog Time'); ?></th>
</tr>
<tr>
<td><?php echo $stats['connected']; ?></td>
diff --git a/templates/show_localplay_controllers.inc.php b/templates/show_localplay_controllers.inc.php
index 3e8cd613..ba7b5fcb 100644
--- a/templates/show_localplay_controllers.inc.php
+++ b/templates/show_localplay_controllers.inc.php
@@ -21,12 +21,18 @@
$web_path = Config::get('web_path');
?>
<!-- Plugin we've found -->
-<table class="tabledata" cellspacing="0">
-<tr class="table-header">
- <th><?php echo _('Name'); ?></th>
- <th><?php echo _('Description'); ?></th>
- <th><?php echo _('Version'); ?></th>
- <th><?php echo _('Action'); ?></th>
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_name" />
+ <col id="col_description" />
+ <col id="col_version" />
+ <col id="col_action" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_description"><?php echo _('Description'); ?></th>
+ <th class="cel_version"><?php echo _('Version'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php
foreach ($controllers as $controller) {
@@ -43,16 +49,22 @@ foreach ($controllers as $controller) {
}
?>
<tr class="<?php echo flip_class(); ?>">
- <td><?php echo scrub_out($localplay->f_name); ?></td>
- <td><?php echo scrub_out($localplay->f_description); ?></td>
- <td><?php echo scrub_out($localplay->f_version); ?></td>
- <td><a href="<?php echo $web_path; ?>/admin/modules.php?action=<?php echo $action; ?>&amp;type=<?php echo urlencode($controller); ?>"><?php echo $action_txt; ?></a></td>
+ <td class="cel_name"><?php echo scrub_out($localplay->f_name); ?></td>
+ <td class="cel_description"><?php echo scrub_out($localplay->f_description); ?></td>
+ <td class="cel_version"><?php echo scrub_out($localplay->f_version); ?></td>
+ <td class="cel_action"><a href="<?php echo $web_path; ?>/admin/modules.php?action=<?php echo $action; ?>&amp;type=<?php echo urlencode($controller); ?>"><?php echo $action_txt; ?></a></td>
</tr>
<?php } if (!count($controllers)) { ?>
<tr class="<?php echo flip_class(); ?>">
<td colspan="4"><span class="error"><?php echo _('No Records Found'); ?></span></td>
</tr>
<?php } ?>
+<tr class="th-bottom">
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_description"><?php echo _('Description'); ?></th>
+ <th class="cel_version"><?php echo _('Version'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+</tr>
</table>
<br />
diff --git a/templates/show_localplay_playlist.inc.php b/templates/show_localplay_playlist.inc.php
index 216f1523..10f8ecb9 100644
--- a/templates/show_localplay_playlist.inc.php
+++ b/templates/show_localplay_playlist.inc.php
@@ -20,25 +20,30 @@
*/
?>
<?php show_box_top(_('Current Playlist')); ?>
-<table class="table-data" cellspacing="0">
-<tr class="table-header">
- <th><?php echo _('Track'); ?></th>
- <th><?php echo _('Name'); ?></th>
- <th><?php echo _('Action'); ?></th>
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_track" />
+ <col id="col_name" />
+ <col id="col_action" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_track"><?php echo _('Track'); ?></th>
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php
foreach ($objects as $object) {
- $class = '';
- if ($status['track'] == $object['track']) { $class=' class="lp_current"'; }
+ $class = ' class="cel_name"';
+ if ($status['track'] == $song['track']) { $class=' class="cel_name lp_current"'; }
?>
<tr class="<?php echo flip_class(); ?>" id="localplay_playlist_<?php echo $object['id']; ?>">
- <td>
+ <td class="cel_track">
<?php echo scrub_out($object['track']); ?>
</td>
<td<?php echo $class; ?>>
<?php echo $localplay->format_name($object['name'],$object['id']); ?>
</td>
- <td>
+ <td class="cel_action">
<?php echo Ajax::button('?page=localplay&action=delete_track&id=' . intval($object['id']),'delete',_('Delete'),'localplay_delete_' . intval($object['id'])); ?>
</td>
</tr>
@@ -47,5 +52,10 @@ foreach ($objects as $object) {
<td colspan="3"><span class="error"><?php echo _('No Records Found'); ?></span></td>
</tr>
<?php } ?>
+<tr class="th-bottom">
+ <th class="cel_track"><?php echo _('Track'); ?></th>
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+</tr>
</table>
<?php show_box_bottom(); ?>
diff --git a/templates/show_login_form.inc b/templates/show_login_form.inc.php
index ea271460..ea271460 100644
--- a/templates/show_login_form.inc
+++ b/templates/show_login_form.inc.php
diff --git a/templates/show_playlist_row.inc.php b/templates/show_playlist_row.inc.php
index 91b7877b..1efb252a 100644
--- a/templates/show_playlist_row.inc.php
+++ b/templates/show_playlist_row.inc.php
@@ -19,14 +19,14 @@
*/
?>
-<td>
+<td class="cel_add">
<?php echo Ajax::button('?action=basket&type=playlist&id=' . $playlist->id,'add',_('Add'),'add_playlist_' . $playlist->id); ?>
<?php echo Ajax::button('?action=basket&type=playlist_random&id=' . $playlist->id,'random',_('Random'),'random_playlist_' . $playlist->id); ?>
</td>
-<td><?php echo $playlist->f_link; ?></td>
-<td><?php echo $count; ?></td>
-<td><?php echo scrub_out($playlist->f_user); ?></td>
-<td>
+<td class="cel_playlist"><?php echo $playlist->f_link; ?></td>
+<td class="cel_songs"><?php echo $count; ?></td>
+<td class="cel_owner"><?php echo scrub_out($playlist->f_user); ?></td>
+<td class="cel_action">
<?php if (Access::check_function('batch_download')) { ?>
<a href="<?php echo Config::get('web_path'); ?>/batch.php?action=playlist&amp;id=<?php echo $playlist->id; ?>">
<?php echo get_user_icon('batch_download',_('Batch Download')); ?>
diff --git a/templates/show_playlist_song_row.inc.php b/templates/show_playlist_song_row.inc.php
index 9cfcc992..e96aa91b 100644
--- a/templates/show_playlist_song_row.inc.php
+++ b/templates/show_playlist_song_row.inc.php
@@ -19,15 +19,15 @@
*/
?>
-<td><?php echo Ajax::button('?action=basket&type=song&id=' . $song->id,'add',_('Add'),'playlist_add_' . $song->id); ?></td>
-<td><?php echo $playlist_track; ?></td>
-<td><?php echo $song->f_link; ?></td>
-<td><?php echo $song->f_artist_link; ?></td>
-<td><?php echo $song->f_album_link; ?></td>
-<td><?php echo $song->f_genre_link; ?></td>
-<td><?php echo $song->f_track; ?></td>
-<td><?php echo $song->f_time; ?></td>
-<td>
+<td class="cel_add"><?php echo Ajax::button('?action=basket&type=song&id=' . $song->id,'add',_('Add'),'playlist_add_' . $song->id); ?></td>
+<td class="cel_track"><?php echo $playlist_track; ?></td>
+<td class="cel_song"><?php echo $song->f_link; ?></td>
+<td class="cel_artist"><?php echo $song->f_artist_link; ?></td>
+<td class="cel_album"><?php echo $song->f_album_link; ?></td>
+<td class="cel_genre"><?php echo $song->f_genre_link; ?></td>
+<td class="cel_track"><?php echo $song->f_track; ?></td>
+<td class="cel_time"><?php echo $song->f_time; ?></td>
+<td class="cel_action">
<?php if ($GLOBALS['user']->prefs['download']) { ?>
<a href="<?php echo Config::get('web_path'); ?>/stream.php?action=download&amp;song_id=<?php echo $song->id; ?>">
<?php echo get_user_icon('download',_('Download')); ?>
diff --git a/templates/show_playlist_songs.inc.php b/templates/show_playlist_songs.inc.php
index 17aa68a6..b0ba1e95 100644
--- a/templates/show_playlist_songs.inc.php
+++ b/templates/show_playlist_songs.inc.php
@@ -23,22 +23,29 @@
$web_path = Config::get('web_path');
$ajax_url = Config::get('ajax_url');
?>
-<table class="tabledata" cellspacing="0" cellpadding="0">
-<tr>
- <td colspan="8">
- <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
- </td>
-</tr>
-<tr class="table-header">
- <th>&nbsp;</th>
- <th><?php echo _('Track'); ?></th>
- <th><?php echo _('Song Title'); ?></th>
- <th><?php echo _('Artist'); ?></th>
- <th><?php echo _('Album'); ?></th>
- <th><?php echo _('Genre'); ?></th>
- <th><?php echo _('Track'); ?></th>
- <th><?php echo _('Time'); ?></th>
- <th><?php echo _('Action'); ?></th>
+<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_add" />
+ <col id="col_track" />
+ <col id="col_song" />
+ <col id="col_artist" />
+ <col id="col_album" />
+ <col id="col_genre" />
+ <col id="col_track" />
+ <col id="col_time" />
+ <col id="col_action" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_add">&nbsp;</th>
+ <th class="cel_track"><?php echo _('Track'); ?></th>
+ <th class="cel_song"><?php echo _('Song Title'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_genre"><?php echo _('Genre'); ?></th>
+ <th class="cel_track"><?php echo _('Track'); ?></th>
+ <th class="cel_time"><?php echo _('Time'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php
foreach ($object_ids as $object) {
@@ -50,9 +57,16 @@ $ajax_url = Config::get('ajax_url');
<?php require Config::get('prefix') . '/templates/show_playlist_song_row.inc.php'; ?>
</tr>
<?php } ?>
-<tr>
- <td colspan="8">
- <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
- </td>
+<tr class="th-bottom">
+ <th class="cel_add">&nbsp;</th>
+ <th class="cel_track"><?php echo _('Track'); ?></th>
+ <th class="cel_song"><?php echo _('Song Title'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_genre"><?php echo _('Genre'); ?></th>
+ <th class="cel_track"><?php echo _('Track'); ?></th>
+ <th class="cel_time"><?php echo _('Time'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
</table>
+<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
diff --git a/templates/show_playlists.inc.php b/templates/show_playlists.inc.php
index c2da7945..385877f8 100644
--- a/templates/show_playlists.inc.php
+++ b/templates/show_playlists.inc.php
@@ -21,20 +21,20 @@
*/
?>
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
-<table class="tabledata" cellspacing="0" cellpadding="0">
+<table class="tabledata" cellpadding="0" cellspacing="0">
<colgroup>
- <col id="br_add" />
- <col id="br_playlist" />
- <col id="br_songs" />
- <col id="br_owner" />
- <col id="br_action" />
+ <col id="col_add" />
+ <col id="col_playlist" />
+ <col id="col_songs" />
+ <col id="col_owner" />
+ <col id="col_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 _('# Songs'); ?></th>
- <th><?php echo _('Owner'); ?></th>
- <th><?php echo _('Actions'); ?></th>
+<tr class="th-top">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Playlist Name'),'playlist_sort_name'); ?></th>
+ <th class="cel_songs"><?php echo _('# Songs'); ?></th>
+ <th class="cel_owner"><?php echo _('Owner'); ?></th>
+ <th class="cel_action"><?php echo _('Actions'); ?></th>
</tr>
<?php
foreach ($object_ids as $playlist_id) {
@@ -46,12 +46,12 @@ foreach ($object_ids as $playlist_id) {
<?php require Config::get('prefix') . '/templates/show_playlist_row.inc.php'; ?>
</tr>
<?php } // end foreach ($playlists as $playlist) ?>
-<tr class="table-header th-bottom">
- <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 _('# Songs'); ?></th>
- <th><?php echo _('Owner'); ?></th>
- <th><?php echo _('Actions'); ?></th>
+<tr class="th-bottom">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_playlist"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Playlist Name'),'playlist_sort_name'); ?></th>
+ <th class="cel_songs"><?php echo _('# Songs'); ?></th>
+ <th class="cel_owner"><?php echo _('Owner'); ?></th>
+ <th class="cel_action"><?php echo _('Actions'); ?></th>
</tr>
</table>
<?php require Config::get('prefix') . '/templates/list_header.inc.php' ?>
diff --git a/templates/show_plugins.inc.php b/templates/show_plugins.inc.php
index a87e3f9b..6bc5cf26 100644
--- a/templates/show_plugins.inc.php
+++ b/templates/show_plugins.inc.php
@@ -21,12 +21,18 @@
$web_path = Config::get('web_path');
?>
<!-- Plugin we've found -->
-<table class="tabledata" cellspacing="0">
-<tr class="table-header">
- <th><?php echo _('Name'); ?></th>
- <th><?php echo _('Description'); ?></th>
- <th><?php echo _('Version'); ?></th>
- <th><?php echo _('Action'); ?></th>
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_name" />
+ <col id="col_description" />
+ <col id="col_version" />
+ <col id="col_action" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_description"><?php echo _('Description'); ?></th>
+ <th class="cel_version"><?php echo _('Version'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php
foreach ($plugins as $plugin_name) {
@@ -41,16 +47,22 @@ foreach ($plugins as $plugin_name) {
}
?>
<tr class="<?php echo flip_class(); ?>">
- <td><?php echo scrub_out($plugin->_plugin->name); ?></td>
- <td><?php echo scrub_out($plugin->_plugin->description); ?></td>
- <td><?php echo scrub_out($plugin->_plugin->version); ?></td>
- <td><?php echo $action; ?></td>
+ <td class="cel_name"><?php echo scrub_out($plugin->_plugin->name); ?></td>
+ <td class="cel_description"><?php echo scrub_out($plugin->_plugin->description); ?></td>
+ <td class="cel_version"><?php echo scrub_out($plugin->_plugin->version); ?></td>
+ <td class="cel_action"><?php echo $action; ?></td>
</tr>
<?php } if (!count($plugins)) { ?>
<tr class="<?php echo flip_class(); ?>">
<td colspan="4"><span class="error"><?php echo _('No Records Found'); ?></span></td>
</tr>
<?php } ?>
+<tr class="th-bottom">
+ <th class="cel_name"><?php echo _('Name'); ?></th>
+ <th class="cel_description"><?php echo _('Description'); ?></th>
+ <th class="cel_version"><?php echo _('Version'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+</tr>
</table>
<br />
diff --git a/templates/show_preference_admin.inc.php b/templates/show_preference_admin.inc.php
index 6fa4de4a..01cae624 100644
--- a/templates/show_preference_admin.inc.php
+++ b/templates/show_preference_admin.inc.php
@@ -21,17 +21,21 @@
?>
<?php show_box_top(_('Preference Administration')); ?>
<form method="post" action="<?php echo conf('web_path'); ?>/admin/preferences.php" enctype="multipart/form-data">
-<table cellspacing="0">
-<tr class="table-header">
- <td><?php echo _('Preference'); ?></td>
- <td><?php echo _('Level'); ?></td>
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_preference" />
+ <col id="col_level" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_preference"><?php echo _('Preference'); ?></th>
+ <th class="cel_level"><?php echo _('Level'); ?></th>
</tr>
<?php foreach ($preferences as $preference) {
unset($is_25,$is_5,$is_100);
?>
<tr class="<?php echo flip_class(); ?>">
- <td><?php echo scrub_out($preference['description']); ?></td>
- <td>
+ <td class="cel_preference"><?php echo scrub_out($preference['description']); ?></td>
+ <td class="cel_level">
<?php $level_name = "is_" . $preference['level']; ${$level_name} = 'selected="selected"'; ?>
<select name="prefs[<?php echo scrub_out($preference['name']); ?>]">
<option value="5" <?php echo $is_5; ?>><?php echo _('Guest'); ?></option>
@@ -47,6 +51,10 @@
<input type="submit" value="<?php echo _('Update'); ?>" />
</td>
</tr>
+<tr class="th-bottom">
+ <th class="cel_preference"><?php echo _('Preference'); ?></th>
+ <th class="cel_level"><?php echo _('Level'); ?></th>
+</tr>
</table>
</form>
<?php show_box_bottom(); ?>
diff --git a/templates/show_preference_box.inc.php b/templates/show_preference_box.inc.php
index e435c005..b1964841 100644
--- a/templates/show_preference_box.inc.php
+++ b/templates/show_preference_box.inc.php
@@ -26,27 +26,33 @@ if (($GLOBALS['user']->has_access(100) OR !Config::get('use_auth')) AND $_REQUES
$is_admin = true;
}
?>
+<div class="header2"><?php echo $preferences['title']; ?></div>
<table class="tabledata" cellpadding="0" cellspacing="0">
-<tr class="odd">
- <th colspan="5" class="header2" align="left"><?php echo $preferences['title']; ?></th>
-</tr>
-<tr class="table-header">
- <th><?php echo _('Preference'); ?></th>
- <th><?php echo _('Value'); ?></th>
+<colgroup>
+ <col id="col_preference" />
+ <col id="col_value" />
+ <?php if ($is_admin) { ?>
+ <col id="col_applytoall" />
+ <col id="col_level" />
+ <?php } ?>
+</colgroup>
+<tr class="th-top">
+ <th class="cel_preference"><?php echo _('Preference'); ?></th>
+ <th class="cel_value"><?php echo _('Value'); ?></th>
<?php if ($is_admin) { ?>
- <th><?php echo _('Apply to All'); ?></th>
- <th><?php echo _('Access Level'); ?></th>
+ <th class="cel_applytoall"><?php echo _('Apply to All'); ?></th>
+ <th class="cel_level"><?php echo _('Access Level'); ?></th>
<?php } ?>
</tr>
<?php foreach ($preferences['prefs'] as $pref) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td><?php echo _($pref['description']); ?></td>
- <td>
+ <td class="cel_preference"><?php echo _($pref['description']); ?></td>
+ <td class="cel_value">
<?php create_preference_input($pref['name'], $pref['value']); ?>
</td>
<?php if ($is_admin) { ?>
- <td align="center"><input type="checkbox" name="check_<?php echo $pref['name']; ?>" value="1" /></td>
- <td align="center">
+ <td class="cel_applytoall"><input type="checkbox" name="check_<?php echo $pref['name']; ?>" value="1" /></td>
+ <td class="cel_level">
<?php $name = 'on_' . $pref['level']; ${$name} = 'selected="selected"'; ?>
<select name="level_<?php echo $pref['name']; ?>">
<option value="5" <?php echo $on_5; ?>><?php echo _('Guest'); ?></option>
@@ -60,4 +66,12 @@ if (($GLOBALS['user']->has_access(100) OR !Config::get('use_auth')) AND $_REQUES
<?php } ?>
</tr>
<?php } // End foreach ($preferences['prefs'] as $pref) ?>
+<tr class="th-bottom">
+ <th class="cel_preference"><?php echo _('Preference'); ?></th>
+ <th class="cel_value"><?php echo _('Value'); ?></th>
+ <?php if ($is_admin) { ?>
+ <th class="cel_applytoall"><?php echo _('Apply to All'); ?></th>
+ <th class="cel_level"><?php echo _('Access Level'); ?></th>
+ <?php } ?>
+</tr>
</table>
diff --git a/templates/show_random.inc.php b/templates/show_random.inc.php
index 428d7ccc..5cfdc9a0 100644
--- a/templates/show_random.inc.php
+++ b/templates/show_random.inc.php
@@ -76,7 +76,7 @@
</tr>
<tr>
<td colspan="4">
- <?php echo Ajax::text("?page=random&action=advanced_random",_('Enqueue'),'advanced_random_enqueue','random','smallbutton'); ?>
+ <?php echo Ajax::text("?page=random&action=advanced_random",_('Enqueue'),'advanced_random_enqueue','random','button'); ?>
</td>
</tr>
</table>
diff --git a/templates/show_recently_played.inc.php b/templates/show_recently_played.inc.php
index 0e1ee595..4d3b416d 100644
--- a/templates/show_recently_played.inc.php
+++ b/templates/show_recently_played.inc.php
@@ -23,13 +23,20 @@
$time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days ago'),_('weeks ago'),_('months ago'),_('years ago'));
?>
-<table class="table-data" cellspacing="0">
-<tr class="table-header">
- <th><?php echo _('Username'); ?></th>
- <th><?php echo _('Song'); ?></th>
- <th><?php echo _('Album'); ?></th>
- <th><?php echo _('Artist'); ?></th>
- <th><?php echo _('Last Played'); ?></th>
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_username" />
+ <col id="col_song" />
+ <col id="col_album" />
+ <col id="col_artist" />
+ <col id="col_lastplayed" />
+</colgroup>
+<tr class="th-top">
+ <th class="cel_username"><?php echo _('Username'); ?></th>
+ <th class="cel_song"><?php echo _('Song'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_lastplayed"><?php echo _('Last Played'); ?></th>
</tr>
<?php foreach ($data as $row) {
$row_user = new User($row['user']);
@@ -62,15 +69,22 @@ $time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days a
$song->format();
?>
<tr class="<?php echo flip_class(); ?>">
- <td>
+ <td class="cel_username">
<a href="<?php echo Config::get('web_path'); ?>/stats.php?action=show_user&amp;user_id=<?php echo scrub_out($row_user->id); ?>">
<?php echo scrub_out($row_user->fullname); ?>
</a>
</td>
- <td><?php echo $song->f_link; ?></td>
- <td><?php echo $song->f_album_link; ?></td>
- <td><?php echo $song->f_artist_link; ?></td>
- <td><?php echo $time_string; ?></td>
+ <td class="cel_song"><?php echo $song->f_link; ?></td>
+ <td class="cel_album"><?php echo $song->f_album_link; ?></td>
+ <td class="cel_artist"><?php echo $song->f_artist_link; ?></td>
+ <td class="cel_lastplayed"><?php echo $time_string; ?></td>
</tr>
<?php } ?>
+<tr class="th-bottom">
+ <th class="cel_username"><?php echo _('Username'); ?></th>
+ <th class="cel_song"><?php echo _('Song'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_lastplayed"><?php echo _('Last Played'); ?></th>
+</tr>
</table>
diff --git a/templates/show_search.inc.php b/templates/show_search.inc.php
index 9e97591b..d69574d9 100644
--- a/templates/show_search.inc.php
+++ b/templates/show_search.inc.php
@@ -25,10 +25,7 @@
?>
<?php show_box_top(_('Search Ampache') . "..."); ?>
<form name="search" method="post" action="<?php echo Config::get('web_path'); ?>/search.php" enctype="multipart/form-data" style="Display:inline">
-<table class="tabledata" cellspacing="0" cellpadding="3">
-<tr class="table-header">
- <td colspan="4">&nbsp;</td>
-</tr>
+<table class="tabledata" cellpadding="3" cellspacing="0">
<tr class="<?php echo flip_class(); ?>">
<td><?php echo _('Keywords') ?></td>
<td>
diff --git a/templates/show_search_bar.inc.php b/templates/show_search_bar.inc.php
index 63322f37..e186b78f 100644
--- a/templates/show_search_bar.inc.php
+++ b/templates/show_search_bar.inc.php
@@ -26,8 +26,8 @@
<input type="hidden" name="action" value="quick_search" />
<input type="hidden" name="method" value="fuzzy" />
<input type="hidden" name="object_type" value="song" />
- <input class="smallbutton" type="submit" value="<?php echo _('Search'); ?>" id="searchBtn" />
- <a href="<?php echo $web_path; ?>/search.php" class="smallbutton" id="advSearchBtn"><?php echo _('Advanced Search'); ?></a>
+ <input class="button" type="submit" value="<?php echo _('Search'); ?>" id="searchBtn" />
+ <a href="<?php echo $web_path; ?>/search.php" class="button" id="advSearchBtn"><?php echo _('Advanced Search'); ?></a>
</form>
</div>
diff --git a/templates/show_similar_artists.inc b/templates/show_similar_artists.inc.php
index 5ab3753e..ccf54374 100644
--- a/templates/show_similar_artists.inc
+++ b/templates/show_similar_artists.inc.php
@@ -23,10 +23,14 @@ $web_path = conf('web_path');
<?php show_box_top(_('Similar Artists')); ?>
<form name="artists" method="post" enctype="multipart/form-data" action="<?php echo $web_path; ?>/artists.php?action=rename_similar&artist=<?php echo $artist_id;?>" style="Display:inline;">
<h3><?php _('Please check the artists you want to merge with the current one'); ?> (<span style='text-decoration: underline;'><?php echo $artist_name;?></span>)</h3>
- <table class="tabledata" cellspacing="0" cellpadding="0">
- <tr class="table-header">
- <th>&nbsp;&nbsp;Select</th>
- <th><?php echo _("Artist"); ?></th>
+ <table class="tabledata" cellpadding="0" cellspacing="0">
+ <colgroup>
+ <col id="col_select" />
+ <col id="col_artist" />
+ </colgroup>
+ <tr class="th-top">
+ <th class="cel_select">&nbsp;&nbsp;Select</th>
+ <th class="cel_artist"><?php echo _("Artist"); ?></th>
</tr>
<?php
if (count($similar_artists) > 0) {
@@ -34,10 +38,10 @@ if (count($similar_artists) > 0) {
foreach ($similar_artists as $artist_array) {
?>
<tr class="<?php echo flip_class(); ?>">
- <td align="center">
+ <td class="cel_select">
<input type="checkbox" name="artists[]" value="<?php echo $artist_array[0]; ?>" />
</td>
- <td>
+ <td class="cel_artist">
<a href="<?php echo $web_path; ?>/artists.php?action=show&amp;artist=<?php echo $artist_array[0]; ?>" title="<?php echo htmlspecialchars($artist_array[1]); ?>" <?php echo $text_class; ?>><?php echo htmlspecialchars($artist_array[1]); ?></a>
</td>
</tr>
@@ -47,7 +51,7 @@ if (count($similar_artists) > 0) {
$show = false;
?>
<tr class="<?php echo flip_class(); ?>">
- <td align="center">
+ <td>
&nbsp;
</td>
<td>
@@ -55,7 +59,7 @@ if (count($similar_artists) > 0) {
</td>
</tr>
<tr class="<?php echo flip_class(); ?>">
- <td align="center">
+ <td>
&nbsp;
</td>
<td>
@@ -77,7 +81,11 @@ if ($show) {
<?php
}
?>
-</table>
+ <tr class="th-bottom">
+ <th class="cel_select">&nbsp;&nbsp;Select</th>
+ <th class="cel_artist"><?php echo _("Artist"); ?></th>
+ </tr>
+ </table>
</form>
<?php show_box_bottom(); ?>
<?php show_box_top(_('Advanced Options')); ?>
diff --git a/templates/show_song_row.inc.php b/templates/show_song_row.inc.php
index 3ae150ca..492609eb 100644
--- a/templates/show_song_row.inc.php
+++ b/templates/show_song_row.inc.php
@@ -19,16 +19,16 @@
*/
?>
-<td>
+<td class="cel_add">
<?php echo Ajax::button('?action=basket&type=song&id=' . $song->id,'add',_('Add'),'add_' . $song->id); ?>
</td>
-<td><?php echo $song->f_link; ?></td>
-<td><?php echo $song->f_artist_link; ?></td>
-<td><?php echo $song->f_album_link; ?></td>
-<td><?php echo $song->f_genre_link; ?></td>
-<td><?php echo $song->f_track; ?></td>
-<td><?php echo $song->f_time; ?></td>
-<td>
+<td class="cel_song"><?php echo $song->f_link; ?></td>
+<td class="cel_artist"><?php echo $song->f_artist_link; ?></td>
+<td class="cel_album"><?php echo $song->f_album_link; ?></td>
+<td class="cel_genre"><?php echo $song->f_genre_link; ?></td>
+<td class="cel_track"><?php echo $song->f_track; ?></td>
+<td class="cel_time"><?php echo $song->f_time; ?></td>
+<td class="cel_action">
<?php if ($GLOBALS['user']->prefs['download']) { ?>
<a href="<?php echo Config::get('web_path'); ?>/stream.php?action=download&amp;song_id=<?php echo $song->id; ?>">
<?php echo get_user_icon('download',_('Download')); ?>
diff --git a/templates/show_songs.inc.php b/templates/show_songs.inc.php
index 293b0b55..0ebd770c 100644
--- a/templates/show_songs.inc.php
+++ b/templates/show_songs.inc.php
@@ -24,28 +24,26 @@ $web_path = Config::get('web_path');
$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" cellpadding="0" cellspacing="0">
<colgroup>
- <col id="br_add" />
- <col id="br_song" />
- <col id="br_artist" />
- <col id="br_album" />
- <col id="br_genre" />
- <col id="br_track" />
- <col id="br_time" />
- <col id="br_action" />
+ <col id="col_add" />
+ <col id="col_song" />
+ <col id="col_artist" />
+ <col id="col_album" />
+ <col id="col_genre" />
+ <col id="col_track" />
+ <col id="col_time" />
+ <col id="col_action" />
</colgroup>
-<tr class="table-header th-top">
- <th><?php echo _('Add'); ?></th>
- <th>
- <?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 class="th-top">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_song"><?php echo Ajax::text('?page=browse&action=set_sort&sort=title',_('Song Title'),'sort_song_title'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_genre"><?php echo _('Genre'); ?></th>
+ <th class="cel_track"><?php echo Ajax::text('?page=browse&action=set_sort&sort=track',_('Track'),'sort_song_track'); ?></th>
+ <th class="cel_time"><?php echo Ajax::text('?page=browse&action=set_sort&sort=time',_('Time'),'sort_song_time'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php
foreach ($object_ids as $song_id) {
@@ -56,17 +54,15 @@ $ajax_url = Config::get('ajax_url');
<?php require Config::get('prefix') . '/templates/show_song_row.inc.php'; ?>
</tr>
<?php } ?>
-<tr class="table-header th-bottom">
- <th><?php echo _('Add'); ?></th>
- <th>
- <?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 class="th-bottom">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
+ <th class="cel_song"><?php echo Ajax::text('?page=browse&action=set_sort&sort=title',_('Song Title'),'sort_song_title'); ?></th>
+ <th class="cel_artist"><?php echo _('Artist'); ?></th>
+ <th class="cel_album"><?php echo _('Album'); ?></th>
+ <th class="cel_genre"><?php echo _('Genre'); ?></th>
+ <th class="cel_track"><?php echo Ajax::text('?page=browse&action=set_sort&sort=track',_('Track'),'sort_song_track'); ?></th>
+ <th class="cel_time"><?php echo Ajax::text('?page=browse&action=set_sort&sort=time',_('Time'),'sort_song_time'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
</table>
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
diff --git a/templates/show_tv_playlist.inc.php b/templates/show_tv_playlist.inc.php
index 50bc7d11..f6fb87bb 100644
--- a/templates/show_tv_playlist.inc.php
+++ b/templates/show_tv_playlist.inc.php
@@ -21,7 +21,16 @@
/* Some defaults */
$web_path = conf('web_path');
?>
-<table cellspacing="0">
+<table class="tabledata" cellpadding="0" cellspacing="0">
+<colgroup>
+ <col id="col_action" />
+ <col id="col_votes" />
+ <col id="col_song" />
+ <col id="col_time" />
+ <?php if ($GLOBALS['user']->has_access(100)) { ?>
+ <col id="col_admin" />
+ <?php } ?>
+</colgroup>
<?php
if (!count($songs)) {
$playlist = new Playlist($tmp_playlist->base_playlist);
@@ -39,13 +48,13 @@ if (!count($songs)) {
/* Else we have songs */
else {
?>
-<tr class="table-header">
- <td><?php echo _('Action'); ?></td>
- <td><?php echo _('Votes'); ?></td>
- <td><?php echo _('Song'); ?></td>
- <td><?php echo _('Time'); ?></td>
+<tr class="th-top">
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+ <th class="cel_votes"><?php echo _('Votes'); ?></th>
+ <th class="cel_song"><?php echo _('Song'); ?></th>
+ <th class="cel_time"><?php echo _('Time'); ?></th>
<?php if ($GLOBALS['user']->has_access(100)) { ?>
- <td><?php echo _('Admin'); ?></td>
+ <th class="cel_admin"><?php echo _('Admin'); ?></th>
<?php } ?>
</tr>
<?php
@@ -56,18 +65,18 @@ foreach($songs as $row_id=>$song_id) {
$song->format_song();
?>
<tr class="<?php echo flip_class(); ?>">
- <td>
+ <td class="cel_action">
<?php if ($tmp_playlist->has_vote($song_id)) { ?>
<input class="button" type="button" value="-" onclick="ajaxPut('<?php echo conf('ajax_url'); ?>?action=vote&amp;object_id=<?php echo $song_id; ?>&amp;vote=-1<?php echo conf('ajax_info'); ?>')" />
<?php } else { ?>
<input class="button" type="button" value="+" onclick="ajaxPut('<?php echo conf('ajax_url'); ?>?action=vote&amp;object_id=<?php echo $song_id; ?>&amp;vote=1<?php echo conf('ajax_info'); ?>')" />
<?php } ?>
</td>
- <td><?php echo scrub_out($tmp_playlist->get_vote($row_id)); ?></td>
- <td><?php echo $song->f_link . " / " . $song->f_album_link . " / " . $song->f_artist_link; ?></td>
- <td><?php echo $song->f_time; ?></td>
+ <td class="cel_votes"><?php echo scrub_out($tmp_playlist->get_vote($row_id)); ?></td>
+ <td class="cel_song"><?php echo $song->f_link . " / " . $song->f_album_link . " / " . $song->f_artist_link; ?></td>
+ <td class="cel_time"><?php echo $song->f_time; ?></td>
<?php if ($GLOBALS['user']->has_access(100)) { ?>
- <td>
+ <td class="cel_admin">
<span onclick="ajaxPut('<?php echo conf('ajax_url'); ?>?action=tv_admin&amp;cmd=delete&amp;track_id=<?php echo $song_id; ?><?php echo conf('ajax_info'); ?>')" />
<?php echo get_user_icon('delete'); ?>
</span>
@@ -75,7 +84,18 @@ foreach($songs as $row_id=>$song_id) {
<?php } ?>
</tr>
<?php
- } // end foreach
+ } // end foreach
+?>
+<tr class="th-bottom">
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+ <th class="cel_votes"><?php echo _('Votes'); ?></th>
+ <th class="cel_song"><?php echo _('Song'); ?></th>
+ <th class="cel_time"><?php echo _('Time'); ?></th>
+ <?php if ($GLOBALS['user']->has_access(100)) { ?>
+ <th class="cel_admin"><?php echo _('Admin'); ?></th>
+ <?php } ?>
+</tr>
+<?php
} // end else
?>
</table>
diff --git a/templates/show_users.inc.php b/templates/show_users.inc.php
index a9e5fbd4..a27963ab 100644
--- a/templates/show_users.inc.php
+++ b/templates/show_users.inc.php
@@ -25,24 +25,26 @@ $web_path = Config::get('web_path');
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
<table class="tabledata" cellpadding="0" cellspacing="0">
<colgroup>
- <col id="br_username" />
- <col id="br_lastseen" />
- <col id="br_registrationdate" />
- <col id="br_activity" />
- <col id="br_lastip" />
- <col id="br_action" />
- <col id="br_online" />
+ <col id="col_username" />
+ <col id="col_lastseen" />
+ <col id="col_registrationdate" />
+ <col id="col_activity" />
+ <?php if (Config::get('track_user_ip')) { ?>
+ <col id="col_lastip" />
+ <?php } ?>
+ <col id="col_action" />
+ <col id="col_online" />
</colgroup>
-<tr class="table-header th-top">
- <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>
+<tr class="th-top">
+ <th class="cel_username"><?php echo _('Fullname'); ?>(<?php echo _('Username'); ?>)</th>
+ <th class="cel_lastseen"><?php echo _('Last Seen'); ?></th>
+ <th class="cel_registrationdate"><?php echo _('Registration Date'); ?></th>
+ <th class="cel_activity"><?php echo _('Activity'); ?></th>
<?php if (Config::get('track_user_ip')) { ?>
- <th><?php echo _('Last Ip'); ?></th>
+ <th class="cel_lastip"><?php echo _('Last Ip'); ?></th>
<?php } ?>
- <th><?php echo _('Action'); ?></th>
- <th><?php echo _('On-line'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+ <th class="cel_online"><?php echo _('On-line'); ?></th>
</tr>
<?php
foreach ($object_ids as $user_id) {
@@ -52,29 +54,22 @@ foreach ($object_ids as $user_id) {
$create_date = $client->create_date ? date("m\/d\/Y - H:i",$client->create_date) : _('Unknown');
?>
<tr class="<?php echo flip_class(); ?>" align="center">
- <td align="left">
+ <td class="cel_username">
<a href="<?php echo $web_path; ?>/stats.php?action=show_user&amp;user_id=<?php echo $client->id; ?>">
<?php echo $client->fullname; ?> (<?php echo $client->username; ?>)
</a>
</td>
- <td>
- <?php echo $last_seen; ?>
- </td>
- <td>
- <?php echo $create_date; ?>
- </td>
-
- <td>
- <?php echo $client->f_useage; ?>
- </td>
+ <td class="cel_lastseen"><?php echo $last_seen; ?></td>
+ <td class="cel_registrationdate"><?php echo $create_date; ?></td>
+ <td class="cel_activity"><?php echo $client->f_useage; ?></td>
<?php if (Config::get('track_user_ip')) { ?>
- <td>
+ <td class="cel_lastip">
<a href="<?php echo $web_path; ?>/admin/users.php?action=show_ip_history&amp;user_id=<?php echo $client->id; ?>">
<?php echo $client->ip_history; ?>
</a>
</td>
<?php } ?>
- <td>
+ <td class="cel_action">
<a href="<?php echo $web_path; ?>/admin/users.php?action=show_edit&amp;user_id=<?php echo $client->id; ?>">
<?php echo get_user_icon('edit'); ?>
</a>
@@ -93,24 +88,24 @@ foreach ($object_ids as $user_id) {
</td>
<?php
if (($client->is_logged_in()) AND ($client->is_online())) {
- echo "<td class=\"user_online\"> &nbsp; </td>";
+ echo "<td class=\"cel_online user_online\"> &nbsp; </td>";
} elseif ($client->disabled == 1) {
- echo "<td class=\"user_disabled\"> &nbsp; </td>";
+ echo "<td class=\"cel_online user_disabled\"> &nbsp; </td>";
} else {
- echo "<td class=\"user_offline\"> &nbsp; </td>";
+ echo "<td class=\"cel_online user_offline\"> &nbsp; </td>";
}
?>
</tr>
<?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>
+<tr class="th-bottom">
+ <th class="cel_username"><?php echo _('Fullname'); ?>(<?php echo _('Username'); ?>)</th>
+ <th class="cel_lastseen"><?php echo _('Last Seen'); ?></th>
+ <th class="cel_registrationdate"><?php echo _('Registration Date'); ?></th>
+ <th class="cel_activity"><?php echo _('Activity'); ?></th>
<?php if (Config::get('track_user_ip')) { ?>
- <th><?php echo _('Last Ip'); ?></th>
+ <th class="cel_lastip"><?php echo _('Last Ip'); ?></th>
<?php } ?>
- <th><?php echo _('Action'); ?></th>
- <th><?php echo _('On-line'); ?></th>
+ <th class="cel_action"><?php echo _('Action'); ?></th>
+ <th class="cel_online"><?php echo _('On-line'); ?></th>
</tr>
</table>
diff --git a/themes/classic/templates/default.css b/themes/classic/templates/default.css
index 43eb479f..f826c8b1 100644
--- a/themes/classic/templates/default.css
+++ b/themes/classic/templates/default.css
@@ -22,10 +22,12 @@
/************************************************/
/* Unify default browsers style rules */
/************************************************/
-:link,:visited { text-decoration:underline; }
h1, h2, h3, h4, h5, h6, pre, code { font-size: 1em; line-height: 1em; } /* avoid browser default inconsistent font-sizes */
-a img, :link img, :visited img { border: none; } /* no blue linked image borders */
-ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input { margin:0; padding:0 } /* White space reset */
+ol, ul { list-style: none; }
+table { border-collapse: separate; border-spacing: 0; }
+caption, th, td { text-align: left; font-weight: normal; }
+* { margin: 0; padding: 0; } /* White space reset */
+a img, :link img, :visited img { border: 0; } /* no blue linked image borders */
/************************************************/
@@ -53,6 +55,7 @@ th {
padding-right: 10px;
font-family: Verdana, Helvetica, sans-serif;
font-size:13px;
+ font-weight:bold;
}
input, select, textarea{
font: 12px Verdana, Helvetica, sans-serif;
@@ -61,7 +64,6 @@ input, select, textarea{
}
input {
font-weight: bold;
- margin: 2px 2px 2px 0;
}
/************************************************/
@@ -71,27 +73,29 @@ input {
body { behavior:url("csshover2.htc"); }
/************************************************/
+/* XSPF Player */
+/************************************************/
+.xspf_player {
+ right: 20px;
+ position: absolute;
+}
+
+/************************************************/
/* Header */
/************************************************/
-#topbar {
+#header {
height: 85px;
padding: 3px 0 0 10px;
}
-#topbarright {
+#headerbox {
float: right;
font-size: 10px;
}
-#topbarleft, #topbarleft a{
+#headerlogo, #headerlogo a{
float: left;
}
-/************************************************/
-/* XSPF Player */
-/************************************************/
-
-.xspf_player {
- right: 20px;
- position: absolute;
-}
+.box_headerbox {display:table;}
+.box_headerbox #loginInfo {font-weight:bold;display:block;text-align:right;margin-bottom:.3em;}
/************************************************/
/* Footer */
@@ -106,139 +110,22 @@ body { behavior:url("csshover2.htc"); }
/************************************************/
/* Buttons */
/************************************************/
-#sb_Subsearch input{ margin:0; padding:0; }
-.smallbutton {
+.button, input[type=button], input[type=submit], .text-action a {
border: 1px solid #f0f0f0;
border-color: #f0f0f0 #a0a0a0 #a0a0a0 #f0f0f0;
+ background: #d0d0d0;
padding: 0 1px;
- margin:0;
font-size: 11px;
- cursor: pointer;
font-weight:bold;
- background: #d0d0d0;
-}
-.smallbutton:active {
- border: 1px solid #f0f0f0;
- border-color: #f0f0f0 #a0a0a0 #a0a0a0 #f0f0f0;
-}
-a.smallbutton {
- text-decoration:none;
- padding:1px 2px;
-}
-
-
-/************************************************/
-/* Tables (songs lists...) */
-/************************************************/
-.table-header {
- font-size:1.1em;
- vertical-align: top;
- text-align:center;
-}
-.odd, .odd td {
- font-size: 12px;
- border-bottom:1px dotted #c0c0c0;
-}
-.even, .even td {
- font-size: 12px;
- border-bottom:1px dotted #c0c0c0;
-}
-.even:hover, .odd:hover {
- background:#99ccff;
-}
-.border { background: #000; }
-
-/************************************************/
-/* Content block */
-/************************************************/
-#content {
- margin: 20px 135px 20px 135px;
-}
-h3#content_title{
- font: 12px/32px Arial,Helvetica,Sans-Serif;
- background:#8b8b8b url(../images/content_corner.gif) no-repeat right top;
- color:#fff;
-}
-h3#content_title span {
- text-align:left;
-}
-
-/************************************************/
-/* Rightbar */
-/************************************************/
-#rightbar {
- width:120px;
- background:#fff;
- padding-top:28px;
- background:#c0c0c0 url(../images/rightbar_top.jpg) no-repeat;
- float:right;
- font-family: Verdana,Helvetica,sans-serif;
- clear:both;
-}
-#rightbar ul { list-style:none; }
-#rightbar a { text-decoration:none; }
-
-
-/* Rightbar Menu */
-#rightbar #rb_action {
- border-top:1px solid #8b8b8b;
- padding:4px;
-}
-#rightbar #rb_action li { display:inline; }
-
-#rightbar li#rb_add, #rightbar li#pl_add { position:relative; z-index:10;}
-#rightbar li#rb_add:hover, #rightbar li#pl_add:hover { background:#99ccff; }
-/* Rightbar AddItems SubMenu */
-#rightbar li:hover .submenu { display:block; }
-#rightbar .submenu {
- display:none;
- position:absolute;
- right:0px;
- top:18px;
- background:#fff;
- border:2px solid #c0c0c0;
- width:120px;
- font-size:0.7em;
- padding:0.3em;
-}
-* html #rightbar .submenu {right:100px;} /* IE6 fix */
-
-#rightbar .submenu a {
- display:block;
- padding:0.1em;
- border-bottom:1px dotted #c0c0c0;
- color:#5b5b5b;
- text-decoration:none;
- text-align:right;
-}
-
-#rightbar .submenu a:hover,
-#rightbar #rb_current_playlist a:hover { background:#99ccff; color:#fff; }
-
-/* Rightbar playlist */
-#rightbar #rb_current_playlist {
- background: #fff url(../images/bottom.gif) 0 100% repeat-x;
- padding-bottom:0.5em;
- border-left:2px solid #c0c0c0;
- border-right:2px solid #c0c0c0;
+ text-decoration:none;
+ cursor: pointer;
}
-#rightbar #rb_current_playlist li { position:relative; font-size:0.6em;line-height:14px; color:#5b5b5b; padding-right:20px;}
-#rightbar #rb_current_playlist li a { display:block; padding:0.2em;}
-#rightbar .delitem { position:absolute;right:0;top:0; }
-
-/* Rightbar Localplay Controls */
-#rightbar #localplay-control {
- padding-left: 5px;
-}
-#localplay-control span {
- cursor: pointer;
-}
+a.button{padding:1px}
/************************************************/
/* Sidebar */
/************************************************/
#sidebar{
- /*float:left;*/
position:absolute;
top:100px;
left:0;
@@ -352,7 +239,6 @@ h3#content_title span {
/* SIDEBAR : Localplay */
/***********************/
-
.active_instance {
background:#99ccff;
}
@@ -370,58 +256,76 @@ h3#content_title span {
}
-
/************************************************/
-/* Albums of the moment */
+/* Rightbar */
/************************************************/
+#rightbar {
+ width:120px;
+ background:#fff;
+ padding-top:28px;
+ background:#c0c0c0 url(../images/rightbar_top.jpg) no-repeat;
+ float:right;
+ font-family: Verdana,Helvetica,sans-serif;
+ clear:both;
+}
+#rightbar ul { list-style:none; }
+#rightbar a { text-decoration:none; }
-.random_album
-{
- position:relative;
- float:left;
- padding:8px;
- width:80px;
-}
-.random_album .play_album
-{
- display:none;
+/* Rightbar Menu */
+#rightbar #rb_action {
+ border-top:1px solid #8b8b8b;
+ padding:4px;
}
+#rightbar #rb_action li { display:inline; }
-/************************************************/
-/* Now Playing Styles */
-/************************************************/
-#nowplaying{
- clear: both;
- width: 600px;
+#rightbar li#rb_add, #rightbar li#pl_add { position:relative; z-index:10;}
+#rightbar li#rb_add:hover, #rightbar li#pl_add:hover { background:#99ccff; }
+/* Rightbar AddItems SubMenu */
+#rightbar li:hover .submenu { display:block; }
+#rightbar .submenu {
+ display:none;
+ position:absolute;
+ right:0px;
+ top:18px;
+ background:#fff;
+ border:2px solid #c0c0c0;
+ width:120px;
+ font-size:0.7em;
+ padding:0.3em;
}
+* html #rightbar .submenu {right:100px;} /* IE6 fix */
-#np_container1{
- width: 260px;
- height: 18px;
- background: #fff url(../images/tb_tab.jpg) no-repeat top left;
+#rightbar .submenu a {
+ display:block;
+ padding:0.1em;
+ border-bottom:1px dotted #c0c0c0;
+ color:#5b5b5b;
+ text-decoration:none;
+ text-align:right;
}
-#np_container1 h1{
- font-size: 10px;
- font-weight: bold;
- padding: 2px;
-}
+#rightbar .submenu a:hover,
+#rightbar #rb_current_playlist a:hover { background:#99ccff; color:#fff; }
-#np_container2{
- border: 1px solid #999;
- border-color:#ddd #999 #999 #ccc;
- padding: 6px;
- font: 10px/12px Verdana, sans-serif;
- background: #d6d6d4 url(../images/bg_row.jpg) repeat top left;
- color: #000;
-}
-.np_row {
- padding: 3px 0;
-}
-.np_cell, .np_cell_left, .np_cell_m, .np_cell_right {
- margin: 10px;
+/* Rightbar playlist */
+#rightbar #rb_current_playlist {
+ background: #fff url(../images/bottom.gif) 0 100% repeat-x;
+ padding-bottom:0.5em;
+ border-left:2px solid #c0c0c0;
+ border-right:2px solid #c0c0c0;
}
+#rightbar #rb_current_playlist li { position:relative; font-size:0.6em;line-height:14px; color:#5b5b5b; padding-right:20px;}
+#rightbar #rb_current_playlist li a { display:block; padding:0.2em;}
+#rightbar .delitem { position:absolute;right:0;top:0; }
+
+/* Rightbar Localplay Controls */
+#rightbar #localplay-control {
+ padding-left: 5px;
+}
+#localplay-control span {
+ cursor: pointer;
+}
/************************************************/
@@ -483,6 +387,7 @@ h3#content_title span {
background: url(../../../images/ratings/x.gif) left top;
}
+
/************************************************/
/* Box Related Styles */
/************************************************/
@@ -551,8 +456,108 @@ h3#content_title span {
.box_newest_albums {}
.box_newest_artists {clear:none;}
.box_newest_genres {clear:none;}
-.box_topbarright {display:table;}
-.box_topbarright #loginInfo {font-weight:bold;display:block;text-align:right;margin-bottom:.3em;}
+
+/************************************************/
+/* Tables (songs lists...) */
+/************************************************/
+.tabledata .th-top, .tabledata .th-bottom {
+ font-size:1.1em;
+ vertical-align: top;
+ text-align:center;
+}
+.odd, .odd td {
+ font-size: 12px;
+ border-bottom:1px dotted #c0c0c0;
+}
+.even, .even td {
+ font-size: 12px;
+ border-bottom:1px dotted #c0c0c0;
+}
+.even:hover, .odd:hover {
+ background:#99ccff;
+}
+.border { background: #000; }
+
+/* specific cells */
+.cel_cover{padding:6px;}
+.cel_select, .cel_action, .cel_date, .cel_applytoall, .cel_level {text-align:center;}
+
+/* specific boxes */
+#recently_played .th-bottom {display:none;}
+
+/************************************************/
+/* Content block */
+/************************************************/
+#content {
+ margin: 20px 135px 20px 135px;
+}
+h3#content_title{
+ font: 12px/32px Arial,Helvetica,Sans-Serif;
+ background:#8b8b8b url(../images/content_corner.gif) no-repeat right top;
+ color:#fff;
+}
+h3#content_title span {
+ text-align:left;
+}
+
+
+
+
+
+
+/************************************************/
+/* Albums of the moment */
+/************************************************/
+
+.random_album
+{
+ position:relative;
+ float:left;
+ padding:8px;
+ width:80px;
+}
+
+.random_album .play_album
+{
+ display:none;
+}
+
+/************************************************/
+/* Now Playing Styles */
+/************************************************/
+#nowplaying{
+ clear: both;
+ width: 600px;
+}
+
+#np_container1{
+ width: 260px;
+ height: 18px;
+ background: #fff url(../images/tb_tab.jpg) no-repeat top left;
+}
+
+#np_container1 h1{
+ font-size: 10px;
+ font-weight: bold;
+ padding: 2px;
+}
+
+#np_container2{
+ border: 1px solid #999;
+ border-color:#ddd #999 #999 #ccc;
+ padding: 6px;
+ font: 10px/12px Verdana, sans-serif;
+ background: #d6d6d4 url(../images/bg_row.jpg) repeat top left;
+ color: #000;
+}
+.np_row {
+ padding: 3px 0;
+}
+.np_cell, .np_cell_left, .np_cell_m, .np_cell_right {
+ margin: 10px;
+}
+
+
/************************************************/
/* List Header Styles */
/************************************************/
@@ -614,12 +619,6 @@ div#Header{
}
/************************************************/
-/* "Browse by" */
-/************************************************/
-.br_td_cover{padding:6px;}
-
-
-/************************************************/
/* Styles for Login template */
/************************************************/
#container{
@@ -762,7 +761,7 @@ td.user_disabled {
text-decoration:line-through;
}
#maincontainer{}
-table.tabledata {}
+.tabledata input, .tabledata select{ margin:2px 0;}
.display {}
diff --git a/themes/greysme/templates/default.css b/themes/greysme/templates/default.css
index 591c68ae..308972a8 100644
--- a/themes/greysme/templates/default.css
+++ b/themes/greysme/templates/default.css
@@ -40,19 +40,22 @@
/************************************************/
-/* General style rules */
+/* Unify default browsers style rules */
/************************************************/
-
-body, html, fieldset { border: 0; }
h1, h2, h3, h4, h5, h6, pre, code { font-size: 1em; line-height: 1em; } /* avoid browser default inconsistent font-sizes */
-a img, :link img, :visited img { border: none; } /* no blue linked image borders */
-* { margin: 0; padding: 0; } /* White space reset */
-
+ol, ul { list-style: none; }
+table { border-collapse: separate; border-spacing: 0; }
+caption, th, td { text-align: left; font-weight: normal; }
+* { margin: 0; padding: 0; border:0; } /* White space reset */
+a img, :link img, :visited img { border: 0; } /* no blue linked image borders */
+/************************************************/
+/* General style rules */
+/************************************************/
html{ font-size: 62.5%; }
body{
- font-size: 1.1em;
+ font-size:1.1em;
font-family: Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif;
background: #2b293d url(../images/background.jpg) 0 0 repeat-x fixed;
min-width:90em;
@@ -62,31 +65,23 @@ body{
ol { list-style-type: decimal-leading-zero; }
li { list-style-position: inside; }
p { color: #e9ad51; }
-a { color: #74718a; text-decoration: none; }
+a { color: #74718a; text-decoration: none; }
td { padding: 0 8px; color: #e9ad51; }
-th { }
+th { font-weight:bold; padding: 0 .3em;}
input, select {
font-size:1em;
+ font-family: Lucida Sans Unicode, Verdana, Arial, Helvetica, sans-serif;
color: #e9ad51;
background-color: #111;
border: 1px solid #8b3e38;
- margin:0 0 1px 0;
-}
-
-input{
- padding:0 2px;
+ margin:0 0 0px 0;
}
+input{ padding:0 2px; }
input:focus, select:focus { border-style: dotted; }
-
-textarea {
- background-color: #111;
- color: #e9ad51;
-}
-
-.link { cursor:pointer; }
+textarea { background-color: #111; color: #e9ad51; }
/************************************************/
/* IE6 behaviors */
@@ -95,175 +90,59 @@ textarea {
body { behavior:url("csshover2.htc"); }
/************************************************/
-/* Styles for Site Header */
-/************************************************/
-
-#topbar { padding: 0 0; }
-#topbarright { font-size: 0.9em; text-align: right; color: #e9ad51; position: absolute; top: 0px; right: 0; padding: 3px; }
-#topbarright b { font-weight: normal }
-#topbarright a { color: #e9ad51;}
-#topbarleft { text-align: center; background: url(../images/ampache_back.gif) 0 0 repeat-x;}
-#topbarleft a { }
-
-/************************************************/
/* XSPF Player */
/************************************************/
-
.xspf_player {
right: 20px;
position: absolute;
}
/************************************************/
+/* Header */
+/************************************************/
+#header { padding: 0 0; }
+#headerbox { font-size: 0.9em; text-align: right; color: #e9ad51; position: absolute; top: 0; right: 0; padding: 3px; }
+#headerbox b { font-weight: normal }
+#headerbox a { color: #e9ad51;}
+#headerlogo { text-align: center; background: url(../images/ampache_back.gif) 0 0 repeat-x;}
+#headerlogo a { }
+.box_topbarright {display:table;}
+
+/************************************************/
/* Footer */
/************************************************/
#footer {
clear:both;
text-align:center;
+ font-size:.8em;
padding:3px;
- font-size:0.8em;
}
/************************************************/
/* Buttons */
/************************************************/
-.smallbutton {
- border: 0px;
- padding: 0 1px;
- cursor: pointer;
-}
-input.button, input[type=button], input[type=submit], .text-action a, .text-action span, .smallbutton {
+
+.button, input[type=button], input[type=submit], .text-action a {
background:#8b3e38 url(../images/button_back2.png) 0 100% repeat-x !important;
background:#8b3e38;
- color:#c98d31;
+ color:#e9ad51;
padding:0px 0.5em;
margin:4px 0 0 0;
- border:none;
+ border:0;
+ cursor:pointer;
}
-.text-action span
-{
- display:block; cursor: pointer;
-}
-input.button:hover, input[type=button]:hover, input[type=submit]:hover, div.text-action a:hover, div.text-action span:hover,.smallbutton:hover {
+.button:hover, input[type=button]:hover, input[type=submit]:hover, div.text-action a:hover {
background:#74718a url(../images/button_back2.png) 0 100% repeat-x !important;
background:#74718a;
- color:#e9ad51;
-}
-
-input[type=checkbox]{border:none;background:none;}
-
-/************************************************/
-/* Tables (songs lists...) */
-/************************************************/
-
-.table-header {
- background: #111;
- vertical-align: top;
-}
-.table-header th {
- color:#8b3e38;
- font-variant:small-caps;
- font-weight:normal;
- border-right:1px solid #000;
-}
-.table-header th a {
- color:#8b3e38;
- padding-right:10px;
- background: url(../images/sort_off.gif) 100% 50% no-repeat;
- display:block;
-}
-.table-header td a:hover, .table-header th a:hover {
- color:#8b3e38;
- background-color:transparent;
- background-image:url(../images/sort_on.gif);
-}
-
-.odd, .even { background: url(../images/list_back.png) 0 50% repeat-x !important; background-image: none;}
-.odd { background-color: #111 !important;}
-.even { }
-.odd:hover, .even:hover { background-color: #2b293d !important;}
-/*
-.odd td img, .even td img { border: 2px solid transparent; }
-.odd:hover td img, .even:hover td img { border-color: #e9ad510; }
-*/
-/* todo : quand col, mettre sur les a:hover de la col action un background-color:none;*/
-.odd td a img:hover, .even td a img:hover {opacity:0.5;}
-
-.border { background: #000; }
-
-
-
-/************************************************/
-/* Content block */
-/************************************************/
-
-#content {margin:10px 14em 10px 13.5em;}
-
-/* Center things on supporting browsers */
-#content>table,#content>table .box { margin-left: auto; margin-right: auto; }
-
-h3#content_title{} /* Doesn't exist anymore (?) */
-h3#content_title span {} /* Doesn't exist anymore (?) */
-
-
-/************************************************/
-/* Rightbar */
-/************************************************/
-#rightbar {
- width:13em;
- background:#2b293d;
- float:right;
-}
-#rightbar ul { list-style:none; }
-#rightbar a { text-decoration:none; }
-
-
-/* Rightbar Menu */
-#rightbar #rb_action {
- padding:4px;
-}
-#rightbar #rb_action li { display:inline; }
-#rightbar li#rb_add,#rightbar li#pl_add { position:relative; z-index:10;}
-#rightbar li#rb_add:hover, #rightbar li#pl_add:hover { background:#e9ad51; }
-/* Rightbar AddItems SubMenu */
-#rightbar li:hover .submenu { display:block; }
-#rightbar .submenu {
- display:none;
- position:absolute;
- right:0px;
- top:15px;
- background: #050505 url(../images/button_back.png) 0 100% repeat-x !important;
- background: #050505;
- border:2px solid #e9ad51;
- width:15em;
- padding:0.3em;
- font-size:0.8em;
-
}
-* html #rightbar .submenu {right:100px;} /* IE6 fix */
-#rightbar .submenu a {
- display:block;
- padding:0.1em;
- color:#8b3e38;
- text-decoration:none;
- text-align:right;
-}
-#rightbar .submenu a:hover,
-#rightbar #rb_current_playlist a:hover { color:#e9ad51; }
+a.button { padding:1px .5em; }
+input[type=checkbox] {border:0;background:none;}
+.text-action span { display:block; }
-/* Rightbar playlist */
-#rightbar #rb_current_playlist {
- background: #111;
- padding-bottom:0.5em;
-}
-#rightbar #rb_current_playlist li { position:relative;font-size:0.9em;;line-height:14px; color:#5b5b5b; padding-right:20px;}
-#rightbar #rb_current_playlist li a { display:block; padding:0.2em;}
-#rightbar .delitem { position:absolute;right:0;top:0; }
/************************************************/
/* Sidebar */
/************************************************/
-
#sidebar {
float:left:
position:relative;
@@ -278,7 +157,6 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
*>div#sidebar{ position: fixed; }
#sidebar select { width: 95%; }
-#sidebar .smallbutton { margin: 0; }
#sidebar ul { list-style:none; }
/* For sidebar tabs */
@@ -296,7 +174,6 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
border-right:1px solid #000;width:16px;
}
#sidebar-tabs li.active {
- /*background: #faf url(../images/top.gif) repeat-x 0 0;*/
border-top-color: #e9ad51;
}
#sidebar-tabs li:hover.sb1
@@ -316,24 +193,23 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
color:#8b3e38;
}
#sidebar-page ul.sb2 {
- /*padding:2px 4px;*/
}
#sidebar-page ul.sb2 li{
margin:1em auto;
padding-bottom: 0.5em;
- /*border-bottom: 1px solid #fff;*/
}
#sidebar-page ul.sb2 h4{
- padding:0.2em 0.5em 0.5em 0;
+ padding:.2em .5em .5em 0;
font-style:italic;
font-weight:normal;
- letter-spacing:0.2em;
+ font-size:1em;
+ letter-spacing:.2em;
text-align:right;
border-bottom:1px dotted #e9ad51;
text-decoration: overline;
background: url(../images/puce.gif) -8px -8px no-repeat;
color:#e9ad51;
- }
+}
#sidebar-page ul.sb2 li:hover h4{
background-color:#000;
}
@@ -351,8 +227,8 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
border-bottom: 1px solid #000;
}
* html #sidebar-page ul.sb3 li{display:inline;background:#111;} /* fix ie6 */
-#sidebar-page .sb3 a, #sidebar-page .sb3 div{
- padding:0.2em 0.6em;
+#sidebar-page .sb3 a, #sidebar-page .sb3 div{
+ padding:.2em .6em;
border-left: .5em solid #8b3e38;
}
#sidebar-page .sb3 a:hover{
@@ -374,10 +250,7 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
/********************/
.alphabet {
background:transparent; /* fix ie bug */
- /*font-size:0.95em;*/
- /*font-weight:normal;*/
margin: 0.3em auto;
- /*color:#5b5b5b;*/
}
.alphabet span.link {
cursor: pointer;
@@ -395,7 +268,6 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
/***********************/
.active_instance {
-
}
/* SIDEBAR : Preferences */
@@ -410,67 +282,60 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
border:none;
}
-
/************************************************/
-/* Albums of the moment */
-/************************************************/
-
-.random_album
-{
- position:relative;
- float:left;
- padding:8px;
-}
-
-.random_album .play_album
-{
- position:absolute;
- top:10px;
- right:0;
-}
-/************************************************/
-/* Styles for Now Playing */
+/* Rightbar */
/************************************************/
+#rightbar {
+ width:13em;
+ background:#2b293d;
+ float:right;
+}
+#rightbar ul { list-style:none; }
+#rightbar a { text-decoration:none; }
-#nowplaying{
- clear: both;
-}
-#np_container1{
- height: 18px;
-}
-#np_container1 h1{
- font-weight: bold;
- padding: 2px;
-}
-#np_container2{
- border-width: 1px;
- border-style: solid;
- border-color:#ddd #999 #999 #ccc;
- padding: 6px;
- color: #000;
-}
-.np_row {
- padding-top: 3px;
- padding-bottom: 3px;
- display: block;
+/* Rightbar Menu */
+#rightbar #rb_action {
+ padding:4px;
}
-.np_cell {
- margin: 10px;
+#rightbar #rb_action li { display:inline; }
+#rightbar li#rb_add,#rightbar li#pl_add { position:relative; z-index:10;}
+#rightbar li#rb_add:hover, #rightbar li#pl_add:hover { background:#e9ad51; }
+/* Rightbar AddItems SubMenu */
+#rightbar li:hover .submenu { display:block; }
+#rightbar .submenu {
+ display:none;
+ position:absolute;
+ right:0px;
+ top:15px;
+ background: #050505 url(../images/button_back.png) 0 100% repeat-x !important;
+ background: #050505;
+ border:2px solid #e9ad51;
+ width:15em;
+ padding:0.3em;
+ font-size:0.8em;
+
}
+* html #rightbar .submenu {right:100px;} /* IE6 fix */
-/************************************************/
-/* Footer */
-/************************************************/
-#footer {
- margin-left: 150px;
- margin-bottom: 10px;
+#rightbar .submenu a {
+ display:block;
+ padding:0.1em;
+ color:#8b3e38;
+ text-decoration:none;
+ text-align:right;
}
+#rightbar .submenu a:hover,
+#rightbar #rb_current_playlist a:hover { color:#e9ad51; }
-#footer p {
- color:#999;
- font-size:10px;
+/* Rightbar playlist */
+#rightbar #rb_current_playlist {
+ background: #111;
+ padding-bottom:0.5em;
}
+#rightbar #rb_current_playlist li { position:relative;font-size:0.9em;;line-height:14px; color:#5b5b5b; padding-right:20px;}
+#rightbar #rb_current_playlist li a { display:block; padding:0.2em;}
+#rightbar .delitem { position:absolute;right:0;top:0; }
/************************************************/
@@ -534,7 +399,6 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
}
-
/************************************************/
/* Box Related Styles */
/************************************************/
@@ -556,7 +420,6 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
}
/* Enclosing Boxes Styles */
-
.box, .info-box {
margin-top: 5px;
margin-right: 3px;
@@ -614,9 +477,122 @@ h3#content_title span {} /* Doesn't exist anymore (?) */
.box_newest_albums {}
.box_newest_artists {clear:none;}
.box_newest_genres {clear:none;}
-.box_topbarright {display:table;}
+
.info-box th {color:#8b3e38;}
+
+/************************************************/
+/* Tables (songs lists...) */
+/************************************************/
+.tabledata .th-top, .tabledata .th-bottom {
+ background: #111;
+ vertical-align: top;
+}
+.tabledata th {
+ color:#8b3e38;
+ font-variant:small-caps;
+ font-weight:normal;
+ border-right:1px solid #000;
+ text-align:center;
+}
+.tabledata th a {
+ color:#8b3e38;
+ padding-right:10px;
+ background: url(../images/sort_off.gif) 100% 50% no-repeat;
+ display:block;
+}
+.tabledata th a:hover {
+ color:#8b3e38;
+ background-color:transparent;
+ background-image:url(../images/sort_on.gif);
+}
+
+.odd, .even { background: url(../images/list_back.png) 0 50% repeat-x !important; background-image: none;}
+.odd { background-color: #111 !important;}
+.even { }
+.odd:hover, .even:hover { background-color: #2b293d !important;}
+
+.odd td a img:hover, .even td a img:hover {opacity:0.5;}
+
+.border { background: #000; }
+
+/* specific cells */
+.cel_cover{padding:6px;}
+.cel_select, .cel_action, .cel_date, .cel_applytoall, .cel_level {text-align:center;}
+
+td.cel_track {text-align:right;}
+
+/* specific boxes */
+#recently_played .th-bottom {display:none;}
+
+/************************************************/
+/* Content block */
+/************************************************/
+
+#content {margin:10px 14em 10px 13.5em;}
+
+/* Center things on supporting browsers */
+#content>table,#content>table .box { margin-left: auto; margin-right: auto; }
+
+h3#content_title{} /* Doesn't exist anymore (?) */
+h3#content_title span {} /* Doesn't exist anymore (?) */
+
+
+
+
+/************************************************/
+/* Albums of the moment */
+/************************************************/
+
+.random_album
+{
+ position:relative;
+ float:left;
+ padding:8px;
+}
+
+.random_album .play_album
+{
+ position:absolute;
+ top:10px;
+ right:0;
+}
+/************************************************/
+/* Styles for Now Playing */
+/************************************************/
+
+#nowplaying{
+ clear: both;
+}
+#np_container1{
+ height: 18px;
+}
+#np_container1 h1{
+ font-weight: bold;
+ padding: 2px;
+}
+#np_container2{
+ border-width: 1px;
+ border-style: solid;
+ border-color:#ddd #999 #999 #ccc;
+ padding: 6px;
+ color: #000;
+}
+
+.np_row {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ display: block;
+}
+.np_cell {
+ margin: 10px;
+}
+
+
+
+
+
+
/************************************************/
/* List Header Styles */
/************************************************/
@@ -793,11 +769,6 @@ input.text_input {
}
/************************************************/
-/* "Browse by" */
-/************************************************/
-.br_td_cover{padding:6px;}
-
-/************************************************/
/* Misc */
/************************************************/
@@ -841,7 +812,7 @@ input.text_input {
text-align: left;
}
-/*table.tabledata {width:100%}*/
+.tabledata input, .tabledata select{ margin:0 0 2px 0;}
.header1 {
color: #8b3e38;