Merge pull request 's22' (#24) from b2 into master

Reviewed-on: #24
master
Subhodip Ghosh 2025-02-14 12:29:23 +00:00
commit ab28f74694
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ $content = $stmt->fetchAll(PDO::FETCH_ASSOC);
<div style="display: flex; flex-direction: row; justify-content: center; color: blue; gap: 10px;">
<a href="edit-content.php?id=<?php echo $pageData['id'] . '&slug=' . $pageData['slug'] . '&type=' . $pageData['type']; ?>">Edit</a>
<a target="_blank" href="/<?php echo $pageData['slug']; ?>">View</a>
<button class="copy-btn" data-slug="<?php echo $_SERVER['HTTP_HOST'] .'/'. $pageData['slug']; ?>">Copy</button>
<button class="copy-btn" data-slug="<?php echo '/'. $pageData['slug']; ?>">Copy</button>
</div>
</td>
</tr>