Beispiel #1
0
echo FormHelpers::getFormTxtInput(1, "Name", "name", $form['name'], $formErrors);
?>
		<?php 
echo FormHelpers::getFormTxtAreaInput(1, "Description (Optional)", "description", $form['description'], $formErrors);
?>
		<?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::getFormGroupStart("urls", $formErrors);
?>
<label class="control-label">Urls and Qualities</label><div class="form-control form-urls" data-initialdata="<?php 
echo e($additionalForm['urlsInitialData']);
?>
"></div><?php 
echo FormHelpers::getFormHiddenInput(1, "urls", $additionalForm['urlsInput']);
echo FormHelpers::getErrMsgHTML($formErrors, "urls");
?>
</div>
	</div>
	<div class="panel-footer clearfix">
		<div class="pull-left">	
			<?php 
echo FormHelpers::getFormSubmitButton(1, ($editing ? "Update" : "Create") . " Live Stream", "", true, "");
?>
		</div>
		<div class="pull-right">
			<a type="button" class="btn btn-default" data-confirm="Are you sure you want to cancel?" href="<?php 
echo e($cancelUri);
?>
">Cancel</a>
Beispiel #2
0
echo e($additionalForm['playlistContentInitialData']);
?>
"></div><?php 
echo FormHelpers::getFormHiddenInput(1, "playlist-content", $additionalForm['playlistContentInput']);
echo FormHelpers::getErrMsgHTML($formErrors, "playlist-content");
?>
</div>
	
		<?php 
echo FormHelpers::getFormGroupStart("related-items", $formErrors);
?>
<label class="control-label">Related Media Items</label><div class="form-control form-related-items" data-initialdata="<?php 
echo e($additionalForm['relatedItemsInitialData']);
?>
"></div><?php 
echo FormHelpers::getFormHiddenInput(1, "related-items", $additionalForm['relatedItemsInput']);
echo FormHelpers::getErrMsgHTML($formErrors, "related-items");
?>
</div>
	</div>
	<div class="panel-footer clearfix">
		<div class="pull-left">
			<?php 
echo FormHelpers::getFormSubmitButton(1, ($editing ? "Update" : "Create") . " Playlist", "", true, "");
?>
		</div>
		<div class="pull-right">
			<a type="button" class="btn btn-default" data-confirm="Are you sure you want to cancel?" href="<?php 
echo e($cancelUri);
?>
">Cancel</a>
Beispiel #3
0
?>
"></div><?php 
echo FormHelpers::getFormHiddenInput(1, "password", $form['password']);
echo FormHelpers::getFormHiddenInput(1, "password-changed", $additionalForm['passwordChanged'] ? "1" : "0");
echo FormHelpers::getErrMsgHTML($formErrors, "password");
?>
</div>
		
		<?php 
echo FormHelpers::getFormGroupStart("groups", $formErrors);
?>
<label class="control-label">Groups</label><div class="form-control form-groups" data-initialdata="<?php 
echo e($additionalForm['groupsInitialData']);
?>
"></div><?php 
echo FormHelpers::getFormHiddenInput(1, "groups", $additionalForm['groupsInput']);
echo FormHelpers::getErrMsgHTML($formErrors, "groups");
?>
</div>
	</div>
	<div class="panel-footer clearfix">
		<div class="pull-left">
			<?php 
echo FormHelpers::getFormSubmitButton(1, ($editing ? "Update" : "Create") . " CMS User", "", true, "");
?>
		</div>
		<div class="pull-right">
			<a type="button" class="btn btn-default" data-confirm="Are you sure you want to cancel?" href="<?php 
echo e($cancelUri);
?>
">Cancel</a>