Changeset 1353

Show
Ignore:
Timestamp:
06/12/08 10:01:58 (2 months ago)
Author:
benoitg
Message:
  • More helpfull field doc for abuse control
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wifidog-auth/wifidog/classes/Network.php

    r1351 r1353  
    17341734            //  connection_limit_window 
    17351735            $title = _("Abuse control window"); 
    1736             $help = _("The length of the window (in seconds) during which the user must not have exceeded the limits below.  Typically a month (259200 s) or a week (604800s).  A user who exceeds the limits will be denied access until his usage falls below the limits."); 
     1736            $help = _("The length of the window during which the user must not have exceeded the limits below.  Any valid postgresql interval expression is acceptable, typically '1 month' '1 week'.  A user who exceeds the limits will be denied access until his usage falls below the limits."); 
    17371737            $data = InterfaceElements::generateInputText("network_" . $this->getId() . "_connection_limit_window", $this->getConnectionLimitWindow(), "network_connection_limit_window_input"); 
    17381738            $html_dynamic_abuse_control[] = InterfaceElements::generateAdminSectionContainer("network_connection_limit_window", $title, $data, $help); 
     
    17461746            //  connection_limit_network_max_usage_duration 
    17471747            $title = _("Network max connection duration"); 
    1748             $help = _("Maximum connection duration during the abuse control window"); 
     1748            $help = _("Maximum connection duration during the abuse control window.  Any valid postgresql interval expression is acceptable, such as hh:mm:ss"); 
    17491749            $data = InterfaceElements::generateInputText("network_" . $this->getId() . "_connection_limit_network_max_usage_duration", $this->getConnectionLimitNetworkMaxDuration(), "network_connection_limit_network_max_usage_duration"); 
    17501750            $html_dynamic_abuse_control[] = InterfaceElements::generateAdminSectionContainer("network_connection_limit_network_max_usage_duration", $title, $data, $help); 
     
    17581758            //  connection_limit_node_max_usage_duration 
    17591759            $title = _("Node max connection duration"); 
    1760             $help = _("Maximum connection duration during the abuse control window"); 
     1760            $help = _("Maximum connection duration during the abuse control window.  Any valid postgresql interval expression is acceptable, such as hh:mm:ss"); 
    17611761            $data = InterfaceElements::generateInputText("network_" . $this->getId() . "_connection_limit_node_max_usage_duration", $this->getConnectionLimitNodeMaxDuration(), "network_connection_limit_node_max_usage_duration"); 
    17621762            $html_dynamic_abuse_control[] = InterfaceElements::generateAdminSectionContainer("network_connection_limit_node_max_usage_duration", $title, $data, $help);