48 lines
2.2 KiB
PHTML
48 lines
2.2 KiB
PHTML
<?php if (isset($this->obj)) : ?>
|
|
<input class="obj_id" type="hidden" value="<?php echo $this->obj->getId(); ?>"/>
|
|
<input class="obj_lastMod" type="hidden" value="<?php echo "1";//$this->obj->getLastModified('U'); ?>"/>
|
|
<input class="obj_type" type="hidden" value="webstream"/>
|
|
<div class="status" style="display:none;"></div>
|
|
|
|
<div class="playlist_title">
|
|
<div id="name-error" class="errors" style="display:none;"></div>
|
|
<h3 class="ws_name">
|
|
<a class="playlist_name_display" contenteditable="true"><?php echo $this->escape($this->obj->getName()); ?></a>
|
|
</h3>
|
|
<h4 class="ws_length"><?php echo $this->obj->getDefaultLength(); ?></h4>
|
|
</div>
|
|
|
|
<dl class="zend_form">
|
|
<dt id="description-label"><label for="description"><?php echo _("Description") ?></label></dt>
|
|
<dd id="description-element">
|
|
<textarea cols="80" rows="24" id="description" name="description"><?php echo $this->obj->getDescription(); ?></textarea>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl class="zend_form">
|
|
<dt id="submit-label" style="display: none;"> </dt>
|
|
<div id="url-error" class="errors" style="display:none;"></div>
|
|
<dt id="streamurl-label"><label for="streamurl"><?php echo _("Stream URL:"); ?></label></dt>
|
|
<dd id="streamurl-element">
|
|
<input type="text" value="<?php echo $this->obj->getUrl(); ?>" size="40"/>
|
|
</dd>
|
|
<div id="length-error" class="errors" style="display:none;"></div>
|
|
<dt id="streamlength-label"><label for="streamlength"><?php echo _("Default Length:"); ?></label></dt>
|
|
<dd id="streamlength-element">
|
|
<input type="text" value="<?php echo $this->obj->getDefaultLength() ?>"/>
|
|
</dd>
|
|
</dl>
|
|
|
|
<div class="btn-toolbar spl-no-margin clearfix">
|
|
<div class="btn-group pull-right">
|
|
<button class="btn" type="button" id="webstream_cancel" name="submit"><?php echo _("Cancel") ?></button>
|
|
</div>
|
|
<div class="btn-group pull-right">
|
|
<button class="btn" type="submit" id="webstream_save" name="submit"><?php echo _("Save") ?></button>
|
|
</div>
|
|
</div>
|
|
|
|
<?php else : ?>
|
|
<div><?php echo _("No webstream") ?></div>
|
|
<?php endif; ?>
|