Changeset 1353
- Timestamp:
- 06/12/08 10:01:58 (4 months ago)
- Files:
-
- trunk/wifidog-auth/wifidog/classes/Network.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wifidog-auth/wifidog/classes/Network.php
r1351 r1353 1734 1734 // connection_limit_window 1735 1735 $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."); 1737 1737 $data = InterfaceElements::generateInputText("network_" . $this->getId() . "_connection_limit_window", $this->getConnectionLimitWindow(), "network_connection_limit_window_input"); 1738 1738 $html_dynamic_abuse_control[] = InterfaceElements::generateAdminSectionContainer("network_connection_limit_window", $title, $data, $help); … … 1746 1746 // connection_limit_network_max_usage_duration 1747 1747 $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"); 1749 1749 $data = InterfaceElements::generateInputText("network_" . $this->getId() . "_connection_limit_network_max_usage_duration", $this->getConnectionLimitNetworkMaxDuration(), "network_connection_limit_network_max_usage_duration"); 1750 1750 $html_dynamic_abuse_control[] = InterfaceElements::generateAdminSectionContainer("network_connection_limit_network_max_usage_duration", $title, $data, $help); … … 1758 1758 // connection_limit_node_max_usage_duration 1759 1759 $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"); 1761 1761 $data = InterfaceElements::generateInputText("network_" . $this->getId() . "_connection_limit_node_max_usage_duration", $this->getConnectionLimitNodeMaxDuration(), "network_connection_limit_node_max_usage_duration"); 1762 1762 $html_dynamic_abuse_control[] = InterfaceElements::generateAdminSectionContainer("network_connection_limit_node_max_usage_duration", $title, $data, $help);
