CC-2904: Space missing between two boxes on "Playlist Builder"
- fixed - extra change: bug on flag name change
This commit is contained in:
parent
1d172ca630
commit
3ac50b0183
3 changed files with 19 additions and 16 deletions
|
@ -432,6 +432,9 @@ class Application_Model_Preference
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function GetEnableStreamConf(){
|
public static function GetEnableStreamConf(){
|
||||||
|
if(self::GetValue("enable_stream_conf") == Null){
|
||||||
|
return "true";
|
||||||
|
}
|
||||||
return self::GetValue("enable_stream_conf");
|
return self::GetValue("enable_stream_conf");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,10 +64,10 @@
|
||||||
Additional Options
|
Additional Options
|
||||||
</legend>
|
</legend>
|
||||||
<dl class="zend_form">
|
<dl class="zend_form">
|
||||||
<dt id="outputUser-label" class="block-display">
|
<dt id="outputUser-label">
|
||||||
<label for="outputUser"><?php echo $this->element->getElement('user')->getLabel()?> :</label>
|
<label for="outputUser"><?php echo $this->element->getElement('user')->getLabel()?> :</label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd id="outputUser-element" class="block-display">
|
<dd id="outputUser-element">
|
||||||
<?php echo $this->element->getElement('user')?>
|
<?php echo $this->element->getElement('user')?>
|
||||||
<?php if($this->element->getElement('user')->hasErrors()) : ?>
|
<?php if($this->element->getElement('user')->hasErrors()) : ?>
|
||||||
<ul class='errors'>
|
<ul class='errors'>
|
||||||
|
@ -77,10 +77,10 @@
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</dd>
|
</dd>
|
||||||
<dt id="outputPassword-label" class="block-display">
|
<dt id="outputPassword-label">
|
||||||
<label class="optional" for="outputPassword"><?php echo $this->element->getElement('pass')->getLabel()?> :</label>
|
<label class="optional" for="outputPassword"><?php echo $this->element->getElement('pass')->getLabel()?> :</label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd id="outputPassword-element" class="block-display clearfix">
|
<dd id="outputPassword-element" class="clearfix">
|
||||||
<?php echo $this->element->getElement('pass')?>
|
<?php echo $this->element->getElement('pass')?>
|
||||||
<?php if($this->element->getElement('pass')->hasErrors()) : ?>
|
<?php if($this->element->getElement('pass')->hasErrors()) : ?>
|
||||||
<ul class='errors'>
|
<ul class='errors'>
|
||||||
|
@ -93,10 +93,10 @@
|
||||||
<dt class="block-display info-block">
|
<dt class="block-display info-block">
|
||||||
The following info will be displayed to listeners in their media player:
|
The following info will be displayed to listeners in their media player:
|
||||||
</dt>
|
</dt>
|
||||||
<dt id="stationDescription-label" class="block-display">
|
<dt id="stationDescription-label">
|
||||||
<label for="stationDescription"><?php echo $this->element->getElement('description')->getLabel()?> :</label>
|
<label for="stationDescription"><?php echo $this->element->getElement('description')->getLabel()?> :</label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd id="stationDescription-element" class="block-display clearfix">
|
<dd id="stationDescription-element" class="clearfix">
|
||||||
<?php echo $this->element->getElement('description')?>
|
<?php echo $this->element->getElement('description')?>
|
||||||
<?php if($this->element->getElement('description')->hasErrors()) : ?>
|
<?php if($this->element->getElement('description')->hasErrors()) : ?>
|
||||||
<ul class='errors'>
|
<ul class='errors'>
|
||||||
|
@ -106,10 +106,10 @@
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</dd>
|
</dd>
|
||||||
<dt id="stationURL-label" class="block-display">
|
<dt id="stationURL-label">
|
||||||
<label for="stationURL"><?php echo $this->element->getElement('url')->getLabel()?> :</label>
|
<label for="stationURL"><?php echo $this->element->getElement('url')->getLabel()?> :</label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd id="stationURL-element" class="block-display clearfix">
|
<dd id="stationURL-element" class="clearfix">
|
||||||
<?php echo $this->element->getElement('url')?>
|
<?php echo $this->element->getElement('url')?>
|
||||||
<span class="info-text-small">(Your radio station website)</span>
|
<span class="info-text-small">(Your radio station website)</span>
|
||||||
<?php if($this->element->getElement('url')->hasErrors()) : ?>
|
<?php if($this->element->getElement('url')->hasErrors()) : ?>
|
||||||
|
@ -120,10 +120,10 @@
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</dd>
|
</dd>
|
||||||
<dt id="outputGenre-label" class="block-display">
|
<dt id="outputGenre-label">
|
||||||
<label for="outputGenre"><?php echo $this->element->getElement('genre')->getLabel()?> :</label>
|
<label for="outputGenre"><?php echo $this->element->getElement('genre')->getLabel()?> :</label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd id="outputGenre-element" class="block-display">
|
<dd id="outputGenre-element">
|
||||||
<?php echo $this->element->getElement('genre')?>
|
<?php echo $this->element->getElement('genre')?>
|
||||||
<?php if($this->element->getElement('genre')->hasErrors()) : ?>
|
<?php if($this->element->getElement('genre')->hasErrors()) : ?>
|
||||||
<ul class='errors'>
|
<ul class='errors'>
|
||||||
|
@ -133,10 +133,10 @@
|
||||||
</ul>
|
</ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</dd>
|
</dd>
|
||||||
<dt id="outputMountpoint-label" class="block-display">
|
<dt id="outputMountpoint-label">
|
||||||
<label for="outputMountpoint"><?php echo $this->element->getElement('mount')->getLabel()?> :</label>
|
<label for="outputMountpoint"><?php echo $this->element->getElement('mount')->getLabel()?> :</label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd id="outputMountpoint-element" class="block-display">
|
<dd id="outputMountpoint-element">
|
||||||
<?php echo $this->element->getElement('mount')?>
|
<?php echo $this->element->getElement('mount')?>
|
||||||
<?php if($this->element->getElement('mount')->hasErrors()) : ?>
|
<?php if($this->element->getElement('mount')->hasErrors()) : ?>
|
||||||
<ul class='errors'>
|
<ul class='errors'>
|
||||||
|
@ -148,11 +148,11 @@
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<dt id="outputStreamURL-label" class="block-display">
|
<dt id="outputStreamURL-label">
|
||||||
<label for="outputStreamURL">Stream URL: </label>
|
<label for="outputStreamURL">Stream URL: </label>
|
||||||
</dt>
|
</dt>
|
||||||
<dd id="outputStreamURL-element" class="block-display">
|
<dd id="outputStreamURL-element">
|
||||||
<p id="stream_url"></p>
|
<span id="stream_url"></span>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong stream-config">
|
<div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong stream-config">
|
||||||
<h2 style="float:left">Stream Settings</h2>
|
<h2 <?php if($this->enable_stream_conf == "true"){?>style="float:left"<?php }?>>Stream Settings</h2>
|
||||||
<?php if($this->enable_stream_conf == "true"){?>
|
<?php if($this->enable_stream_conf == "true"){?>
|
||||||
<form method="post" action="/Preference/stream-setting" enctype="application/x-www-form-urlencoded">
|
<form method="post" action="/Preference/stream-setting" enctype="application/x-www-form-urlencoded">
|
||||||
<div class="button-bar bottom" id="submit-element" style="float:right">
|
<div class="button-bar bottom" id="submit-element" style="float:right">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue