diff -r bad0cc58d154 -r c74b3d9f6b9e wlansecuritysettings/wlaneapsettingsui/EapTtls/ConfigUi/data/EapTtlsUi.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wlansecuritysettings/wlaneapsettingsui/EapTtls/ConfigUi/data/EapTtlsUi.rss Wed Sep 01 12:23:57 2010 +0100 @@ -0,0 +1,473 @@ +/* +* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: EAP TTLS UI resource file +* +*/ + +/* +* %version: 20 % +*/ + +CHARACTER_SET UTF8 + +// RESOURCE IDENTIFIER +NAME ETTL + +// INCLUDES +#include +#include "EapTtlsUi.hrh" // Enums for these resources +#include // Localisation file +#include +#include +#include +#include +#include +#include + + +// CONSTANTS +#define KUsernameMaxNameLength 255 + + +// RESOURCE DEFINITIONS + +RESOURCE RSS_SIGNATURE { } + + +RESOURCE TBUF16 { buf=""; } + + +RESOURCE CBA r_ttls_ui_softkeys_options_back_edit + { + buttons = + { + CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, + CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, + CBA_BUTTON { id = ETtlsUiCmdChange; txt = qtn_msk_change; } + }; + } + + +RESOURCE CBA r_ttls_ui_softkeys_options_back_configure + { + buttons = + { + CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, + CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, + CBA_BUTTON { id = ETtlsUiCmdConfigure; txt = qtn_msk_wlan_eap_configure; } + }; + } + + +RESOURCE CBA r_ttls_ui_softkeys_options_back_enable + { + buttons = + { + CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, + CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, + CBA_BUTTON { id = ETtlsUiCmdEnable; txt = qtn_msk_wlan_eap_cs_enable; } + }; + } + + +RESOURCE CBA r_ttls_ui_softkeys_options_back_disable + { + buttons = + { + CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, + CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, + CBA_BUTTON { id = ETtlsUiCmdDisable; txt = qtn_msk_wlan_eap_cs_disable; } + }; + } + + +RESOURCE DIALOG r_ttls_setting_dialog + { + flags = EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | + EEikDialogFlagWait | EEikDialogFlagNotifyEsc; + buttons = r_ttls_ui_softkeys_options_back_edit; + pages = r_ttls_pages; + } + + +RESOURCE ARRAY r_ttls_pages + { + items= + { + PAGE + { + id = KEAPTTLSSETTINGSPAGE; + text = qtn_wlan_eap_tab_settings; + lines = r_ttls_tab_settings; + }, + + PAGE + { + id = KEAPTTLSEAPPAGE; + text = qtn_wlan_eap_tab_eap_types; + lines = r_ttls_tab_eap_types; + }, + + PAGE + { + id = KEAPTTLSCIPHERPAGE; + text = qtn_wlan_eap_tab_cipher_suites; + lines = r_ttls_tab_cipher_suites; + } + }; + } + + +// ******* PAGES ************ +// ******* 1st page ********* +RESOURCE ARRAY r_ttls_tab_settings + { + items = + { + DLG_LINE + { + id = ETtlsSettingsListbox; + type = EAknCtSettingListBox; + control = LISTBOX + { + flags = EAknListBoxMenuList; + }; + } + }; + } + + +// ******* 2nd page ********* +RESOURCE ARRAY r_ttls_tab_eap_types + { + items = + { + DLG_LINE + { + id = ETtlsSettingsEapTypeListbox; + type = EAknCtSingleNumberListBox; + control = LISTBOX + { + flags = EAknGenericListBoxFlags; + }; + } + }; + } + + +// ******* 3rd page ********* +RESOURCE ARRAY r_ttls_tab_cipher_suites + { + items = + { + DLG_LINE + { + id = ETtlsSettingsCipherSuiteListbox; + type = EAknCtSingleNumberListBox; + control = LISTBOX + { + flags = EAknGenericListBoxFlags; + }; + } + }; + } + + +RESOURCE AVKON_SETTING_PAGE r_ttls_username_page + { + softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; + label = qtn_wlan_eap_sett_username; + type = EEikCtEdwin; + editor_resource_id = r_ttls_setting_edwin; + } + + +RESOURCE AVKON_SETTING_PAGE r_ttls_realm_page + { + softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; + label = qtn_wlan_eap_sett_realm; + type = EEikCtEdwin; + editor_resource_id = r_ttls_setting_edwin; + } + + +RESOURCE EDWIN r_ttls_setting_edwin + { + flags = 0; + width = 9; + lines = 5; + maxlength = 255; + } + + +RESOURCE AVKON_SETTING_PAGE r_radio_button_setting_page + { + softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; + type = EAknSetListBox; + editor_resource_id = r_setting_listbox; + } + + +RESOURCE LISTBOX r_setting_listbox + { + flags = EEikListBoxMultipleSelection; + } + + + +RESOURCE MENU_BAR r_ttls_menubar + { + titles = + { + MENU_TITLE + { + menu_pane = r_ttls_menu_pane; + txt = ""; + } + }; + } + + +RESOURCE MENU_PANE r_ttls_menu_pane + { + items = + { + MENU_ITEM + { + command = ETtlsUiCmdConfigure; + txt = qtn_wlan_options_eap_plugin_configure; + flags = EEikMenuItemAction; + }, + + MENU_ITEM + { + command = ETtlsUiCmdEnable; + txt = qtn_wlan_options_eap_plugin_enable; + flags = EEikMenuItemAction; + }, + + MENU_ITEM + { + command = ETtlsUiCmdDisable; + txt = qtn_wlan_options_eap_plugin_disable; + flags = EEikMenuItemSpecific; + }, + + MENU_ITEM + { + command = ETtlsUiCmdMoveUp; + txt = qtn_wlan_options_eap_plugin_priority_up; + flags = EEikMenuItemSpecific; + }, + + MENU_ITEM + { + command = ETtlsUiCmdMoveDown; + txt = qtn_wlan_options_eap_plugin_priority_down; + flags = EEikMenuItemSpecific; + }, + + MENU_ITEM + { + command = ETtlsUiCmdChange; + txt = qtn_options_change; + flags = EEikMenuItemAction; + }, + + MENU_ITEM + { + command = EAknCmdHelp; + txt = qtn_options_help; + }, + + MENU_ITEM + { + command = EAknCmdExit; + txt = qtn_options_exit; + } + }; + } + + +// Resource strings +RESOURCE TBUF r_ttls_settings_title { buf = qtn_wlan_eap_ttls_title; } +RESOURCE TBUF r_ttls_username_inusestring \ + { buf = qtn_wlan_eap_sett_username_inuse; } +RESOURCE TBUF r_ttls_username_inusestring_auto \ + { buf = qtn_wlan_eap_sett_username_inuse_from_cert; } +RESOURCE TBUF r_ttls_username_inusestring_conf \ + { buf = qtn_wlan_eap_sett_username_inuse_user; } +RESOURCE TBUF r_ttls_username_string { buf = qtn_wlan_eap_sett_username; } +RESOURCE TBUF r_ttls_realm_inusestring \ + { buf = qtn_wlan_eap_sett_realm_inuse; } +RESOURCE TBUF r_ttls_realm_inusestring_auto \ + { buf = qtn_wlan_eap_sett_realm_inuse_from_cert; } +RESOURCE TBUF r_ttls_realm_inusestring_conf \ + { buf = qtn_wlan_eap_sett_realm_inuse_user; } +RESOURCE TBUF r_ttls_realm_string { buf = qtn_wlan_eap_sett_realm; } +RESOURCE TBUF r_ttls_user_cert_string \ + { buf = qtn_wlan_eap_sett_user_certificate; } +RESOURCE TBUF r_ttls_ca_cert_string \ + { buf = qtn_wlan_eap_sett_ca_certificate; } +RESOURCE TBUF r_ttls_not_defined { buf = qtn_wlan_eap_cert_not_defined; } +RESOURCE TBUF r_ttls_none_selection \ + { buf = qtn_wlan_eap_cert_none_selection; } +RESOURCE TBUF r_ttls_suite_rsarc4md5 { buf = qtn_wlan_eap_cipher_rsarc4md5; } +RESOURCE TBUF r_ttls_suite_rsarc4sha { buf = qtn_wlan_eap_cipher_rsarc4sha; } +RESOURCE TBUF r_ttls_suite_rsa3dessha \ + { buf = qtn_wlan_eap_cipher_rsa3dessha; } +RESOURCE TBUF r_ttls_suite_dhersa3dessha \ + { buf = qtn_wlan_eap_cipher_dhersa3dessha; } +RESOURCE TBUF r_ttls_suite_dhedss3dessha \ + { buf = qtn_wlan_eap_cipher_dhedss3dessha; } +RESOURCE TBUF r_ttls_suite_rsaaessha { buf = qtn_wlan_eap_cipher_rsaaessha; } +RESOURCE TBUF r_ttls_suite_dhersaaessha \ + { buf = qtn_wlan_eap_cipher_dhersaaessha; } +RESOURCE TBUF r_ttls_suite_dhedssaessha \ + { buf = qtn_wlan_eap_cipher_dhedssaessha; } +RESOURCE TBUF r_ttls_info_cannot_disable_all_eap_plugins \ + { buf = qtn_wlan_info_cannot_disable_all_eap_plugins; } +RESOURCE TBUF r_ttls_info_plain_mschap_cannot_enable_along \ + { buf = qtn_wlan_eap_info_plain_mschap_cannot_enable_along; } +RESOURCE TBUF r_ttls_tls_privacy_string + { buf = qtn_wlan_eap_sett_tls_privacy; } +RESOURCE TBUF r_ttls_info_pap_cannot_enable_along \ + { buf = qtn_wlan_eap_info_pap_cannot_enable_along; } + +// ******************************************** +// USERNAME IN USE AND REALM POPUP DEFINITION +// ******************************************** +RESOURCE AVKON_POPUP_SETTING_TEXTS r_ttls_username_autouseconf_texts + { + setting_texts_resource = r_ttls_username_autouseconf_texts_resource; + popped_up_texts_resource = r_ttls_username_automatic_useconfigured_array; + } + + +RESOURCE ARRAY r_ttls_username_autouseconf_texts_resource + { + items = + { + AVKON_ENUMERATED_TEXT + { + value = 0; + text = qtn_wlan_eap_sett_username_inuse_from_cert; + }, + + AVKON_ENUMERATED_TEXT + { + value = 1; + text = qtn_wlan_eap_sett_username_inuse_user; + } + }; + } + + +RESOURCE ARRAY r_ttls_username_automatic_useconfigured_array + { + items = + { + LBUF { txt = qtn_wlan_eap_sett_username_inuse_from_cert; }, + LBUF { txt = qtn_wlan_eap_sett_username_inuse_user; } + }; + } + + +RESOURCE AVKON_POPUP_SETTING_TEXTS r_ttls_realm_autouseconf_texts + { + setting_texts_resource = r_ttls_realm_autouseconf_texts_resource; + popped_up_texts_resource = r_ttls_realm_automatic_useconfigured_array; + } + + +RESOURCE ARRAY r_ttls_realm_autouseconf_texts_resource + { + items= + { + AVKON_ENUMERATED_TEXT + { + value = 0; + text = qtn_wlan_eap_sett_realm_inuse_from_cert; + }, + + AVKON_ENUMERATED_TEXT + { + value = 1; + text = qtn_wlan_eap_sett_realm_inuse_user; + } + }; + } + + +RESOURCE ARRAY r_ttls_realm_automatic_useconfigured_array + { + items= + { + LBUF { txt = qtn_wlan_eap_sett_realm_inuse_from_cert; }, + LBUF { txt = qtn_wlan_eap_sett_realm_inuse_user; } + }; + } + + +RESOURCE ARRAY r_ttls_tls_privacy_autouseconf_texts_resource + { + items= + { + AVKON_ENUMERATED_TEXT + { + value = 0; + text = qtn_wlan_eap_sett_tls_privacy_off; + }, + + AVKON_ENUMERATED_TEXT + { + value = 1; + text = qtn_wlan_eap_sett_tls_privacy_on; + } + }; + } + + +RESOURCE AVKON_POPUP_SETTING_TEXTS r_ttls_tls_privacy_autouseconf_texts + { + setting_texts_resource = r_ttls_tls_privacy_autouseconf_texts_resource; + popped_up_texts_resource = r_ttls_tls_privacy_automatic_useconfigured_array; + } + + +RESOURCE ARRAY r_ttls_tls_privacy_automatic_useconfigured_array + { + items = + { + LBUF { txt = qtn_wlan_eap_sett_tls_privacy_off; }, + LBUF { txt = qtn_wlan_eap_sett_tls_privacy_on; } + }; + } + + +RESOURCE AVKON_SETTING_PAGE r_ttls_display_autouseconf_page + { + softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; + label = qtn_wlan_eap_sett_realm_inuse; + type = EAknCtPopupSettingList; + editor_resource_id = r_ttls_setting_enumerated_popup; + } + + +RESOURCE POPUP_SETTING_LIST r_ttls_setting_enumerated_popup + { + flags = EAknPopupSettingListFlagInitialised; + } + +// End of File