This commit is contained in:
2026-04-09 11:44:45 +02:00
parent 7ff7ff3a92
commit 61c66bfd55
79 changed files with 13667 additions and 144 deletions

View File

@@ -29,11 +29,12 @@
<?php endif; ?>
<?php if ($article['wp_post_id'] && !empty($article['site_url'])): ?>
<?php $publishedUrl = !empty($article['wp_post_url']) ? (string) $article['wp_post_url'] : ((string) $article['site_url'] . '/?p=' . (int) $article['wp_post_id']); ?>
<div class="alert alert-info d-flex justify-content-between align-items-center">
<div>
<i class="bi bi-wordpress me-1"></i>
Post WordPress ID: <strong><?= $article['wp_post_id'] ?></strong>
| <a href="<?= htmlspecialchars($article['site_url']) ?>/?p=<?= $article['wp_post_id'] ?>" target="_blank">Zobacz na stronie</a>
| <a href="<?= htmlspecialchars($publishedUrl) ?>" target="_blank">Zobacz na stronie</a>
</div>
<div class="d-flex align-items-center gap-2">
<input type="file" id="imageFile" accept="image/jpeg,image/png,image/gif,image/webp" class="form-control form-control-sm" style="max-width: 250px;">