31 lines
1.2 KiB
PHP
31 lines
1.2 KiB
PHP
|
|
<?php
|
||
|
|
$translation = \DynCom\mysyde\common\classes\Registry::get("translation");
|
||
|
|
$formname = "form_field_youtube_list" . $fieldSetup['id'];
|
||
|
|
$inputname = "input_id";
|
||
|
|
$input_page_id = (isset($_REQUEST["input_page_id"]) ? $_REQUEST["input_page_id"] : "");
|
||
|
|
$input_collection_id = (isset($_REQUEST["input_collection_id"]) ? $_REQUEST["input_collection_id"] : "");
|
||
|
|
?>
|
||
|
|
|
||
|
|
<form id="<?= $formname ?>" name="<?= $formname ?>" method="post">
|
||
|
|
<input type="hidden" name="input_page_id" value="<?php echo $input_page_id; ?>" />
|
||
|
|
<input type="hidden" name="input_collection_id" value="<?php echo $input_collection_id; ?>" />
|
||
|
|
<input type="hidden" name="collection_modul_input_<?php echo $fieldSetup['id']; ?>" value="youtube" />
|
||
|
|
|
||
|
|
<?php
|
||
|
|
if (!is_array($headerData)) {
|
||
|
|
$width = 1920;
|
||
|
|
$height = 1080;
|
||
|
|
}
|
||
|
|
?>
|
||
|
|
|
||
|
|
<table class="cardform" border="0" cellspacing="0" cellpadding="0">
|
||
|
|
<tr>
|
||
|
|
<td>
|
||
|
|
<div class="youtube_input">
|
||
|
|
<? input($translation->get("youtube_page_url"), "module_input_youtube_url_" . $fieldSetup['id'], "text", $headerData["url"], 255) ?>
|
||
|
|
</div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
|
||
|
|
</table>
|
||
|
|
</form>
|