Configuration of http-server |
modules/HttpServerWidgets.ycp |
| Widgets used by HTTP server configuration | |
|
Imports
Includes
Global VariablesGlobal Functions
Local Functions |
Map of popups for CWM
Map of widgets for CWM
Convert a Listen string to an item for table. Splits by the colon.
- Parameters:
-
arg the Listen map id the id of this item
- Return value:
-
term for the table
Convert a Listen string to an item for table. Splits by the colon.
- Parameters:
-
network network address port port number
- Return value:
-
Listen value
Show a popup for editing Listen statement.
- Parameters:
-
network initial value for the network part of the statement If empty or _("All Addresses"), considered for all Listen for all interfaces. port initial value for a port number
- Return value:
-
the new Listen statement or nil if Cancel was pressed
Handle function of the access log button (the first defined access log file)
- Parameters:
-
key any key of the widget event map event that occured
- Return value:
-
value for wizard sequencer, always nil
Handle function of the error log button
- Parameters:
-
key any key of the widget event map event that occured
- Return value:
-
value for wizard sequencer, always nil
Function for getting contents of the default host table
- Parameters:
-
descr map description map of the table
- Return value:
-
of items for the table
Function for getting contents of the default host table
- Parameters:
-
descr map description map of the table
- Return value:
-
of items for the table
Delete function of the global table
- Parameters:
-
opt_id any option id of selected option opt_key any option key of selected option
- Return value:
-
true if was really deleted
Handler for editing default host. Handles additional buttons, like logs and modules. Rest is passed to TablePopup::TableHandle.
- Parameters:
-
key the key modified event event description
- Return value:
-
the result of the handling
Fallback initialization function of a table entry / popup
- Parameters:
-
option_id any unique option id option_type string the name of the key in the option list description
Fallback store function of a table entry / popup
- Parameters:
-
option_id option_type
Fallback summary function of a table entry / popup
- Parameters:
-
option_id any option unique id option_type string option type
- Return value:
-
table entry summary
Initialize function of a widget
- Parameters:
-
key any widget key of widget that is processed
Handle function of a widget
- Parameters:
-
key any widget key of widget that is processed event any event that occured
- Return value:
-
symbol for WS or nil
Initialize function of a widget
- Parameters:
-
key any widget key of widget that is processed
Handle function of a widget
- Parameters:
-
key any widget key of widget that is processed event map event that occured
- Return value:
-
symbol for WS or nil
Initialize function of a widget
- Parameters:
-
key any widget key of widget that is processed
Store function of a widget
- Parameters:
-
key any widget key of widget that is processed event map event that occured
Initialization function for firewall adapting
- Parameters:
-
key any option key to be initialized
Store function for firewall adapting
- Parameters:
-
opt_id any option id event map event description