CanBeEditedBy($GLOBALS['User'])){ throw new Exceptions\InvalidPermissionsException(); } // We got here because an artwork update had errors and the user has to try again if($exception){ http_response_code(422); session_unset(); } } catch(Exceptions\ArtworkNotFoundException){ Template::Emit404(); } catch(Exceptions\LoginRequiredException){ Template::RedirectToLogin(); } catch(Exceptions\InvalidPermissionsException){ Template::Emit403(); // No permissions to edit artwork } ?> 'Edit ' . $artwork->Name . ', by ' . $artwork->Artist->Name, 'artwork' => true, 'highlight' => '', 'description' => 'Edit ' . $artwork->Name . ', by ' . $artwork->Artist->Name . ' in the Standard Ebooks cover art database.' ] ) ?>

Edit Artwork

$exception]) ?>
$artwork, 'isEditForm' => true]) ?>