new section flag: template=MASK

This commit is contained in:
Massimo Melina 2020-06-10 13:07:44 +02:00
parent 5e5122edba
commit 7e66a94e37
2 changed files with 6 additions and 2 deletions

View File

@ -1037,6 +1037,9 @@ var
or (s > '') and (VERSION_BUILD < s) then // min
exit(FALSE);
end
else if k = 'template' then
if fileMatch(v, getTill(#13,getTxt('template id'))) then continue
else exit(FALSE)
end;
result:=TRUE;
end;

View File

@ -1,5 +1,4 @@
Welcome! This is the default template for HFS 2.4
template revision TR3.
Here below you'll find some options affecting the template.
Consider 1 is used for "yes", and 0 is used for "no".
@ -11,13 +10,15 @@ and following all the options you want to change, using the same syntax you see
That's all. To know more about diff templates read the documentation.
[+special:strings]
option.newfolder=1
option.move=1
option.comment=1
option.rename=1
COMMENT with the ones above you can disable some features of the template. They apply to all users.
[template id]
def 3.0
[common-head]
<!DOCTYPE html>
<html>