Welcome! This is the default template for HFS 2.3
Here below you'll find some options affecting the template.
For now there's only one option, "paged". More will come in the future.
Consider 1 is used for "yes", and 0 is used for "no".
DO NOT EDIT this template just to change options. It's a very bad way to do it, and you'll pay for it!
Correct way: in Virtual file system, right click on home/root, properties, diff template,
put this text [+special:strings]
and following all the options you want to change, using the same syntax you see here.
[+special:strings|private]
paged=1
[TO DO list|private]
- consider css data uri http://www.nczonline.net/blog/2010/07/06/data-uris-make-css-sprites-obsolete/
- support for rawr thumbnails
[]
HFS %folder%
WARNING: this template is only to be used with HFS 2.3 (and macros enabled)
%perc%%
:}.}
[ajax.mkdir|no log]
{.if|{.can mkdir.}|{:
{.set|x|{.force ansi|%folder%{.postvar|name.}.}.}
{.if|{.exists|{.^x.}.}|exists|{:
{.if|{.length|{.mkdir|{.^x.}.}.}|ok|failed.}
:}.}
:}|forbidden.}
[ajax.rename|no log]
{.if|{.can rename.}|{:
{.set|x|{.force ansi|%folder%{.postvar|from.}.}.}
{.set|y|{.force ansi|%folder%{.postvar|to.}.}.}
{.if not |{.exists|{.^x.}.}|not found|{:
{.if|{.exists|{.^y.}.}|exists|{:
{.if|{.length|{.rename|{.^x.}|{.^y.}.}.}|ok|failed.}
:}.}
:}.}
:}|forbidden.}
[ajax.comment|no log]
{.if|{.can comment.}|{:
{.for each|fn|{.replace|:|{.no pipe||.}|{.postvar|files.}.}|{:
{.set item|{.force ansi|%folder%{.^fn.}.}|comment={.force ansi|{.postvar|text.}.}.}
:}.}
ok
:}|forbidden.}
[ajax.changepwd|no log]
{.if|{.can change pwd.}|{:
{.if|{.length|{.set account||password={.force ansi|{.postvar|new.}.}.}/length.}|ok|failed.}
:}|forbidden.}
[special:alias|private]
can mkdir=get|can upload
can comment=get|can upload
can rename=get|can delete
escape attr=replace|"|"|$1
can change pwd={.member of|can change password.}
#notifications#={.member of|#notifications#.}
#playsounds#={.member of|#playsounds#.}
commentNL=if|{.pos| |$1.}
add bytes=switch|{.cut|-1||$1.}|,|0,1,2,3,4,5,6,7,8,9|$1 bytes|K,M,G,T|$1bytes
[special:import|private]
{.new account|can change password|enabled=1|is group=1|notes=accounts members of this group will be allowed to change their password.}
{.new account|#notifications#|enabled=1|is group=1|notes=Accounts members of this group can send Windows notifications to the server..}
{.new account|#playsounds#|enabled=1|is group=1|notes=Accounts members of this group will be allowed to send sound events to the server..}
[lib.js|no log]
//