style(legacy): format (#2039)
This commit is contained in:
parent
7082c9693d
commit
1550d44ac5
122 changed files with 18369 additions and 15819 deletions
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: asantoni
|
||||
|
@ -8,6 +9,6 @@
|
|||
?>
|
||||
|
||||
<div class="content-pane" style="width: 100%">
|
||||
<?php require(__DIR__."/featureupgrade.phtml"); ?>
|
||||
<?php require(__DIR__ . "/featureupgrade.phtml"); ?>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: asantoni
|
||||
|
@ -7,7 +8,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<?php require(__DIR__."/featureupgrade.phtml"); ?>
|
||||
<?php require(__DIR__ . "/featureupgrade.phtml"); ?>
|
||||
|
||||
<div class="angular_wrapper" ng-controller="Publish">
|
||||
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
</div>
|
||||
<div class="inner_editor_wrapper">
|
||||
<form class="podcast-metadata">
|
||||
<input ng-value="podcast.id" class="obj_id" type="hidden"/>
|
||||
<input ng-value="podcast.id" class="obj_id" type="hidden" />
|
||||
<div class="podcast-metadata-row">
|
||||
<label for="podcast_name"><?php echo _("Podcast Name: ") ?></label>
|
||||
<input name="podcast_name" type="text" ng-model="podcast.title" value={{podcast.title}} >
|
||||
<input name="podcast_name" type="text" ng-model="podcast.title" value={{podcast.title}}>
|
||||
</div>
|
||||
<div class="podcast-metadata-row">
|
||||
<label for="podcast_url"><?php echo _("Podcast URL: ") ?></label>
|
||||
|
@ -18,10 +18,10 @@
|
|||
<div class="podcast-metadata-row">
|
||||
<label for="podcast_auto_ingest"><?php echo _("Download latest episodes:") ?></label>
|
||||
<div>
|
||||
<input name="podcast_auto_ingest" id="podcast_auto_ingest" ng-model="podcast.auto_ingest" type="checkbox"/>
|
||||
<input name="podcast_auto_ingest" id="podcast_auto_ingest" ng-model="podcast.auto_ingest" type="checkbox" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="podcast-metadata-row" >
|
||||
<div class="podcast-metadata-row">
|
||||
<label><?php echo _("Scheduling:") ?></label>
|
||||
<div>
|
||||
<button ng-click="createSmartblock()" class="btn" type="button" name="smartblock">
|
||||
|
@ -33,7 +33,7 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<table class="datatable podcast_episodes" cellpadding="0" cellspacing="0"></table>
|
||||
<table class="datatable podcast_episodes" cellpadding="0" cellspacing="0"></table>
|
||||
|
||||
<div class="btn-toolbar clearfix">
|
||||
<div class="btn-group pull-right">
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</label>
|
||||
</td>
|
||||
<td style="text-align: right">
|
||||
<input id="podcast_url_field" type="url" name="url" size="40" style="margin-left: 10px; margin-bottom: 10px;" placeholder="http://example.com/podcast.xml"/>
|
||||
<input id="podcast_url_field" type="url" name="url" size="40" style="margin-left: 10px; margin-bottom: 10px;" placeholder="http://example.com/podcast.xml" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -15,18 +15,18 @@
|
|||
</div>
|
||||
<form class="podcast-metadata">
|
||||
<?php echo $this->form->getElement('csrf') ?>
|
||||
<input ng-value="podcast.id" class="obj_id" type="hidden"/>
|
||||
<input ng-value="podcast.id" class="obj_id" type="hidden" />
|
||||
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("General Fields") ?></h3>
|
||||
<div class="collapsible-content">
|
||||
<fieldset class="padded">
|
||||
<div class="podcast-metadata-row">
|
||||
<label><?php echo _("Name") ?></label>
|
||||
<input name="podcast_name" ng-model="podcast.title" type="text"/>
|
||||
<input name="podcast_name" ng-model="podcast.title" type="text" />
|
||||
</div>
|
||||
<div class="podcast-metadata-row">
|
||||
<label><?php echo _("Creator") ?></label>
|
||||
<input name="podcast_creator" ng-model="podcast.creator" type="text"/>
|
||||
<input name="podcast_creator" ng-model="podcast.creator" type="text" />
|
||||
</div>
|
||||
|
||||
<div class="podcast-metadata-row">
|
||||
|
@ -37,20 +37,20 @@
|
|||
<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>";
|
||||
}
|
||||
foreach (Application_Common_LocaleHelper::getISO6391LanguageCodes() as $code => $lang) {
|
||||
echo "<option value='$code'>$lang</option>";
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="podcast-metadata-row">
|
||||
<label><?php echo _("Copyright") ?></label>
|
||||
<input name="podcast_copyright" ng-model="podcast.copyright" type="text"/>
|
||||
<input name="podcast_copyright" ng-model="podcast.copyright" type="text" />
|
||||
</div>
|
||||
<div class="podcast-metadata-row">
|
||||
<label><?php echo _("Link") ?></label>
|
||||
<input name="podcast_link" ng-model="podcast.link" type="url"/>
|
||||
<input name="podcast_link" ng-model="podcast.link" type="url" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
@ -60,12 +60,12 @@
|
|||
<fieldset class="padded">
|
||||
<div class="podcast-metadata-row">
|
||||
<label><?php echo _("Author") ?></label>
|
||||
<input name="podcast_itunes_author" ng-model="podcast.itunes_author" type="text"/>
|
||||
<input name="podcast_itunes_author" ng-model="podcast.itunes_author" type="text" />
|
||||
</div>
|
||||
|
||||
<div class="podcast-metadata-row">
|
||||
<label><?php echo _("Keywords") ?></label>
|
||||
<input name="podcast_itunes_keywords" ng-model="podcast.itunes_keywords" type="text"/>
|
||||
<input name="podcast_itunes_keywords" ng-model="podcast.itunes_keywords" type="text" />
|
||||
</div>
|
||||
|
||||
<div class="podcast-metadata-row">
|
||||
|
@ -80,12 +80,12 @@
|
|||
|
||||
<div class="podcast-metadata-row">
|
||||
<label><?php echo _("Category") ?></label>
|
||||
<input name="podcast_itunes_category" ng-model="podcast.itunes_category" type="text"/>
|
||||
<input name="podcast_itunes_category" ng-model="podcast.itunes_category" type="text" />
|
||||
</div>
|
||||
|
||||
<div class="podcast-metadata-row">
|
||||
<label><?php echo _("Explicit") ?></label>
|
||||
<input name="podcast_itunes_explicit" ng-model="podcast.itunes_explicit" type="checkbox"/>
|
||||
<input name="podcast_itunes_explicit" ng-model="podcast.itunes_explicit" type="checkbox" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
@ -114,10 +114,14 @@
|
|||
</div>
|
||||
|
||||
<p id="station_podcast_help_text">
|
||||
<?php echo(sprintf(_("For detailed information on what these metadata fields mean, please see the %sRSS specification%s
|
||||
<?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>")); ?>
|
||||
'<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>
|
||||
|
||||
|
@ -135,7 +139,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$(document).ready(function() {
|
||||
<?php echo "var podcast = " . $this->podcast . ";" ?>
|
||||
AIRTIME.podcast.podcastApp.value('podcast', podcast);
|
||||
AIRTIME.podcast.podcastApp.value('tab', null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue