summaryrefslogtreecommitdiffstats
path: root/templates/rightbar.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-24 22:07:37 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-24 22:07:37 +0000
commit43ac0a51503668bd003f9205b70969b62bbf03e1 (patch)
treeb716999c9e26c32cdb0058fa1011a2d807c93e26 /templates/rightbar.inc.php
parentc5a737278e92650310443a74f7b808b6c5c96685 (diff)
downloadampache-43ac0a51503668bd003f9205b70969b62bbf03e1.tar.gz
ampache-43ac0a51503668bd003f9205b70969b62bbf03e1.tar.bz2
ampache-43ac0a51503668bd003f9205b70969b62bbf03e1.zip
Updated FR translation from Erwan
Diffstat (limited to 'templates/rightbar.inc.php')
-rw-r--r--templates/rightbar.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/rightbar.inc.php b/templates/rightbar.inc.php
index 01a6aa10..95af30a0 100644
--- a/templates/rightbar.inc.php
+++ b/templates/rightbar.inc.php
@@ -96,6 +96,10 @@
$object = new $type(array_shift($object_data));
$object->format();
}
+ elseif ($type == Random::validate_type($type)) {
+ $object = new Random();
+ $object->f_link = Random::get_type_name($type);
+ }
?>
<li class="<?php echo flip_class(); ?>" >
<?php echo $object->f_link; ?>