diff --git a/lib/page.php b/lib/page.php index ef7d67d..3c1d338 100644 --- a/lib/page.php +++ b/lib/page.php @@ -2,6 +2,9 @@ $progressbar_width = $_CONFIG['progress_bar_width']; $smarty->assign('progressbar_width', $progressbar_width); + $smarty->assign('volume_orientation', $_CONFIG['volume_orientation']); + $smarty->assign('volume_min', $_CONFIG['volume_min']); + $smarty->assign('volume_max', $_CONFIG['volume_max']); $smarty->assign('page', $page); /* print_r($mympd->playlist); */ diff --git a/smarty/templates_c/%%3B^3B9^3B9ACDBF%%styles.css.php b/smarty/templates_c/%%3B^3B9^3B9ACDBF%%styles.css.php deleted file mode 100644 index 3b5b5d9..0000000 --- a/smarty/templates_c/%%3B^3B9^3B9ACDBF%%styles.css.php +++ /dev/null @@ -1,297 +0,0 @@ - -* { - margin: 0px; - padding: 0px; -} -img { - border: 0; -} -a { - text-decoration: none; - color: #fff; -} -body { - background: #333 url(templates/_tpl_vars['template']; ?> -/images/menu_shadow.png) center 29px repeat-x; - color: #fff; - font: 13px helvetica,verdana,sans-serif; - text-align: center; - margin: 45px 0px 0px 0px; -} -p { - margin-bottom: 5px; -} -#menu { - background: #111; - position: fixed; - width: 100%; - height: 30px; - top: 0px; - padding: 0px 2px 0px 0px; - z-index: 1; - text-align: center; -} -#menu ul { - width: 320px; - margin: 0px auto; -} -#menu li { - display: block; - float: left; -} -#menu a { - background: #000 url(templates/_tpl_vars['template']; ?> -/images/menu_back.png); - font: 14px helvetica,verdana,sans-serif; - color: rgba(0, 0, 0, 1);; - text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6); - padding: 5px 0px 2px; - float: left; - margin-left: 0px; - display: block; - width: 107px; - height: 23px; - text-align: center; - font-weight: bold; -} -#menu a:hover { - background: #ccc url(templates/_tpl_vars['template']; ?> -/images/menu_back_active.png);; - color: #000; -} -#menu a:active { - background: #ccc url(templates/_tpl_vars['template']; ?> -/images/menu_back_active.png);; - color: #000; -} -#menu a.selected { - background: #333 url(templates/_tpl_vars['template']; ?> -/images/menu_back_selected.png); - color: #fff; - width: 106px; - text-shadow: 0 0 12px rgba(150, 210, 255, 0.9); -} -#page { - padding: 0px; - clear: left; -} -#page ul { - list-style-type: none; - width: 280px; - text-align: left; - margin-left: auto; - margin-right: auto; -} -#page ul.list { - margin-top: 10px; -} -#page ul li { - padding: 0px 1px 1px 0px; - border-top: 1px solid #666; -} -#song_display { - position: relative; - width: 280px; - height: 217px; - margin: 0px auto 5px; - /* height: 55px; */ - text-align: left; - font-size: 14px; -} -#page #pos { - font-weight: bold; -} -#page #title { - font-size: 16px; - color: #ffc; - font-weight: bold; -} -#page #song_info { - text-align: center; - white-space: nowrap; - overflow: hidden; - clear: both; -} -#page #album_info { - position: absolute; - top: 10px; - left: 150px; -} -#page #artist { - font-style: italic; -} -#page #album { - color: #888; -} -#buttons { - width: 280px; - margin: 0px auto; - padding-top: 10px; - text-align: right; -} - -img.icon { - margin: 2px 2px -1px 2px; -} -img.button { - float: right; - margin: 2px 2px -1px 2px; -} -#controls { - background: #666 url(templates/_tpl_vars['template']; ?> -/images/control_back.png) center center repeat-x; - text-align: center; - margin: 8px 0px 0px 0px; - padding: 10px 7px 10px 0px; - height: 50px; -} -#controls .container { - position: relative; - width: 280px; - margin: 0px auto; -} -#controls #main_controls { - width: 280px; -} -#controls #main_controls li { - display: block; - float: left; - border: 0; -} -#controls #main_controls a { - background-image: url(templates/_tpl_vars['template']; ?> -/images/buttons.png); - background-repeat: no-repeat; - display: block; - float: left; - width: 50px; - height: 50px; - margin-left: 7px; -} -#main_controls #prev_button { - background-position: 0px 0px; -} -#main_controls #playpause_button { - background-position: -50px 0px; -} -#main_controls #playpause_button.pause { - background-position: -100px 0px; -} -#main_controls #stop_button { - background-position: -150px 0px; -} -#main_controls #next_button { - background-position: -200px 0px; -} - -#main_controls #prev_button:hover { - background-position: 0px -50px; -} -#main_controls #playpause_button:hover { - background-position: -50px -50px; -} -#main_controls #playpause_button.pause:hover { - background-position: -100px -50px; -} -#main_controls #stop_button:hover { - background-position: -150px -50px; -} -#main_controls #next_button:hover { - background-position: -200px -50px; -} - -#volume_repeat { - position: absolute; - left: 250px; -} -#volume_repeat a { - display: block; - width: 30px; - height: 20px; - margin-bottom: 10px; - background-position: 0px 0px; - background-repeat: no-repeat; -} -#volume_repeat #volume_button { - background-image: url(templates/_tpl_vars['template']; ?> -/images/shuffle.png); -} -#volume_repeat #repeat_button { - background-image: url(templates/_tpl_vars['template']; ?> -/images/repeat.png); -} -#volume_repeat #volume_button:hover { - background-position: 0px -20px; -} -#volume_repeat #repeat_button:hover { - background-position: 0px -20px; -} -#volume_repeat #repeat_button.selected { - background-position: -30px 0px; -} -#volume_repeat #repeat_button.selected:hover { - background-position: -30px -20px; -} - -#volume_container { - position: absolute; - display: none; - top: -120px; - background: rgba(255, 0, 0, 0.5); - height: 140px; - width: 30px; -} - -#crumb_trail ul { - list-style-position: inside; - text-align: left; -} - -#crumb_trail li { - display: inline; - margin-left: 3px; - border: 0px none !important; -} -li.playing { - background: #444; -} -#progress { - background: #222 url(templates/_tpl_vars['template']; ?> -/images/progress_back.png) center center repeat-x; - border: 1px solid #666; - padding: 2px; - width: 276px; - height: 10px; - margin: 5px auto 10px; - text-align: left; - clear: both; -} -#progressbar { - font-size: 1px; - background: #ccc url(templates/_tpl_vars['template']; ?> -/images/progress.png) center center repeat-x;; - height: 10px; - margin: 0px; - padding: 0px; -} -#cover_image { - float: left; - height: 130px; - width: 130px; - margin: 10px 0px 20px; -} -img#cover { - background: #111; - padding: 2px; - border: 1px solid #666; -} -#tracktime { - font-weight: bold; - position: absolute; - top: 130px; - left: 150px; -} -#tracktime #total { - color: #666; -} \ No newline at end of file diff --git a/smarty/templates_c/%%3F^3F8^3F8E1A98%%playlist_item.html.php b/smarty/templates_c/%%3F^3F8^3F8E1A98%%playlist_item.html.php deleted file mode 100644 index b2333ba..0000000 --- a/smarty/templates_c/%%3F^3F8^3F8E1A98%%playlist_item.html.php +++ /dev/null @@ -1,17 +0,0 @@ - - array(array('modifier', 'string_format', 'default/playlist_item.html', 1, false),)), $this); ?> - _tpl_vars['playlist_item']['Pos'] == $this->_tpl_vars['playing']): ?>


_tpl_vars['playlist_item']['Pos']+1)) ? $this->_run_mod_handler('string_format', true, $_tmp, "%02d") : smarty_modifier_string_format($_tmp, "%02d")); ?>
-. _tpl_vars['playlist_item']['Title']): ?>_tpl_vars['playlist_item']['Title']; ?>
-_tpl_vars['playlist_item']['Artist'] && $this->_tpl_vars['show_extra_track_info']): ?>
_tpl_vars['browselist_item']['directory_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
-
_tpl_vars['browselist_item']['metaArtist'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
-
_tpl_vars['browselist_item']['metaAlbum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
-

_tpl_vars['browselist_item']['Title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))): ?>_tpl_vars['browselist_item']['Title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
-_tpl_vars['browselist_item']['Artist'] && $this->_tpl_vars['show_extra_track_info']): ?>

_tpl_vars['browselist_item']['Title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))): ?>_tpl_vars['browselist_item']['Title'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
-_tpl_vars['browselist_item']['Artist'] && $this->_tpl_vars['show_extra_track_info']): ?>
(Empty playlist)
- - \ No newline at end of file diff --git a/smarty/templates_c/%%B6^B60^B607F601%%control.html.php b/smarty/templates_c/%%B6^B60^B607F601%%control.html.php deleted file mode 100644 index 370d0b0..0000000 --- a/smarty/templates_c/%%B6^B60^B607F601%%control.html.php +++ /dev/null @@ -1,65 +0,0 @@ - - array(array('modifier', 'escape', 'default/control.html', 3, false),array('modifier', 'string_format', 'default/control.html', 12, false),)), $this); ?> -![<?php echo $this->_tpl_vars['current_album']; ?>
-](templates/<?php echo $this->_tpl_vars['template']; ?>
-/images/default_cover.png)