Permalink
Browse files

Bug fix on playing preset radio for webradio admin

  • Loading branch information...
1 parent e4ceb24 commit 3ebc196bde2839ad4a2ac96e19a5760bc8ba4fca @Pixel166 Pixel166 committed Apr 8, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 http-wrapper/ojn_admin/plugins/bunnies/webradio.plugin.php
@@ -68,21 +68,21 @@
<input type="radio" name="a" value="play" /> Play a preset <select name="playN">
<option value=""></option>
<?php foreach($pList['list']->item as $item) { ?>
- <option value="<?php echo urldecode($item->key) ?>"><?php echo urldecode(preg_replace("|^OJN_|", "", $item->key)); ?></option>
+ <option value="<?php echo urldecode(preg_replace("|^OJN_|", "", $item->key)) ?>"><?php echo urldecode(preg_replace("|^OJN_|", "", $item->key)); ?></option>
<?php } ?>
</select><br />
<input type="radio" name="a" value="playurl" /> Play an url <input type="text" name="playU"><br />
<input type="radio" name="a" value="preset" /> Add a preset <input type="text" name="presetN"> for url <input type="text" name="presetU"><br />
<input type="radio" name="a" value="webcast" /> Add a webcast at (hh:mm) <input type="text" name="webcastT" maxlength="5" style="width:50px" /> for preset <select name="webcastP">
<option value=""></option>
<?php foreach($pList['list']->item as $item) { ?>
- <option value="<?php echo urldecode($item->key) ?>"><?php echo urldecode(preg_replace("|^OJN_|", "", $item->key)); ?></option>
+ <option value="<?php echo urldecode(preg_replace("|^OJN_|", "", $item->key)) ?>"><?php echo urldecode(preg_replace("|^OJN_|", "", $item->key)); ?></option>
<?php } ?>
</select><br />
<input type="radio" name="a" value="rfidplay" /> Play preset <select name="PresetN_Rfp">
<option value=""></option>
<?php foreach($pList['list']->item as $item) { ?>
- <option value="<?php echo urldecode($item->key) ?>"><?php echo urldecode(preg_replace("|^OJN_|", "", $item->key)); ?></option>
+ <option value="<?php echo urldecode(preg_replace("|^OJN_|", "", $item->key)) ?>"><?php echo urldecode(preg_replace("|^OJN_|", "", $item->key)); ?></option>
<?php } ?>
</select> on Ztamp: <select name="Tag_Rfp">
<option value=""></option>

0 comments on commit 3ebc196

Please sign in to comment.