CC-3160: Once Hardware dropdown is changed, stream information does not refresh

-fixed
This commit is contained in:
Martin Konecny 2011-12-05 12:34:11 -05:00
parent beab24d068
commit 0440eb7539
2 changed files with 23 additions and 23 deletions

View file

@ -2,30 +2,30 @@
$s_name = "s".$this->stream_number;
?>
<h3 class="collapsible-header <?php echo $this->stream_number == '1'?"close":""?>"><span class="arrow-icon"></span>Stream <?php echo $this->stream_number?></h3>
<div class="stream-setting-content" <?php echo $this->enabled == 0?'style="display: none;':''?> id="<?=$s_name?>-config">
<div class="stream-setting-content" <?php echo $this->enabled == 0?'style="display: none;':''?> id="<?php echo $s_name?>-config">
<fieldset class="padded">
<dl class="zend_form clearfix">
<dd id="<?=$s_name?>Liquidsoap-error-msg-element" class="liquidsoap_status">
<dd id="<?php echo $s_name?>Liquidsoap-error-msg-element" class="liquidsoap_status">
<?php echo $this->liquidsoap_error_msg?>
</dd>
<dt id="<?=$s_name?>Enabled-label">
<label for="<?=$s_name?>Enabled"><?php echo $this->element->getElement('enable')->getLabel() ?></label>
<dt id="<?php echo $s_name?>Enabled-label">
<label for="<?php echo $s_name?>Enabled"><?php echo $this->element->getElement('enable')->getLabel() ?></label>
</dt>
<dd id="<?=$s_name?>Enabled-element">
<dd id="<?php echo $s_name?>Enabled-element">
<?php echo $this->element->getElement('enable')?>
</dd>
<dt id="<?=$s_name?>Type-label">
<label for="<?=$s_name?>Type"><?php echo $this->element->getElement('type')->getLabel()?></label>
<dt id="<?php echo $s_name?>Type-label">
<label for="<?php echo $s_name?>Type"><?php echo $this->element->getElement('type')->getLabel()?></label>
</dt>
<dd id="<?=$s_name?>Type-element">
<dd id="<?php echo $s_name?>Type-element">
<?php echo $this->element->getElement('type')?>
</dd>
<dt id="<?=$s_name?>Bitrate-label">
<label for="<?=$s_name?>Bitrate"><?php echo $this->element->getElement('bitrate')->getLabel()?></label>
<dt id="<?php echo $s_name?>Bitrate-label">
<label for="<?php echo $s_name?>Bitrate"><?php echo $this->element->getElement('bitrate')->getLabel()?></label>
</dt>
<dd id="<?=$s_name?>Bitrate-element">
<dd id="<?php echo $s_name?>Bitrate-element">
<?php echo $this->element->getElement('bitrate')?>
</dd>
<dt id="outputServer-label">
@ -54,10 +54,10 @@
</ul>
<?php endif; ?>
</dd>
<dt id="<?=$s_name?>Output-label">
<label for="<?=$s_name?>Output"><?php echo $this->element->getElement('output')->getLabel()?></label>
<dt id="<?php echo $s_name?>Output-label">
<label for="<?php echo $s_name?>Output"><?php echo $this->element->getElement('output')->getLabel()?></label>
</dt>
<dd id="<?=$s_name?>Output-element">
<dd id="<?php echo $s_name?>Output-element">
<?php echo $this->element->getElement('output')?>
</dd>
@ -159,4 +159,4 @@
</dd>
</dl>
</fieldset>
</div>
</div>