mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
31fe55280e
commit
32386e9c90
2 changed files with 17 additions and 11 deletions
|
@ -13,15 +13,17 @@ if (empty($name)) {
|
||||||
$default_users_id = 0;
|
$default_users_id = 0;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="clearfix">
|
<div class="clearfix"></div>
|
||||||
<div class="col-xs-2 text-center" style="padding-right: 2px;">
|
<div class="col-xs-2 text-center" style="padding: 0;">
|
||||||
<img id="user-img<?php echo $id; ?>" src="<?php echo $user_image; ?>" class="img img-responsive " style="max-height: 50px; margin-bottom: 5px; display: inline-flex;" alt="User Photo">
|
<img id="user-img<?php echo $id; ?>" src="<?php echo $user_image; ?>" class="img img-responsive "
|
||||||
</div>
|
style="width: 35px; height: 35px; object-fit: contain; margin-bottom: 5px; display: inline-flex;"
|
||||||
<div class="col-xs-10" style="padding-left: 2px;">
|
alt="User Photo">
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-10">
|
||||||
<input id="user<?php echo $id; ?>" placeholder="<?php echo __("User"); ?>" class="form-control" name="user<?php echo $id; ?>" value="<?php echo $name; ?>">
|
<input id="user<?php echo $id; ?>" placeholder="<?php echo __("User"); ?>" class="form-control" name="user<?php echo $id; ?>" value="<?php echo $name; ?>">
|
||||||
<input type="hidden" id="<?php echo $id; ?>" value="<?php echo $default_users_id; ?>" name="<?php echo $id; ?>">
|
<input type="hidden" id="<?php echo $id; ?>" value="<?php echo $default_users_id; ?>" name="<?php echo $id; ?>">
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clearfix"></div>
|
||||||
<script>
|
<script>
|
||||||
function updateUserAutocomplete<?php echo $id; ?>() {
|
function updateUserAutocomplete<?php echo $id; ?>() {
|
||||||
var data = <?php echo _json_encode((object) $parameters); ?>;
|
var data = <?php echo _json_encode((object) $parameters); ?>;
|
||||||
|
|
|
@ -14,13 +14,17 @@ if (empty($name)) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<div class="col-xs-2 text-center" style="padding-right: 2px;">
|
<div class="col-xs-2 text-center" style="padding: 0;">
|
||||||
<img id="videoAutocomplete-img<?php echo $id; ?>" src="<?php echo $video_image; ?>" class="img img-responsive " style="max-height: 50px; margin-bottom: 5px; display: inline-flex;" alt="video Photo">
|
<img id="videoAutocomplete-img<?php echo $id; ?>" src="<?php echo $video_image; ?>" class="img img-responsive"
|
||||||
|
style="min-height: 35px; min-width: 50px; max-height: 50px; width: 100%; object-fit: contain; margin-bottom: 5px; display: inline-flex;"
|
||||||
|
alt="video Photo">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-10" style="padding-left: 2px;">
|
<div class="col-xs-10">
|
||||||
<input id="videoAutocomplete<?php echo $id; ?>" placeholder="<?php echo __("video"); ?>" class="form-control" name="video<?php echo $id; ?>" value="<?php echo $name; ?>">
|
<input id="videoAutocomplete<?php echo $id; ?>" placeholder="<?php echo __("video"); ?>" class="form-control" name="video<?php echo $id; ?>" value="<?php echo $name; ?>">
|
||||||
<input type="hidden" id="<?php echo $id; ?>" value="<?php echo $default_videos_id; ?>" name="<?php echo $id; ?>">
|
<input type="hidden" id="<?php echo $id; ?>" value="<?php echo $default_videos_id; ?>" name="<?php echo $id; ?>">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
<script>
|
<script>
|
||||||
function updateVideoAutocomplete<?php echo $id; ?>() {
|
function updateVideoAutocomplete<?php echo $id; ?>() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue