31 lines
1.4 KiB
PHTML
31 lines
1.4 KiB
PHTML
<fieldset class="padded">
|
|
<dl class="zend_form">
|
|
<!-- <dt id="SoundCloudTrackType-label" class="block-display">-->
|
|
<!-- <label class="optional" for="SoundCloudTrackType">--><?php //echo $this->element->getElement('SoundCloudTrackType')->getLabel() ?><!--</label>-->
|
|
<!-- </dt>-->
|
|
<!-- <dd id="SoundCloudTrackType-element" class="block-display">-->
|
|
<!-- --><?php //echo $this->element->getElement('SoundCloudTrackType') ?>
|
|
<!-- --><?php //if($this->element->getElement('SoundCloudTrackType')->hasErrors()) : ?>
|
|
<!-- <ul class='errors'>-->
|
|
<!-- --><?php //foreach($this->element->getElement('SoundCloudTrackType')->getMessages() as $error): ?>
|
|
<!-- <li>--><?php //echo $error; ?><!--</li>-->
|
|
<!-- --><?php //endforeach; ?>
|
|
<!-- </ul>-->
|
|
<!-- --><?php //endif; ?>
|
|
<!-- </dd>-->
|
|
|
|
<?php
|
|
$soundcloudService = new SoundcloudService();
|
|
if ($soundcloudService->hasAccessToken()) {
|
|
echo $this->element->getElement('SoundCloudDisconnect')->render();
|
|
} else {
|
|
echo $this->element->getElement('SoundCloudConnect')->render();
|
|
}
|
|
?>
|
|
|
|
<?php echo $this->element->getElement('SoundCloudLicense')->render() ?>
|
|
|
|
<?php echo $this->element->getElement('SoundCloudSharing')->render() ?>
|
|
</dl>
|
|
</fieldset>
|