use Safe\DateTimeImmutable;
$artwork = $artwork ?? null;
if($artwork === null){
$artwork = new Artwork();
$artwork->Artist = new Artist();
}
$isEditForm = $isEditForm ?? false;
$now = new DateTimeImmutable('now', new DateTimeZone('America/Juneau')); // Latest continental US time zone
?>
Artist details
Name
For existing artists, leave the year of death blank.
foreach(Library::GetAllArtists() as $artist){ ?>
= Formatter::EscapeHtml($artist->Name) ?>, d. if($artist->DeathYear !== null){ ?>= $artist->DeathYear ?> }else{ ?>unknown } ?>
foreach($artist->AlternateNames as $alternateName){ ?>
= Formatter::EscapeHtml($alternateName) ?>, d. if($artist->DeathYear !== null){ ?>= Formatter::EscapeHtml($artist->DeathYear) ?> }else{ ?>unknown } ?>
} ?>
} ?>
Year of death
If circa or unknown, enter the latest possible year.
/* Not using for now, see https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/ */ ?>
Artwork details
Name
Year of completion
CompletedYearIsCirca){ ?>checked="checked" } ?>
/> Year is circa
Tags
A list of comma-separated tags.
High-resolution image
jpg, bmp, png, and tiff are accepted; = number_format(ARTWORK_IMAGE_MINIMUM_WIDTH) ?> × = number_format(ARTWORK_IMAGE_MINIMUM_HEIGHT) ?> minimum; 96MB max. if($isEditForm){ ?> Leave this blank to not change the image. } ?>
required="required" } ?>
accept="= implode(',', ImageMimeType::Values()) ?>"
/>
Proof of U.S. public domain status
See the US-PD clearance section of the SEMoS for details on this section.
PD proof must take the form of either :
URL of the artwork at an approved museum
or proof that the artwork was reproduced in a book published before = PD_STRING ?>, including the following:
IsPublishedInUs){ ?> checked="checked" } ?> />
This book was published in the U.S.
Yes, if a U.S. city appears anywhere near the publication year or rights statement.
Year of publication
URL of page with year of publication
Roman numerals are OK. If no year is listed, alternate proof may be found in a printed library acquisitions list that shows this book was held by the library in a certain year; enter that in the exception field .
URL of page with rights statement
This page must include a statement of rights, like the copyright symbol “©” or the words “copyright” or “all rights reserved.” If no such page exists, leave this blank. This page might be the same page as above. Non-English is OK; keywords in other languages include “droits ” and “rechte vorbehalten .”
URL of page with artwork
Review the many gotchas you may encounter when confirming the reproduction is the exact same painting.
or a reason for a special exception:
Public domain status exception reason
Markdown accepted.
Other details
Special notes
Any notes to remember about this artwork. Markdown accepted.
if($artwork->CanStatusBeChangedBy($GLOBALS['User'] ?? null) || $artwork->CanEbookUrlBeChangedBy($GLOBALS['User'] ?? null)){ ?>
Editor options
if($artwork->CanStatusBeChangedBy($GLOBALS['User'] ?? null)){ ?>
Artwork approval status
Status == ArtworkStatus::Unverified){ ?> selected="selected" } ?>>Unverified
Status == ArtworkStatus::Declined){ ?> selected="selected" } ?>>Declined
Status == ArtworkStatus::Approved){ ?> selected="selected" } ?>>Approved
} ?>
if($artwork->CanEbookUrlBeChangedBy($GLOBALS['User'] ?? null)){ ?>
In use by
The full S.E. ebook URL. If not in use, leave this blank.
} ?>
} ?>