In the server hfs, there is for every file
(in advanced -->> files filter) a mask defined by hfs admin.
Would be it not possible to associate simply
with this filter, a filter of overload defined in the url by the user as why not:
?search=(...)
?mask=(...) associate with ?recursive
?filter=(...)
with include it in the
filesfilter list, and apply it
main.pas
// filtered out
if not fileMatch( ifThen(f.isFolder(), foldersfilter, filesfilter), f.name)
then continue;
Shall see we it in the version 2.2a build138. ??
Rejetto, is it possible to add at same time the option ?page=uu working like
?offset=nn list files from offset (nn) to end of list
?offset=nn&page=pp page is ignored, must working as ?offset=nn
?offset=nn&limit=mm list files from offset (nn) to (offset+limit)
?page=pp&limit=mm list files from (after calculate) offset=page*limit to (offset+limit)
?offset=nn&page=pp&limit=mm offset is ignored and recalculate as above in according with ?page=pp&limit=mm
and why not
?recursive&nofiles and
?recursive&nofolder to having only folders or files in the list
An idea would be to add the following variables
%recursive% values TRUE or FALSE
%offset% %page% %limit% values are this passed in the last url line
?offset=0 define the first indice file
?page=0 must define the first page
?limit=0 define no files , will be redefine as 'no limits'
With this, We can use the values tramsmises by variables %var% into template, more easy to use in javascript. thanks