mirror of
https://github.com/rejetto/hfs2.git
synced 2025-12-19 18:13:46 +01:00
new section flag: template=MASK
This commit is contained in:
parent
5e5122edba
commit
7e66a94e37
@ -1037,6 +1037,9 @@ var
|
|||||||
or (s > '') and (VERSION_BUILD < s) then // min
|
or (s > '') and (VERSION_BUILD < s) then // min
|
||||||
exit(FALSE);
|
exit(FALSE);
|
||||||
end
|
end
|
||||||
|
else if k = 'template' then
|
||||||
|
if fileMatch(v, getTill(#13,getTxt('template id'))) then continue
|
||||||
|
else exit(FALSE)
|
||||||
end;
|
end;
|
||||||
result:=TRUE;
|
result:=TRUE;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
Welcome! This is the default template for HFS 2.4
|
Welcome! This is the default template for HFS 2.4
|
||||||
template revision TR3.
|
|
||||||
|
|
||||||
Here below you'll find some options affecting the template.
|
Here below you'll find some options affecting the template.
|
||||||
Consider 1 is used for "yes", and 0 is used for "no".
|
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.
|
That's all. To know more about diff templates read the documentation.
|
||||||
|
|
||||||
[+special:strings]
|
[+special:strings]
|
||||||
|
|
||||||
option.newfolder=1
|
option.newfolder=1
|
||||||
option.move=1
|
option.move=1
|
||||||
option.comment=1
|
option.comment=1
|
||||||
option.rename=1
|
option.rename=1
|
||||||
COMMENT with the ones above you can disable some features of the template. They apply to all users.
|
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]
|
[common-head]
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user