From 1fc38c597a7b58db493fb632dcaf73f26fba7649 Mon Sep 17 00:00:00 2001 From: Arquivo Publico de Memoria Coletiva Date: Sat, 14 May 2016 09:35:29 -0300 Subject: Updates html --- ikiwiki/pagespec/attachment/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ikiwiki/pagespec/attachment') diff --git a/ikiwiki/pagespec/attachment/index.html b/ikiwiki/pagespec/attachment/index.html index b549a2836d6..50f40676e26 100644 --- a/ikiwiki/pagespec/attachment/index.html +++ b/ikiwiki/pagespec/attachment/index.html @@ -83,7 +83,7 @@ while allowing larger mp3 files to be uploaded by joey into a specific directory, and check all attachments for viruses, something like this could be used:

-
virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or (mimetype(image/*) and maxsize(50kb)))
+
virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or ((mimetype(image/jpeg) or mimetype(image/png)) and maxsize(50kb)))
 

The regular PageSpec syntax is expanded with the following @@ -131,7 +131,7 @@ include a glob in the type, for example mimetype(image/*).

-- cgit v1.2.3