diff options
Diffstat (limited to 'Neutron-trunk/cms-special/admin-v2/gallery/addcategory')
-rw-r--r--[-rwxr-xr-x] | Neutron-trunk/cms-special/admin-v2/gallery/addcategory/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Neutron-trunk/cms-special/admin-v2/gallery/addcategory/index.php b/Neutron-trunk/cms-special/admin-v2/gallery/addcategory/index.php index 68451fc..e29a1aa 100755..100644 --- a/Neutron-trunk/cms-special/admin-v2/gallery/addcategory/index.php +++ b/Neutron-trunk/cms-special/admin-v2/gallery/addcategory/index.php @@ -1,11 +1,11 @@ <?php require_once "../../../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?> -<?php $pageConfig = [ "domName" => "Nouvelle catégorie - Galerie de photos", "headerName" => "Nouvelle catégorie" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/precontent.php"; ?> +<?php $pageConfig = [ "domName" => "Nouvelle catégorie - Galerie de photos", "headerName" => "Nouvelle catégorie" ]; require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin-v2/\$resources/precontent.php"; ?> <div id="hidding"> <input type="text" id="catname" placeholder="<?= $lang["admin-gallery"]["addcat"]["placeholder"] ?>"> <p><i><?= $lang["admin-gallery"]["addcat"]["same"] ?></i></p> <p><div style="text-align: center;"><a class="button" onclick="createCat()"><?= $lang["admin-gallery"]["addcat"]["confirm"] ?></a></div></p> </div> -<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin/\$resources/postcontent.php"; ?> +<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin-v2/\$resources/postcontent.php"; ?> <script> @@ -19,7 +19,7 @@ function createCat() { url: "<?= $GLOBALS["SYSTEM_ROOT"] ?>/api/admin/galery_create_category.php", success: function (data) { if (data == "ok") { - location.href = "<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin/gallery"; + location.href = "<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/gallery"; } else { alert("<?= $lang["admin-errors"]["errorprefix"] ?>" + data) document.getElementById('hidding').classList.remove('hide') |