diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-12-19 12:59:29 -0500 |
---|---|---|
committer | Paul Arthur <flowerysong00@yahoo.com> | 2012-12-19 13:09:12 -0500 |
commit | e7768b1634a05936d38cc7bbb06e94eb0110d94e (patch) | |
tree | 90073b096604c5296c946356715b406c9a7f04ad /templates | |
parent | 099a391d41ada68d79d39a728833905a70ee7306 (diff) | |
download | ampache-e7768b1634a05936d38cc7bbb06e94eb0110d94e.tar.gz ampache-e7768b1634a05936d38cc7bbb06e94eb0110d94e.tar.bz2 ampache-e7768b1634a05936d38cc7bbb06e94eb0110d94e.zip |
Drop unused static rating, whatever that was
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_object_rating_static.inc.php | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/templates/show_object_rating_static.inc.php b/templates/show_object_rating_static.inc.php deleted file mode 100644 index 198bb3b3..00000000 --- a/templates/show_object_rating_static.inc.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */ -/** - * Show Object Rating Static - * - * - * LICENSE: GNU General Public License, version 2 (GPLv2) - * Copyright (c) 2001 - 2011 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. - * - * @package Ampache - * @copyright 2001 - 2011 Ampache.org - * @license http://opensource.org/licenses/gpl-2.0 GPLv2 - * @link http://www.ampache.org/ - */ - -/* Create some variables we are going to need */ -$web_path = Config::get('web_path'); -$base_url = Config::get('ajax_url') . '?action=set_rating&rating_type=' . $rating->type . '&object_id=' . $rating->id; -?> - -<div class="star-rating"> - <ul> - <?php - // decide width of rating (5 stars -> 20% per star) - $width = $rating->preciserating*20; - if ($width < 0) $width = 0; - - //set the current rating background - echo "<li class=\"current-rating\" style=\"width:${width}%\" >" . T_('Current rating: '); - if ($rating->rating <= 0) { - echo T_('not rated yet') . "</li>\n"; - } - else printf(T_('%s of 5') ,$rating->preciserating); echo "</li>\n"; - - for ($i=1; $i<6; $i++) - { - ?> - <li> - <span class="star<?php echo $i; ?>" title="<?php echo $i.' ' . T_('out of'); ?> 5"><?php echo $i; ?></span> - </li> - <?php - } - ?> - </ul> -</div> |