/**
* Set the visitor cookies (see remote_user()) for signed HTTP requests
- (
+ *
+ * @param array $server The content of the $_SERVER superglobal
* @return array Visitor contact array
+ * @throws InternalServerErrorException
*/
- public static function addVisitorCookieForHTTPSigner(): array
+ public static function addVisitorCookieForHTTPSigner(array $server): array
{
- $requester = HTTPSignature::getSigner('', $_SERVER);
+ $requester = HTTPSignature::getSigner('', $server);
if (empty($requester)) {
return [];
}
throw new NotModifiedException();
}
- Profile::addVisitorCookieForHTTPSigner();
+ Profile::addVisitorCookieForHTTPSigner($this->server);
$customsize = 0;
$square_resize = true;
*/
.imagegrid-row figure {
position: relative;
+ background: center / auto rgba(0, 0, 0, 0.05) url(/images/icons/image.png) no-repeat;
}
.imagegrid-row figure img{
position: absolute;
textarea#profile-jot-text:focus + #preview_profile-jot-text, textarea.comment-edit-text:focus + .comment-edit-form .preview {
border-color: $link_color;
}
+
+.imagegrid-row figure {
+ background-color: rgba(255, 255, 255, 0.15);
+}
textarea#profile-jot-text:focus + #preview_profile-jot-text, textarea.comment-edit-text:focus + .comment-edit-form .preview {
border-color: $link_color;
}
+
+.imagegrid-row figure {
+ background-color: rgba(255, 255, 255, 0.05);
+}