diff options
Diffstat (limited to 'contrib/themes/tangens')
16 files changed, 0 insertions, 648 deletions
diff --git a/contrib/themes/tangens/images/ampache-dark-bg.gif b/contrib/themes/tangens/images/ampache-dark-bg.gif Binary files differdeleted file mode 100755 index e9fc72c9..00000000 --- a/contrib/themes/tangens/images/ampache-dark-bg.gif +++ /dev/null diff --git a/contrib/themes/tangens/images/ampache-light-bg.gif b/contrib/themes/tangens/images/ampache-light-bg.gif Binary files differdeleted file mode 100755 index 262430b8..00000000 --- a/contrib/themes/tangens/images/ampache-light-bg.gif +++ /dev/null diff --git a/contrib/themes/tangens/images/ampache-mid.gif b/contrib/themes/tangens/images/ampache-mid.gif Binary files differdeleted file mode 100755 index 57376ea4..00000000 --- a/contrib/themes/tangens/images/ampache-mid.gif +++ /dev/null diff --git a/contrib/themes/tangens/images/ampache.gif b/contrib/themes/tangens/images/ampache.gif Binary files differdeleted file mode 100755 index f3d1d07e..00000000 --- a/contrib/themes/tangens/images/ampache.gif +++ /dev/null diff --git a/contrib/themes/tangens/images/ampache.png b/contrib/themes/tangens/images/ampache.png Binary files differdeleted file mode 100755 index b8d22dfa..00000000 --- a/contrib/themes/tangens/images/ampache.png +++ /dev/null diff --git a/contrib/themes/tangens/images/blank-pixel.gif b/contrib/themes/tangens/images/blank-pixel.gif Binary files differdeleted file mode 100755 index 17d43908..00000000 --- a/contrib/themes/tangens/images/blank-pixel.gif +++ /dev/null diff --git a/contrib/themes/tangens/images/blankalbum.gif b/contrib/themes/tangens/images/blankalbum.gif Binary files differdeleted file mode 100755 index a1d25b40..00000000 --- a/contrib/themes/tangens/images/blankalbum.gif +++ /dev/null diff --git a/contrib/themes/tangens/images/blankalbum.jpg b/contrib/themes/tangens/images/blankalbum.jpg Binary files differdeleted file mode 100755 index 468301bd..00000000 --- a/contrib/themes/tangens/images/blankalbum.jpg +++ /dev/null diff --git a/contrib/themes/tangens/images/headphone.gif b/contrib/themes/tangens/images/headphone.gif Binary files differdeleted file mode 100755 index 74a66e11..00000000 --- a/contrib/themes/tangens/images/headphone.gif +++ /dev/null diff --git a/contrib/themes/tangens/images/table.gif b/contrib/themes/tangens/images/table.gif Binary files differdeleted file mode 100755 index 89761b38..00000000 --- a/contrib/themes/tangens/images/table.gif +++ /dev/null diff --git a/contrib/themes/tangens/images/topbg.gif b/contrib/themes/tangens/images/topbg.gif Binary files differdeleted file mode 100755 index d0eb484d..00000000 --- a/contrib/themes/tangens/images/topbg.gif +++ /dev/null diff --git a/contrib/themes/tangens/screencap/01.jpg b/contrib/themes/tangens/screencap/01.jpg Binary files differdeleted file mode 100755 index 037cc8ee..00000000 --- a/contrib/themes/tangens/screencap/01.jpg +++ /dev/null diff --git a/contrib/themes/tangens/templates/default.css b/contrib/themes/tangens/templates/default.css deleted file mode 100644 index b077d37b..00000000 --- a/contrib/themes/tangens/templates/default.css +++ /dev/null @@ -1,366 +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
- as published by the Free Software Foundation; either version 2
- of the License, or (at your option) any later version.
-
- 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.
-
-*/
-?>
-<style type="text/css">
-<!--
-body {
- margin:0px;
- background: #ffffff;
- font-family: Tahoma, Helvetica, Arial, sans-serif;
- color: black;
- }
-
- a {
- color: #333;
- text-decoration: none;
- }
- a:hover {
- color: #000;
- }
-
- .text-box {
- padding-left:5px;
- padding-top:5px;
- margin-bottom:10px;
- }
-
-table.border {
- padding-left: 5px;
- border: 1px solid #ccc;
- background-image: url(..//themes/tangens/images/topbg.gif);
- background-repeat: repeat-x;
-}
-
-td {
- padding: 3px 10px 3px 10px;
-}
-
-th, tr.table-header td {
- padding: .1em 5px .1em 5px;
- border-bottom: 1px solid #00f;
- text-align: left;
- font-size: 1.2em;
- font-weight: normal;
-}
-
- input {
- font-weight: bold;
- border-style: solid;
- border-width: 1px;
- border-color: #ccc;
- margin: 2px 2px 2px 2px;
- padding: 2px;
- }
- input.smallbutton, input.button {
- background: url(..//themes/tangens/images/topbg.gif);
- }
-
- select {
- }
-
- textarea {
- }
-
- .table-header {
- vertical-align: top;
- }
-
-/*************** Page Header *********************/
- #pageheader {
- }
-/*************** END Page Header *****************/
- .navitem
- {
- vertical-align: top;
- text-align: center;
- }
- .header1
- {
- font-weight: 900;
- }
- .header2
- {
- font-weight: 900;
- }
- .active_navitem
- {
- vertical-align: top;
- text-align: center;
- }
- .headrow
- {
- }
- .odd,.odd td
- {
-/* border-bottom: 1px solid #ccc;*/
- background-color: #f5f5f5;
- }
- .even,.even > td
- {
-/* border-bottom: 1px solid #ccc;*/
- }
- .blank
- {
- background: #fff;
- }
- .border
- {
- }
- .header
- {
- }
- .error
- {
- }
- .fatalerror
- {
- padding-top: 3px;
- padding-bottom: 3px;
- font-size: 1.1em;
- font-weight: 900;
- text-align: center;
- }
- .disabled
- {
- text-decoration: line-through;
- }
- .alphabet
- {
- font-weight: normal;
- font-size: .8em;
- }
-
-#maincontainer
-{
- margin: 0px;
-}
-#topbar
-{
- height: 57px;
- padding-top: 0px;
- padding-left: 10px;
- background-color: #ffffff;
- background-image: url(..//themes/tangens/images/topbg.gif);
- border: 0px solid #cccccc;
- border-bottom-width: 1px;
-}
-#topbarright
-{
- float: right;
- font-size: .7em;
-}
- #topbarleft
- {
- float: left;
- }
- .nodisplay { display: none;}
- .display {}
- #mpdpl td {
- padding: 0px 2px 0px 2px;
- text-align: left;
- }
-/**
- * End Div Definitions
- * This is the end of the main structure def's
- */
-
-/**
- * Experimental for menus (Thx Sigger)
- * TO DO: Fill in 1px border around menus & submenu items
- * Make padding appply to the li, not just an a. Moving paddng: to li throws off the dropdown menu alignment.
- */
-#content {
- border: 1px solid #ccc;
- position: absolute;
- left: 205px;
- margin-right: 20px;
- top: 84px;
- z-index: 0;
- background-color: #f0f0f0;
- font-size: .9em;
-}
-#sidebar {
- height: 100%;
- position: absolute;
- left: 0px;
- top: 84px;
- padding: 0px;
- list-style: none;
- z-index: 1;
-}
-#sidebar ul {
- border: 1px solid #ccc;
- margin: 0px;
- list-style: none;
- font-family: verdana, arial, Helvetica, sans-serif;
- line-height: 1.0;
- background-color: #f0f0f0;
- padding-left: 0px;
- padding-top: 5px;
- padding-bottom: 5px;
- padding-right: 0px;
-}
-#sidebar li {
- margin: 0px;
- display: block;
- padding: .4em 5px 0em 15px;
- width: 170px;
-}
-#sidebar a, .navbutton {
- display: block;
- text-decoration: none;
- color: black;
- padding-left: 10px;
- padding-bottom: .3em;
- border-bottom: 1px solid #ccc;
-}
-#sidebar form {
- display: block;
-}
- #sidebar a:hover {
- color: #000;
- font-weight: bold;
- }
-#sidebar li:hover, #sidebar li.sfhover {
- background-color: #dddddd;
-}
-#sidebar li#active a{
- color: #000;
- border-bottom: 1px solid #00f;
-}
-#sidebar li ul {
- border: 1px solid #ccc;
- border-left: 1px solid #00f;
- position: absolute; /* width: 9em;*/
- margin: -1em 0 0 150px; /* for vertical menu; comment out otherwise */
- left: -999em; /* this -999em puts the submenu item way off to the left until it's called back by a hover (below) */
-}
- #sidebar li:hover ul, #sidebar li.sfhover ul {
- left: auto; /* this calls the submenu back when the parent li is hovered. */
- }
-
-/* User Online/Offline style, used in users.php */
-td.user_online {
- border:0px;
- background-color: green;
-}
-td.user_offline {
- border:0px;
- background-color: #AA0000;
-}
-td.user_disabled {
- border:0px;
- background-color: gray;
-}
-/* styles for the star ratings */
-.star-rating{
- list-style:none;
- margin: 0px;
- padding:0px;
- width: 80px;
- height: 15px;
- position: relative;
- background: url(../../../images/ratings/star_rating.gif) top left repeat-x;
-}
-.star-rating li{
- padding:0px;
- margin:0px;
- float: right;
-}
-.star-rating li span{
- display:block;
- width:16px;
- height: 15px;
- text-decoration: none;
- text-indent: -9000px;
- z-index: 20;
- position: absolute;
- padding: 0px;
-}
-.star-rating li span:hover{
- background: url(../../../images/ratings/star_rating.gif) left center;
- z-index: 2;
- left: 0px;
-}
-li.zero-stars span:hover {
- background: url(../../../images/ratings/x.gif);
- height: 15px;
- left: 80px;
- display: block;
-}
-span.zero-stars {
- background: url(../../../images/ratings/x_off.gif);
- height: 15px;
- left: 80px;
- display: block;
-}
-span.one-stars{
- left: 0px;
-}
-span.one-stars:hover{
- width:16px;
-}
-span.two-stars{
- left:16px;
-}
-span.two-stars:hover{
- width: 32px;
-}
-span.three-stars{
- left: 32px;
-}
-span.three-stars:hover{
- width: 48px;
-}
-span.four-stars{
- left: 48px;
-}
-span.four-stars:hover{
- width: 64px;
-}
-span.five-stars{
- left: 64px;
-}
-span.five-stars:hover{
- width: 80px;
-}
-li.current-rating{
- background: url(../../../images/ratings/star_rating.gif) left bottom;
- position: absolute;
- height: 15px;
- display: block;
- text-indent: -9000px;
- z-index: 1;
-}
-
-.np_cell, .np_cell_left, .np_cell_m, .np_cell_right {
-}
-.lp_box_ctrl {
- text-align: center; /*for compatibility, may be controlled by themers now*/
-/* padding-top: 5px; */
-}
-.lp_box_vol {
- text-align: center; /*for compatibility, may be controlled by themers now*/
-/* padding-left: 7px; */
-}
--->
-</style>
diff --git a/contrib/themes/tangens/templates/menustyle.inc b/contrib/themes/tangens/templates/menustyle.inc deleted file mode 100755 index 54b6c195..00000000 --- a/contrib/themes/tangens/templates/menustyle.inc +++ /dev/null @@ -1,28 +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 - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - 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. - -*/ - -/*! - @header Style File - @discussion this is the css that handles the menu mojo (#sidebar, etc) and the - outer layer of layout (#maincontainer, #topbar, #content, etc -*/ -?> diff --git a/contrib/themes/tangens/templates/sidebar.inc.php b/contrib/themes/tangens/templates/sidebar.inc.php deleted file mode 100755 index 00de67cc..00000000 --- a/contrib/themes/tangens/templates/sidebar.inc.php +++ /dev/null @@ -1,167 +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 - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - 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. - -*/ - -/** - * This is kind of the wrong place to do this, but let's define the different submenu's that could possibly be - * displayed on this page, this calls the show_submenu($items); function which takes an array of items - * that have ['title'] ['url'] and ['active'] url assumes no conf('web_path') - */ - -$admin_items[] = array('title'=>_("Users"),'url'=>'admin/users.php','active'=>''); -$admin_items[] = array('title'=>_("Mail Users"),'url'=>'admin/mail.php','active'=>''); -$admin_items[] = array('title'=>_("Catalog"),'url'=>'admin/catalog.php','active'=>''); -$admin_items[] = array('title'=>_("Site Preferences"),'url'=>'admin/preferences.php','active'=>''); -$admin_items[] = array('title'=>_("Access List"),'url'=>'admin/access.php','active'=>''); - -$browse_items[] = array('title'=>_("Albums"),'url'=>'albums.php','active'=>''); -$browse_items[] = array('title'=>_("Artists"),'url'=>'artists.php','active'=>''); -$browse_items[] = array('title'=>_("Genre"),'url'=>'browse.php?action=genre','active'=>''); -$browse_items[] = array('title'=>_("Lists"),'url'=>'browse.php','active'=>''); -//$browse_items[] = array('title'=>'File','url'=>'files.php','active'=>''); - -//what item is currently active? -switch (strrchr($_SERVER['SCRIPT_NAME'],"/")) { - case "/index.php": (strpos($_SERVER['PHP_SELF'],"/admin") ? $myactive = "admin":$myactive = "home"); break; - case "/preferences.php": $myactive = "preferences"; break; - case "/browse.php": $myactive = "browse"; break; - case "/albums.php": $myactive = "browse"; break; - case "/artists.php": $myactive = "browse"; break; - case "/upload.php": $myactive = "upload"; break; - case "/playlist.php": $myactive = "playlist"; break; - case "/mpd.php": $myactive = "mpd"; break; - case "/search.php": $myactive = "search"; break; - case "/randomplay.php": $myactive = "randomplay"; break; - case "/song.php": $myactive = "song"; break; - - default: (strpos($_SERVER['PHP_SELF'],"/admin") ? $myactive = "admin":$myactive = "home"); break; -} - -?> -<!-- <div id="navcontainer"> --> <!--sigger: appears this div is not neccesary and duplicates #sidebar --> - <ul id="navlist"> - <li <?php if($myactive=="home") echo "id=\"active\""; ?>> - <a href="<?php echo conf('web_path'); ?>/index.php" id="current"><?php echo _("Home"); ?></a> - </li> - <?php if ($GLOBALS['user']->has_access(100)) { ?> - <li <?php if($myactive=="admin") echo "id=\"active\""; ?>> - <a href="<?php echo conf('web_path'); ?>/admin/index.php"><?php echo _("Admin"); ?></a> - <?php - if ($GLOBALS['theme']['submenu'] != 'simple') { - show_submenu($admin_items); - echo "\t</li>\n"; - } - else { - if ($location['section'] == 'admin') { - echo "\t</li>\n"; - show_submenu($admin_items); - } - } // end if browse sub menu - - } // end if access - ?> - - <li <?php if($myactive=="preferences") echo "id=\"active\""; ?>> - <a href="<?php echo conf('web_path'); ?>/preferences.php"><?php echo _("Preferences"); ?></a> - </li> - <li <?php if($myactive=="browse") echo "id=\"active\""; ?>> - <a href="<?php echo conf('web_path'); ?>/browse.php"><?php echo _("Browse"); ?></a> - <?php - if ($GLOBALS['theme']['submenu'] != 'simple') { - show_submenu($browse_items); - echo "\t</li>\n"; - } - else { - if ($location['section'] == 'browse') { - echo "\t</li>\n"; - show_submenu($browse_items); - } - } - ?> - - <?php if ($GLOBALS['user']->prefs['upload']) { ?> - <li <?php if($myactive=="upload") echo "id=\"active\""; ?>> - <a href="<?php echo conf('web_path'); ?>/upload.php"><?php echo _("Upload"); ?></a> - </li> - <?php } ?> - <li <?php if($myactive=="playlist") echo "id=\"active\""; ?>> - <a href="<?php echo conf('web_path'); ?>/playlist.php"><?php echo _("Playlists"); ?></a> - </li> - <?php if ($GLOBALS['user']->prefs['play_type'] == 'mpd') { ?> - <li <?php if($myactive=="mpd") echo "id=\"active\""; ?>> - <a href="<?php echo conf('web_path'); ?>/mpd.php"><?php echo _("Local Play"); ?></a> - </li> - <?php } ?> - <li <?php if($myactive=="search") echo "id=\"active\""; ?>> - <a href="<?php echo conf('web_path'); ?>/search.php"><?php echo _("Search"); ?></a> - </li> - <?php if ($GLOBALS['theme']['orientation'] != 'horizontal') { ?> - <li <?php if($myactive=="search") echo "id=\"active\""; ?>> - <form name="sub_search" method="post" action="<?php echo conf('web_path'); ?>/search.php" enctype="multipart/form-data" style="Display:inline"> - <input type="text" name="search_string" value="<?php echo scrub_out($_REQUEST['search_string']); ?>" size="5" /> - <input class="smallbutton" type="submit" value="<?php echo _("Search"); ?>" /> - <input type="hidden" name="action" value="quick_search" /> - <input type="hidden" name="method" value="fuzzy" /> - <input type="hidden" name="object_type" value="song" /> - <input type="hidden" name="search_object[]" value="all" /> - </form> - </li> - <?php } ?> - <li <?php if($myactive=="randomplay") echo "id=\"active\""; ?>> - <a href="<?php echo conf('web_path'); ?>/randomplay.php"><?php echo _('Random'); ?></a> - </li> - <?php if ($GLOBALS['theme']['orientation'] != 'horizontal') { ?> - <li <?php if($myactive=="song") echo "id=\"active\""; ?>> - <form name="sub_random" method="post" enctype="multipart/form-data" action="<?php echo conf('web_path'); ?>/song.php" style="Display:inline"> - <input type="hidden" name="action" value="m3u" /> - <select name="random" style="width:9em;"> - <option value="1">1</option> - <option value="5">5</option> - <option value="10">10</option> - <option value="20">20</option> - <option value="30">30</option> - <option value="50">50</option> - <option value="100">100</option> - <option value="500">500</option> - <option value="1000">1000</option> - <option value="-1"><?php echo _("All"); ?></option> - </select> - <?php show_genre_pulldown('genre','','','13','width:9em;'); ?> - <br /> - <select name="random_type" style="width:9em;"> - <option value="Songs"><?php echo _("Songs"); ?></option> - <option value="Minutes"><?php echo _("Minutes"); ?></option> - <option value="Artists"><?php echo _("Artists"); ?></option> - <option value="Albums"><?php echo _("Albums"); ?></option> - <option value="Less Played"><?php echo _("Less Played"); ?></option> - </select> - <br /> - <input type="hidden" name="aaction" value="Play!" /> - <input class="smallbutton" type="submit" name="aaction" value="<?php echo _("Enqueue"); ?>" /> - </form> - </li> - <?php } ?> - <?php if (conf('use_auth')) { ?> - <li><a href="<?php echo conf('web_path'); ?>/logout.php"><?php echo _("Logout"); ?></a></li> - <?php } ?> - </ul> - -<!-- </div> --> diff --git a/contrib/themes/tangens/theme.cfg.php b/contrib/themes/tangens/theme.cfg.php deleted file mode 100755 index 45bd5b20..00000000 --- a/contrib/themes/tangens/theme.cfg.php +++ /dev/null @@ -1,87 +0,0 @@ -################## -#<?php exit(); ?># -################## - -########################### -# Tangens Ampache Theme -########################### - -# Theme Name -# This is the actual name of the theme that -# will be displayed in the preferences screen -# DEFAULT: ampache-theme -name = "tangens" - -# Theme Author -# This is just a way of giving credit to the -# person who actually created this theme -# DEFAULT: N/A -author = "Florian Kleinert modified by Terence Theijn (pb1dft)" - -# Theme Maintainer -# This is just a way of listing who is responsible for -# maintaining this theme incase it's not working right -# please include an e-mail address so you can be contacted -# DEFAULT: N/A -#maintainer = "Florian Kleinert <fkleinert@sonnenstrasse.dyndns.org>" - -# Orientation -# This was added as of 3.3.2-Alpha4, this tells Ampache if this theme -# uses vertical or horizontal orientation of the menu, if this is a horizontal -# theme then it will not show the quick search and quick random play forms -orientation = "vertical" - -# Submenu -# If this is set to simple the sub menu's will only be shown when you're on one of the -# respective pages. If you want to make the menu's something like the classic theme -# comment this out -#submenu = "simple" - -# Version -# This is the revision for this theme, It's up to the maintainer -# or author to decide how they want to format this -version = "1.1" - -# Theme Colors -################### -[color] -################### -# Below is a list of the default colors for this theme, upon -# applying this theme the users color preferences will be reset -# to what is listed below... - -# ... and since i dont want the user to change anything the settings here are ignored - -# Background Color 1 -bg_color1 = "#ffffff" - -# Background Color 2 -bg_color2 = "#000000" - -# Base Color 1 -base_color1 = "#bbbbbb" - -# Base Color 2 -base_color2 = "#dddddd" - -# Font Color 1 -font_color1 = "#222222" - -# Font Color 2 -font_color2 = "#000000" - -# Font Color 3 -font_color3 = "#ffffff" - -# Row Color 1 -row_color1 = "#cccccc" - -# Row Color 2 -row_color2 = "#bbbbbb" - -# Row Color 3 -row_color3 = "#dddddd" - -# Error Color -error_color = "#990033" - |