summaryrefslogtreecommitdiffstats
path: root/templates/show_playlist_bar.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_playlist_bar.inc.php')
-rw-r--r--templates/show_playlist_bar.inc.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/show_playlist_bar.inc.php b/templates/show_playlist_bar.inc.php
new file mode 100644
index 00000000..cfff9e58
--- /dev/null
+++ b/templates/show_playlist_bar.inc.php
@@ -0,0 +1,25 @@
+<?php
+/*
+
+ Copyright (c) 2001 - 2007 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.
+
+*/
+$web_path = Config::get('web_path');
+
+// Get the count of the number of items in their playlist
+?>
+<div><?php echo __('There are currently %count% items in your playlist','%count%',$GLOBALS['user']->playlist->count_items()); ?></div>