99 lines
4.2 KiB
PHTML
99 lines
4.2 KiB
PHTML
<div class="angular_wrapper" ng-controller="StationPodcast">
|
|
<div class="inner_editor_title">
|
|
<h2>
|
|
<span class="title_obj_name"><?php echo _("My Station Podcast") ?></span>
|
|
</h2>
|
|
<a href="{{podcast.url}}" target="_blank">
|
|
<button class="btn"><?php echo _("View Feed") ?></button>
|
|
</a>
|
|
</div>
|
|
<div class="inner_editor_wrapper station_podcast_wrapper">
|
|
<form class="podcast-metadata">
|
|
<input ng-value="podcast.id" class="obj_id" type="hidden"/>
|
|
|
|
<div>
|
|
<label><?php echo _("Name") ?></label>
|
|
<input name="podcast_name" ng-model="podcast.title" type="text"/>
|
|
</div>
|
|
|
|
<div>
|
|
<label><?php echo _("Creator") ?></label>
|
|
<input name="podcast_creator" ng-model="podcast.creator" type="text"/>
|
|
</div>
|
|
|
|
<div>
|
|
<label><?php echo _("URL") ?></label>
|
|
<input disabled name="podcast_url" ng-model="podcast.url" type="text"/>
|
|
</div>
|
|
|
|
<div>
|
|
<label><?php echo _("Description") ?></label>
|
|
<textarea name="podcast_description" ng-model="podcast.description"></textarea>
|
|
</div>
|
|
|
|
<div>
|
|
<label><?php echo _("Language") ?></label>
|
|
<select name="podcast_language" ng-model="podcast.language">
|
|
<?php
|
|
foreach(Application_Common_LocaleHelper::getISO6391LanguageCodes() as $code=>$lang) {
|
|
echo "<option value='$code'>$lang</option>";
|
|
}
|
|
?>
|
|
</select>
|
|
</div>
|
|
|
|
<div>
|
|
<label><?php echo _("Copyright") ?></label>
|
|
<input name="podcast_copyright" ng-model="podcast.copyright" type="text"/>
|
|
</div>
|
|
|
|
<div>
|
|
<label><?php echo _("Link") ?></label>
|
|
<input name="podcast_link" ng-model="podcast.link" type="url"/>
|
|
</div>
|
|
|
|
<fieldset>
|
|
<legend><?php echo _("iTunes Fields") ?></legend>
|
|
<label><?php echo _("Author") ?></label>
|
|
<input name="podcast_itunes_author" ng-model="podcast.itunes_author" type="text"/>
|
|
|
|
<label><?php echo _("Keywords") ?></label>
|
|
<input name="podcast_itunes_keywords" ng-model="podcast.itunes_keywords" type="text"/>
|
|
|
|
<label><?php echo _("Summary") ?></label>
|
|
<textarea name="podcast_itunes_summary" ng-model="podcast.itunes_summary"></textarea>
|
|
|
|
<label><?php echo _("Subtitle") ?></label>
|
|
<textarea name="podcast_itunes_subtitle" ng-model="podcast.itunes_subtitle"></textarea>
|
|
|
|
<label><?php echo _("Category") ?></label>
|
|
<input name="podcast_itunes_category" ng-model="podcast.itunes_category" type="text"/>
|
|
|
|
<label><?php echo _("Explicit") ?></label>
|
|
<input name="podcast_itunes_explicit" ng-model="podcast.itunes_explicit" type="checkbox"/>
|
|
</fieldset>
|
|
<p>
|
|
<?php echo(sprintf(_("For detailed information on what these metadata fields mean, please see the %sRSS specification%s
|
|
or %sApple's podcasting documentation%s."),
|
|
'<a href="http://cyber.law.harvard.edu/rss/rss.html#requiredChannelElements">', '</a>',
|
|
'<a target="_blank" href="http://www.apple.com/ca/itunes/podcasts/specs.html">', "</a>")); ?>
|
|
</p>
|
|
</form>
|
|
</div>
|
|
|
|
<table class="datatable podcast_episodes" cellpadding="0" cellspacing="0"></table>
|
|
|
|
<div class="btn-toolbar clearfix">
|
|
<div class="btn-group pull-right">
|
|
<button ng-click="discard()" class="btn" type="button" name="cancel">
|
|
<?php echo _("Cancel") ?>
|
|
</button>
|
|
</div>
|
|
<div class='btn-group pull-right'>
|
|
<button ng-click="savePodcast()" class="btn" title='<?php echo _("Save station podcast") ?>' type="button">
|
|
<?php echo _("Save") ?>
|
|
</button>
|
|
</div>
|
|
<div class='success' style='display:none'></span></div>
|
|
</div>
|
|
</div>
|