CC-2501:registration-workding-change

- temp commit. Styling is still broken
This commit is contained in:
james 2011-07-04 13:07:46 -04:00
parent 2bc108e8ae
commit 4ca7b3cf16
3 changed files with 22 additions and 4 deletions

View file

@ -17,7 +17,7 @@ class Application_Form_RegisterAirtime extends Zend_Form
// Station Name
$stnName = new Zend_Form_Element_Text("stnName");
$stnName->setLabel("Station Name:(*)")
$stnName->setLabel("Station Name")
->setRequired(true)
->setValue(Application_Model_Preference::GetStationName())
->setDecorators(array('ViewHelper'));

View file

@ -38,7 +38,9 @@
</dl>
<dl id="public-info" style="display:none;">
<dt id="stnName-label">
<label class="optional" for="stnName"><?php echo $this->element->getElement('stnName')->getLabel() ?></label>
<label class="optional" for="stnName"><?php echo $this->element->getElement('stnName')->getLabel() ?>
<span class="info-text-small">(Required)</span> :
</label>
</dt>
<dd id="stnName-element">
<?php echo $this->element->getElement('stnName') ?>
@ -55,6 +57,7 @@
</dt>
<dd id="Phone-element">
<?php echo $this->element->getElement('Phone') ?>
<span class="info-text-small">(for verification purposes only, will not be published)</span>
<?php if($this->element->getElement('Phone')->hasErrors()) : ?>
<ul class='errors'>
<?php foreach($this->element->getElement('Phone')->getMessages() as $error): ?>
@ -68,6 +71,7 @@
</dt>
<dd id="Email-element">
<?php echo $this->element->getElement('Email') ?>
<span class="info-text-small">(for verification purposes only, will not be published)</span>
<?php if($this->element->getElement('Email')->hasErrors()) : ?>
<ul class='errors'>
<?php foreach($this->element->getElement('Email')->getMessages() as $error): ?>

View file

@ -1896,3 +1896,17 @@ input[type="checkbox"][disabled] {
.play_small.playing:hover {
background-position: -20px -11px;
}
.info-text-small {
color: #5B5B5B;
font-size: 11px;
line-height: 150%;
margin: 0;
padding: 0 0 6px;
font-style:italic;
font-weight:normal;
}
dd .info-text-small {
padding: 1px 0 2px;
display:inline-block;
}