New bootstrap-based layout #30

Merged
Roflin merged 79 commits from bootstrap into master 2023-03-14 19:11:25 +01:00
Showing only changes of commit daa8b051c5 - Show all commits

View File

@ -182,8 +182,11 @@ class EditTag extends HTMLController
$tag->save(); $tag->save();
} }
// Redirect to the tag management page. // Redirect to a clean page
header('Location: ' . BASEURL . '/managetags/'); if (Registry::get('user')->isAdmin())
header('Location: ' . BASEURL . '/managetags/');
else
header('Location: ' . BASEURL . '/edittag/?id=' . $id_tag);
exit; exit;
} }
} }