Merge branch '1.9.1' into devel
This commit is contained in:
commit
314749bf98
|
@ -16,8 +16,9 @@ class Application_Form_SupportSettings extends Zend_Form
|
||||||
$this->addElement('text', 'stationName', array(
|
$this->addElement('text', 'stationName', array(
|
||||||
'class' => 'input_text',
|
'class' => 'input_text',
|
||||||
'label' => 'Station Name',
|
'label' => 'Station Name',
|
||||||
'required' => false,
|
'required' => true,
|
||||||
'filters' => array('StringTrim'),
|
'filters' => array('StringTrim'),
|
||||||
|
'validator' => array('NotEmpty'),
|
||||||
'value' => Application_Model_Preference::GetValue("station_name"),
|
'value' => Application_Model_Preference::GetValue("station_name"),
|
||||||
'decorators' => array(
|
'decorators' => array(
|
||||||
'ViewHelper'
|
'ViewHelper'
|
||||||
|
|
|
@ -1,19 +1,5 @@
|
||||||
<fieldset class="padded">
|
<fieldset class="padded">
|
||||||
<dl class="zend_form">
|
<dl class="zend_form">
|
||||||
<dt id="stationName-label" class="block-display">
|
|
||||||
<label class="required" for="stationName"><?php echo $this->element->getElement('stationName')->getLabel() ?> :
|
|
||||||
</label>
|
|
||||||
</dt>
|
|
||||||
<dd id="stationName-element" class="block-display">
|
|
||||||
<?php echo $this->element->getElement('stationName') ?>
|
|
||||||
<?php if($this->element->getElement('stationName')->hasErrors()) : ?>
|
|
||||||
<ul class='errors'>
|
|
||||||
<?php foreach($this->element->getElement('stationName')->getMessages() as $error): ?>
|
|
||||||
<li><?php echo $error; ?></li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
<?php endif; ?>
|
|
||||||
</dd>
|
|
||||||
<dd id="SupportFeedback-element" style="width:90%;">
|
<dd id="SupportFeedback-element" style="width:90%;">
|
||||||
<div class="info-text">Help Airtime improve by letting us know you are using it. This info
|
<div class="info-text">Help Airtime improve by letting us know you are using it. This info
|
||||||
will be collected regularly in order to improve your user experience.</div>
|
will be collected regularly in order to improve your user experience.</div>
|
||||||
|
@ -47,7 +33,22 @@
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<div class="info-text" style="clear: both;padding: 4px 0 4px 15px;"><p> Note: In order to promote your station, "Send support feedback" must be enabled</p></div>
|
<div class="info-text" style="clear: both;padding: 4px 0 4px 15px;"><p> Note: In order to promote your station, "Send support feedback" must be enabled</p></div>
|
||||||
<dl id="public-info" style="display:none;">
|
<dl id="public-info" style="display:none;">
|
||||||
|
<dt id="stationName-label" class="block-display">
|
||||||
|
<label class="required" for="stationName"><?php echo $this->element->getElement('stationName')->getLabel() ?>
|
||||||
|
<span class="info-text-small">(Required)</span>:
|
||||||
|
</label>
|
||||||
|
</dt>
|
||||||
|
<dd id="stationName-element" class="block-display">
|
||||||
|
<?php echo $this->element->getElement('stationName') ?>
|
||||||
|
<?php if($this->element->getElement('stationName')->hasErrors()) : ?>
|
||||||
|
<ul class='errors'>
|
||||||
|
<?php foreach($this->element->getElement('stationName')->getMessages() as $error): ?>
|
||||||
|
<li><?php echo $error; ?></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
<?php endif; ?>
|
||||||
|
</dd>
|
||||||
<dt id="Phone-label" class="block-display">
|
<dt id="Phone-label" class="block-display">
|
||||||
<label class="optional" for="Phone"><?php echo $this->element->getElement('Phone')->getLabel() ?></label>
|
<label class="optional" for="Phone"><?php echo $this->element->getElement('Phone')->getLabel() ?></label>
|
||||||
<span class="info-text-small">(for verification purposes only, will not be published)</span>
|
<span class="info-text-small">(for verification purposes only, will not be published)</span>
|
||||||
|
|
Loading…
Reference in New Issue