rejetto forum
Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: Mars on March 20, 2009, 03:12:39 PM
-
Demand for some macro supplementary
one switch ON/OFF
{.server on.} and {.server off.}
or
{.server|on.} and {.server|off.}
to be using with a time event:
{.if|{.in range|22|%time%|24.}{.in range|00|%time%|08.}| {.server|off.} | {.server|on.} /if.}
In accompaniment of the macro 'disconnect', it would indeed be necessary have a macro 'busy' which prevents a person from logging by sending him a web page indicating to him that the server is at present occupied and with re-trying later
{.if|condition|{.busy.}.}
I know this quer you are going to answer me: use a section {.$busy }. But I do not want to use of sections because so it will be possible to use a button 'server as busy' in hfs to put the server in busy mode, and not inevitably in mode off.
-
{.set ini|active=yes.} (or "no")
about the "busy", it's not a bad idea, also if i never got a similar request.
i would like to get some opinions about it.