Beispiel #1
0
echo FormHelpers::getFormTxtInput(1, "Custom Uri (Optional)", "custom-uri", $form['custom-uri'], $formErrors);
?>
		<?php 
echo FormHelpers::getFormUploadInput(1, $coverImageUploadPointId, "Cover Image (Optional) (Should Be 940x150)", "cover-image-id", $form['cover-image-id'], $formErrors, $additionalForm['coverImageFile']['name'], $additionalForm['coverImageFile']['size'], $additionalForm['coverImageFile']['processState'], $additionalForm['coverImageFile']['processPercentage'], $additionalForm['coverImageFile']['processMsg']);
?>
		<?php 
echo FormHelpers::getFormUploadInput(1, $sideBannersImageUploadPointId, "Side Banners Image (Optional) (Should Be 250x1400)", "side-banners-image-id", $form['side-banners-image-id'], $formErrors, $additionalForm['sideBannersImageFile']['name'], $additionalForm['sideBannersImageFile']['size'], $additionalForm['sideBannersImageFile']['processState'], $additionalForm['sideBannersImageFile']['processPercentage'], $additionalForm['sideBannersImageFile']['processMsg']);
?>
		<?php 
echo FormHelpers::getFormUploadInput(1, $sideBannersFillImageUploadPointId, "Side Banners Fill Image (Optional) (Should Be 250x1400)", "side-banners-fill-image-id", $form['side-banners-fill-image-id'], $formErrors, $additionalForm['sideBannersFillImageFile']['name'], $additionalForm['sideBannersFillImageFile']['size'], $additionalForm['sideBannersFillImageFile']['processState'], $additionalForm['sideBannersFillImageFile']['processPercentage'], $additionalForm['sideBannersFillImageFile']['processMsg']);
?>
		<?php 
echo FormHelpers::getFormUploadInput(1, $coverArtUploadPointId, "Cover Art (Optional) (Should Be 16:9)", "cover-art-id", $form['cover-art-id'], $formErrors, $additionalForm['coverArtFile']['name'], $additionalForm['coverArtFile']['size'], $additionalForm['coverArtFile']['processState'], $additionalForm['coverArtFile']['processPercentage'], $additionalForm['coverArtFile']['processMsg']);
?>
		<?php 
echo FormHelpers::getFormDateInput(1, "Scheduled Publish Time (Optional)", "publish-time", $form['publish-time'], $formErrors);
?>
		
		<?php 
echo FormHelpers::getFormGroupStart("playlist-content", $formErrors);
?>
<label class="control-label">Playlist Content</label><div class="form-control form-playlist-content" data-initialdata="<?php 
echo e($additionalForm['playlistContentInitialData']);
?>
"></div><?php 
echo FormHelpers::getFormHiddenInput(1, "playlist-content", $additionalForm['playlistContentInput']);
echo FormHelpers::getErrMsgHTML($formErrors, "playlist-content");
?>
</div>
	
		<?php 
Beispiel #2
0
</div>
						<div class="disabled-container">
							<button class="btn btn-primary enable-button">Add Video On Demand</button>
						</div>
						<div class="enabled-container">
							<div class="form-group">
								<button class="btn btn-default disable-button">Remove Video On Demand</button>
							</div>
							<?php 
echo FormHelpers::getFormCheckInput(1, "Enabled", "vod-enabled", $form['vod-enabled'] === "y", $formErrors);
?>
							<?php 
echo FormHelpers::getFormUploadInput(1, $vodVideoUploadPointId, "Video", "vod-video-id", $form['vod-video-id'], $formErrors, $additionalForm['vodVideoFile']['name'], $additionalForm['vodVideoFile']['size'], $additionalForm['vodVideoFile']['processState'], $additionalForm['vodVideoFile']['processPercentage'], $additionalForm['vodVideoFile']['processMsg']);
?>
							<?php 
echo FormHelpers::getFormDateInput(1, "Time Recorded (Optional) (Must Be Empty When Recording Of Live Stream)", "vod-time-recorded", $form['vod-time-recorded'], $formErrors);
?>
							<?php 
echo FormHelpers::getFormGroupStart("vod-chapters", $formErrors);
?>
<label class="control-label">Chapters</label><div class="form-control form-vod-chapters" data-initialdata="<?php 
echo e($additionalForm['vodChaptersInitialData']);
?>
"></div><?php 
echo FormHelpers::getFormHiddenInput(1, "vod-chapters", $additionalForm['vodChaptersInput']);
echo FormHelpers::getErrMsgHTML($formErrors, "vod-chapters");
?>
</div>
						</div>
					</div>
				</div>