Edit new admin edit services routes
This commit is contained in:
parent
8a515d6f9f
commit
3df917aff0
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
include_once("../_conf/global.php");
|
include_once("../../_conf/global.php");
|
||||||
include_once("../_conf/db.php");
|
include_once("../../_conf/db.php");
|
||||||
|
|
||||||
// Error and success messages
|
// Error and success messages
|
||||||
$error = '';
|
$error = '';
|
||||||
@ -143,7 +143,7 @@ $robots = "noindex, nofollow";
|
|||||||
<meta property="twitter:description" content="<?php echo $description; ?>" />
|
<meta property="twitter:description" content="<?php echo $description; ?>" />
|
||||||
<meta property="twitter:image" content="<?php echo $meta_image; ?>" />
|
<meta property="twitter:image" content="<?php echo $meta_image; ?>" />
|
||||||
<meta name="robots" content="<?php echo $robots; ?>" />
|
<meta name="robots" content="<?php echo $robots; ?>" />
|
||||||
<link rel="stylesheet" type="text/css" href="assets/css/edit-services.css">
|
<link rel="stylesheet" type="text/css" href="/admin/assets/css/edit-services.css">
|
||||||
<!-- Font Awesome for icons -->
|
<!-- Font Awesome for icons -->
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||||
<!-- jQuery for drag and drop functionality -->
|
<!-- jQuery for drag and drop functionality -->
|
||||||
@ -306,6 +306,6 @@ $robots = "noindex, nofollow";
|
|||||||
<a href="/services" class="back-link">← Back to home page</a>
|
<a href="/services" class="back-link">← Back to home page</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="assets/js/icon-selector.js"></script>
|
<script src="/admin/assets/js/icon-selector.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -21,7 +21,7 @@ $edit_mode = isset($_GET['edit']);
|
|||||||
|
|
||||||
// If you are in edit mode, redirect to edit-services
|
// If you are in edit mode, redirect to edit-services
|
||||||
if ($edit_mode) {
|
if ($edit_mode) {
|
||||||
header('Location: admin/edit/services');
|
header('Location: admin/edit/services');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user