|
@ -325,6 +325,8 @@ if ($supplierIsNew and !empty($suppliers)) { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier) : generateUrl($supplier, $event)); |
|
|
|
|
|
|
|
|
?><!DOCTYPE html>
|
|
|
?><!DOCTYPE html>
|
|
|
<html lang="fr"> |
|
|
<html lang="fr"> |
|
|
<head> |
|
|
<head> |
|
@ -671,17 +673,7 @@ if ($supplierIsNew and !empty($suppliers)) { |
|
|
Adresse web |
|
|
Adresse web |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-12 text-center"> |
|
|
<div class="col-12 text-center"> |
|
|
<tt id="linkURL"> |
|
|
|
|
|
<?php if (!$hasSupplier) : ?>
|
|
|
|
|
|
<?php echo generateUrl(); ?>
|
|
|
|
|
|
<?php else : ?>
|
|
|
|
|
|
<?php if (!$hasEvent) : ?>
|
|
|
|
|
|
<?php echo generateUrl($supplier); ?>
|
|
|
|
|
|
<?php else : ?>
|
|
|
|
|
|
<?php echo generateUrl($supplier, $event); ?>
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
</tt> |
|
|
|
|
|
|
|
|
<a href="<?php echo $linkUrl; ?>"><tt id="linkURL"><?php echo $linkUrl; ?></tt></a>
|
|
|
<button class="btn btn-outline-dark js-clipboard" type="button" role="button" data-clipboard-target="#linkURL" data-bs-toggle="tooltip" data-bs-trigger="manual"> |
|
|
<button class="btn btn-outline-dark js-clipboard" type="button" role="button" data-clipboard-target="#linkURL" data-bs-toggle="tooltip" data-bs-trigger="manual"> |
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16"> |
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16"> |
|
|
<path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/> |
|
|
<path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/> |
|
|