summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-10-15 21:18:50 +0200
committerAndreas Gohr <andi@splitbrain.org>2005-10-15 21:18:50 +0200
commit6e37f3d92cd20e04f37d47feb5fde819e056da5e (patch)
tree8910ca5eceae596408a429d52d2de2d03e640280
parent5e1632788b8a5f5b9eebd2acb72e1de7d9f0ac63 (diff)
downloadrpg-6e37f3d92cd20e04f37d47feb5fde819e056da5e.tar.gz
rpg-6e37f3d92cd20e04f37d47feb5fde819e056da5e.tar.bz2
insert media with leading colon
fixes a bug when a mediafile from the top namespace is referenced in a subnamespace. Thanks to Otto Vainio for reporting darcs-hash:20051015191850-7ad00-b5c2c965b6032b081973e25d02adb2a9408b54de.gz
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 9d0d3ef9a..b851fc584 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -719,7 +719,7 @@ function tpl_mediafilelist(){
ptln('<ul>',2);
foreach($data as $item){
ptln('<li>',4);
- ptln('<a href="javascript:mediaSelect(\''.$item['id'].'\')">'.
+ ptln('<a href="javascript:mediaSelect(\':'.$item['id'].'\')">'.
utf8_decodeFN($item['file']).
'</a>',6);