}
CLASS_DOC(access_entry)
+PROP_DOC(viewlevel_access_entries)
+PROP_DOC(themes)
+PROP_DOC(connection_limit)
+PROP_DOC(persistent_viewlevel)
const idclass_t access_entry_class = {
.ic_class = "access",
.type = PT_BOOL,
.id = "enabled",
.name = N_("Enabled"),
- .desc = N_("Enable/disable the entry."),
+ .desc = N_("Enable/Disable the entry."),
.off = offsetof(access_entry_t, ae_enabled),
},
{
.id = "uilevel",
.name = N_("User interface level"),
.desc = N_("Default user interface level."),
+ .doc = prop_doc_viewlevel_access_entries,
.off = offsetof(access_entry_t, ae_uilevel),
.list = uilevel_get_list,
- .opts = PO_EXPERT
+ .opts = PO_EXPERT | PO_DOC_NLIST,
},
{
.type = PT_INT,
.id = "uilevel_nochange",
.name = N_("Persistent user interface level"),
- .desc = N_("Prevent changing of interface view level."),
+ .desc = N_("Prevent the user from overriding the default user "
+ "interface level setting and removes the view level "
+ "drop-dowm from the interface."),
+ .doc = prop_doc_persistent_viewlevel,
.off = offsetof(access_entry_t, ae_uilevel_nochange),
.list = uilevel_nochange_get_list,
- .opts = PO_EXPERT
+ .opts = PO_EXPERT | PO_DOC_NLIST,
},
{
.type = PT_STR,
.id = "themeui",
.name = N_("Web theme"),
.desc = N_("Web interface theme."),
+ .doc = prop_doc_themes,
.list = theme_get_ui_list,
.off = offsetof(access_entry_t, ae_theme),
+ .opts = PO_DOC_NLIST,
},
{
.type = PT_BOOL,
.id = "streaming",
.name = N_("Streaming"),
- .desc = N_("Allow/disallow HTTP streaming."),
+ .desc = N_("Allow/Disallow HTTP streaming."),
.off = offsetof(access_entry_t, ae_streaming),
},
{
.type = PT_BOOL,
.id = "adv_streaming",
.name = N_("Advanced streaming"),
- .desc = N_("Allow/disallow advanced http streaming, "
+ .desc = N_("Allow/Disallow advanced http streaming, "
"e.g, direct service or mux links."),
.off = offsetof(access_entry_t, ae_adv_streaming),
},
.type = PT_BOOL,
.id = "htsp_streaming",
.name = N_("HTSP streaming"),
- .desc = N_("Allow/disallow HTSP protocol streaming, "
+ .desc = N_("Allow/Disallow HTSP protocol streaming, "
"e.g Kodi (via pvr.hts) or Movian."),
.off = offsetof(access_entry_t, ae_htsp_streaming),
},
.type = PT_BOOL,
.id = "dvr",
.name = N_("Video recorder"),
- .desc = N_("Allow/disallow access to video recorder "
+ .desc = N_("Allow/Disallow access to video recorder "
"functionality (including Autorecs)."),
.off = offsetof(access_entry_t, ae_dvr),
},
.type = PT_BOOL,
.id = "htsp_dvr",
.name = N_("HTSP DVR"),
- .desc = N_("Allow/disallow access to DVR via the HTSP "
+ .desc = N_("Allow/Disallow access to DVR via the HTSP "
"protocol."),
.off = offsetof(access_entry_t, ae_htsp_dvr),
},
.type = PT_BOOL,
.id = "all_dvr",
.name = N_("View all DVR entries"),
- .desc = N_("Allow/disallow access to other users DVR entries "
+ .desc = N_("Allow/Disallow access to other users DVR entries "
"(read only)."),
.off = offsetof(access_entry_t, ae_all_dvr),
},
.type = PT_BOOL,
.id = "all_rw_dvr",
.name = N_("All DVR (rw)"),
- .desc = N_("Allow/disallow read/write access to other users' "
+ .desc = N_("Allow/Disallow read/write access to other users' "
"DVR entries."),
.off = offsetof(access_entry_t, ae_all_rw_dvr),
},
.type = PT_BOOL,
.id = "webui",
.name = N_("Web interface"),
- .desc = N_("Allow/disallow web interface access (this "
+ .desc = N_("Allow/Disallow web interface access (this "
" includes access to the EPG)."),
.off = offsetof(access_entry_t, ae_webui),
},
.type = PT_BOOL,
.id = "admin",
.name = N_("Admin"),
- .desc = N_("Allow/disallow access to the 'Configuration' tab."),
+ .desc = N_("Allow/Disallow access to the 'Configuration' tab."),
.off = offsetof(access_entry_t, ae_admin),
},
{
.id = "conn_limit_type",
.name = N_("Connection limit type"),
.desc = N_("Restrict connections to this type."),
+ .doc = prop_doc_connection_limit,
.off = offsetof(access_entry_t, ae_conn_limit_type),
.list = access_entry_conn_limit_type_enum,
- .opts = PO_EXPERT
+ .opts = PO_EXPERT | PO_DOC_NLIST,
},
{
.type = PT_U32,
PROP_DOC(config_channelname_scheme)
PROP_DOC(config_picon_path)
PROP_DOC(config_picon_servicetype)
+PROP_DOC(viewlevel_config)
+PROP_DOC(themes)
const idclass_t config_class = {
.ic_snode = &config.idnode,
.name = N_("User interface level"),
.desc = N_("Sets the default interface view level (next to the "
"Help button)."),
+ .doc = prop_doc_viewlevel_config,
.off = offsetof(config_t, uilevel),
.list = config_class_uilevel,
.opts = PO_DOC_NLIST,
.name = N_("Theme"),
.desc = N_("The default web interface to use if the user's "
" theme isn't set in the Access Entries tab."),
+ .doc = prop_doc_themes,
.list = theme_get_ui_list,
.off = offsetof(config_t, theme_ui),
.opts = PO_DOC_NLIST,