You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
473 B
19 lines
473 B
<?php
|
|
require_once './config.php';
|
|
|
|
use nzedb\Releases;
|
|
|
|
$page = new AdminPage();
|
|
$releases = new Releases(['Settings' => $page->settings]);
|
|
|
|
$success = false;
|
|
|
|
if (isset($_GET["id"])) {
|
|
$success = $releases->removeAnidbIdFromReleases($_GET["id"]);
|
|
$page->smarty->assign('anidbid', $_GET["id"]);
|
|
}
|
|
$page->smarty->assign('success', $success);
|
|
|
|
$page->title = "Remove anidbID from Releases";
|
|
$page->content = $page->smarty->fetch('anidb-remove.tpl');
|
|
$page->render();
|