-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.php
More file actions
81 lines (70 loc) · 3.66 KB
/
theme.php
File metadata and controls
81 lines (70 loc) · 3.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
/**
*
* @version $Id$
*/
global $colors;
global $fonts;
// Font
$fonts['all'] = 'sans';
// Background Color
$colors['background'] = '#ffffff';
// Colors for Links
$colors['links']['link'] = '#0000ff';
$colors['links']['active'] = '#0000ff';
$colors['links']['visual'] = '#0000ff';
// Colors for Directories
$colors['directories']['title'] = '#bbbbff';
$colors['directories']['body'][0] = '#eeeeff';
$colors['directories']['body'][1] = '#ddddff';
// Colors for Music
$colors['music']['title'] = '#aaffaa';
$colors['music']['body'][0] = '#ccffcc';
$colors['music']['body'][1] = '#eeffee';
$colors['music']['sort'] = '#88ff88';
// Colors for Playlist Table
$colors['playlist']['title'] = '#ffaaaa';
$colors['playlist']['body'] = '#ffdddd';
$colors['playlist']['current'] = '#88ff88';
// Colors for Pssword
$colors['password']['title'] = '#cccccc';
$colors['password']['body'] = '#eeeeee';
// Colors for Playing
$colors['playing']['title'] = '#cccccc';
$colors['playing']['body'] = '#eeeeee';
$colors['playing']['on'] = '#88ff88';
// Colors for Volume
$colors['volume']['body'] = '#cccccc';
$colors['volume']['unselected'] = '#eeeeee';
$colors['volume']['background'] = '#ffffff';
$colors['volume']['foreground'] = '#000000';
// Colors for Time Progress Bar
$colors['time']['background'] = '#aaaaaa';
$colors['time']['foreground'] = '#000000';
if(!isset($hide)) $hide = 1;
// URL Displays
if($settings->use_images) {
$display['playing']['prev']['active'] = '<a href="playlist.php?hide=' . $hide . '&command=previous"><img src="images/previous.gif" border="0" /></a>';
$display['playing']['prev']['inactive'] = '<img src="images/previous_inactive.gif" border="0" />';
$display['playing']['play']['active'] = '<a href="playlist.php?hide=' . $hide . '&command=play"><img src="images/play.gif" border="0" /></a>';
$display['playing']['play']['pause'] = '<a href="playlist.php?hide=' . $hide . '&command=pause"><img src="images/play.gif" border="0" /></a>';
$display['playing']['play']['inactive'] = '<img src="images/play_inactive.gif" border="0" />';
$display['playing']['next']['active'] = '<a href="playlist.php?hide=' . $hide . '&command=next"><img src="images/next.gif" border="0" /></a>';
$display['playing']['next']['inactive'] = '<img src="images/next_inactive.gif" border="0" />';
$display['playing']['pause']['active'] = '<a href="playlist.php?hide=' . $hide . '&command=pause"><img src="images/pause.gif" border="0" /></a>';
$display['playing']['pause']['inactive'] = '<img src="images/pause_inactive.gif" border="0" />';
$display['playing']['stop']['active'] = '<a href="playlist.php?hide=' . $hide . '&command=stop"><img src="images/stop.gif" border="0" /></a>';
$display['playing']['stop']['inactive'] = '<img src="images/stop_inactive.gif" border="0" />';
} else {
$display['playing']['prev']['active'] = '[<a href="playlist.php?hide=' . $hide . '&command=previous"><<</a>]';
$display['playing']['prev']['inactive'] = '[<<]';
$display['playing']['play']['active'] = '[<a href="playlist.php?hide=' . $hide . '&command=play">Play</a>]';
$display['playing']['play']['pause'] = '[<a href="playlist.php?hide=' . $hide . '&command=pause">Play</a>]';
$display['playing']['play']['inactive'] = '[Play]';
$display['playing']['next']['active'] = '[<a href="playlist.php?hide=' . $hide . '&command=next">>></a>]';
$display['playing']['next']['inactive'] = '[>>]';
$display['playing']['pause']['active'] = '[<a href="playlist.php?hide=' . $hide . '&command=pause">| |</a>]';
$display['playing']['pause']['inactive'] = '[||]';
$display['playing']['stop']['active'] = '[<a href="playlist.php?hide=' . $hide . '&command=stop">Stop</a>]';
$display['playing']['stop']['inactive'] = '[Stop]';
}