CC-3224: "On-the-fly" stream rebroadcasting

- interface implementation. subform within the show form.
This commit is contained in:
james 2012-02-08 00:04:19 -05:00 committed by James
parent ca04a7a686
commit 701ed82f40
10 changed files with 164 additions and 21 deletions

View file

@ -0,0 +1,59 @@
<fieldset>
<dl>
<dt id="allow_live_stream_override-label">
<label class="optional" for="allow_live_stream_override">
<?php echo $this->element->getElement('allow_live_stream_override')->getLabel() ?>
</label>
</dt>
<dd id="allow_live_stream_override-element">
<?php echo $this->element->getElement('allow_live_stream_override') ?>
</dd>
<dt id="security_setting1_override-label">
<label class="optional" for="security_setting1">
<?php echo $this->element->getElement('security_setting1')->getLabel() ?>
</label>
</dt>
<dd id="security_setting1_override-element">
<?php echo $this->element->getElement('security_setting1') ?>
</dd>
<dt id="security_setting2_override-label">
<label class="optional" for="security_setting2">
<?php echo $this->element->getElement('security_setting2')->getLabel() ?>
</label>
</dt>
<dd id="security_setting2_override-element">
<?php echo $this->element->getElement('security_setting2') ?>
</dd>
<dt id="custom_username-label" class="block-display">
<label class="optional" for="custom_username"><?php echo $this->element->getElement('custom_username')->getLabel() ?> :
</label>
</dt>
<dd id="custom_username-element" class="block-display">
<?php echo $this->element->getElement('custom_username') ?>
<?php if($this->element->getElement('custom_username')->hasErrors()) : ?>
<ul class='errors'>
<?php foreach($this->element->getElement('custom_username')->getMessages() as $error): ?>
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</dd>
<dt id="custom_password-label" class="block-display">
<label class="optional" for="custom_password"><?php echo $this->element->getElement('custom_password')->getLabel() ?> :
</label>
</dt>
<dd id="custom_password-element" class="block-display">
<?php echo $this->element->getElement('custom_password') ?>
<?php if($this->element->getElement('custom_password')->hasErrors()) : ?>
<ul class='errors'>
<?php foreach($this->element->getElement('custom_password')->getMessages() as $error): ?>
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</dd>
</dl>
</fieldset>

View file

@ -14,8 +14,7 @@
<?php endif; ?>
</dd>
<dt id="master_username-label" class="block-display">
<label class="optional" for="master_username"><?php echo $this->element->getElement('master_username')->getLabel() ?>
<span class="info-text-small">(Required)</span> :
<label class="optional" for="master_username"><?php echo $this->element->getElement('master_username')->getLabel() ?> :
</label>
</dt>
<dd id="master_username-element" class="block-display">
@ -29,8 +28,7 @@
<?php endif; ?>
</dd>
<dt id="master_password-label" class="block-display">
<label class="optional" for="master_password"><?php echo $this->element->getElement('master_password')->getLabel() ?>
<span class="info-text-small">(Required)</span> :
<label class="optional" for="master_password"><?php echo $this->element->getElement('master_password')->getLabel() ?> :
</label>
</dt>
<dd id="master_password-element" class="block-display">

View file

@ -16,6 +16,10 @@
<?php echo $this->when; ?>
<?php echo $this->repeats; ?>
</div>
<h3 class="collapsible-header"><span class="arrow-icon"></span>Live Stream</h3>
<div id="live-stream-override" class="collapsible-content">
<?php echo $this->live; ?>
</div>
<?php if(!$this->isSaas()){?>
<h3 class="collapsible-header"><span class="arrow-icon"></span>Record & Rebroadcast</h3>
<div id="schedule-record-rebroadcast" class="collapsible-content">