wlansecuritysettings/wlaneapsettingsui/EapPeap/ConfigUi/data/EapPeapUi.rss
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     1 /*
       
     2 * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: EAP PEAP UI resource file
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 CHARACTER_SET   UTF8
       
    21 
       
    22 //  RESOURCE IDENTIFIER
       
    23 NAME EPEP
       
    24 
       
    25 //  INCLUDES
       
    26 #include <eikon.rh>
       
    27 #include "EapPeapUi.hrh"   // Enums for these resources
       
    28 #include <eappeapui.loc>   // Localisation file
       
    29 #include <wlaneapsettingsui.loc>
       
    30 #include <eikon.rsg>
       
    31 #include <avkon.rsg>
       
    32 #include <avkon.rh>
       
    33 #include <avkon.mbg>
       
    34 #include <avkon.loc>
       
    35 
       
    36 
       
    37 //  CONSTANTS  
       
    38 #define KUsernameMaxNameLength 255
       
    39 
       
    40 
       
    41 //  RESOURCE DEFINITIONS 
       
    42 
       
    43 RESOURCE RSS_SIGNATURE { }
       
    44 
       
    45 
       
    46 RESOURCE TBUF16 { buf=""; }
       
    47 
       
    48 
       
    49 RESOURCE CBA r_peap_ui_softkeys_options_back_edit
       
    50     {
       
    51     buttons =
       
    52         {
       
    53         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    54         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    55         CBA_BUTTON { id = EPeapUiCmdChange; txt = qtn_msk_change; }
       
    56         };
       
    57     }
       
    58     
       
    59 
       
    60 RESOURCE CBA r_peap_ui_softkeys_options_back_configure
       
    61     {
       
    62     buttons =
       
    63         {
       
    64         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    65         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    66         CBA_BUTTON { id = EPeapUiCmdConfigure; txt = qtn_msk_wlan_eap_configure; }
       
    67         };
       
    68     }
       
    69 
       
    70 
       
    71 RESOURCE CBA r_peap_ui_softkeys_options_back_enable
       
    72     {
       
    73     buttons =
       
    74         {
       
    75         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    76         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    77         CBA_BUTTON { id = EPeapUiCmdEnable; txt = qtn_msk_wlan_eap_cs_enable; }
       
    78         };
       
    79     }
       
    80 
       
    81 
       
    82 RESOURCE CBA r_peap_ui_softkeys_options_back_disable
       
    83     {
       
    84     buttons =
       
    85         {
       
    86         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    87         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    88         CBA_BUTTON { id = EPeapUiCmdDisable; txt = qtn_msk_wlan_eap_cs_disable; }
       
    89         };
       
    90     }
       
    91     
       
    92 
       
    93 RESOURCE DIALOG r_peap_setting_dialog
       
    94     {
       
    95     flags = EEikDialogFlagFillAppClientRect | 
       
    96             EEikDialogFlagCbaButtons | 
       
    97             EEikDialogFlagWait | 
       
    98             EEikDialogFlagNotifyEsc;
       
    99     buttons = r_peap_ui_softkeys_options_back_edit;
       
   100     pages = r_peap_pages;
       
   101     }
       
   102 
       
   103 
       
   104 RESOURCE ARRAY r_peap_pages
       
   105     {
       
   106     items=
       
   107         {
       
   108         PAGE 
       
   109             {
       
   110             id = KEAPPEAPSETTINGSPAGE;
       
   111             text = qtn_wlan_eap_tab_settings;
       
   112             lines = r_peap_tab_settings; 
       
   113             },
       
   114 
       
   115         PAGE 
       
   116             {
       
   117             id = KEAPPEAPEAPPAGE;
       
   118             text = qtn_wlan_eap_tab_eap_types; 
       
   119             lines = r_peap_tab_eap_types; 
       
   120             },
       
   121 
       
   122         PAGE 
       
   123             {
       
   124             id = KEAPPEAPCIPHERPAGE;
       
   125             text = qtn_wlan_eap_tab_cipher_suites; 
       
   126             lines = r_peap_tab_cipher_suites; 
       
   127             }
       
   128         };
       
   129     }
       
   130 
       
   131 
       
   132 // ******* PAGES ************
       
   133 // ******* 1st page *********
       
   134 RESOURCE ARRAY r_peap_tab_settings
       
   135     {
       
   136     items =
       
   137          {
       
   138             DLG_LINE
       
   139                 {
       
   140                 id = EPeapSettingsListbox;
       
   141                 type = EAknCtSettingListBox;
       
   142                 control = LISTBOX 
       
   143                     {
       
   144                     flags = EAknListBoxMenuList;
       
   145                     };
       
   146                 }
       
   147           };
       
   148     }
       
   149 
       
   150 
       
   151 // ******* 2nd page *********
       
   152 RESOURCE ARRAY r_peap_tab_eap_types
       
   153     {
       
   154     items =
       
   155         {
       
   156         DLG_LINE
       
   157             {
       
   158             id = EPeapSettingsEapTypeListbox;
       
   159             type = EAknCtSingleNumberListBox;
       
   160             control = LISTBOX 
       
   161                 {
       
   162                 flags = EAknGenericListBoxFlags;
       
   163                 array_id = r_peap_eap_types_array;
       
   164                 };
       
   165             }
       
   166         };
       
   167     }
       
   168 
       
   169 
       
   170 // ******* 3rd page *********
       
   171 RESOURCE ARRAY r_peap_tab_cipher_suites
       
   172     {
       
   173     items =
       
   174         {
       
   175         DLG_LINE
       
   176             {
       
   177             id = EPeapSettingsCipherSuiteListbox;
       
   178             type = EAknCtSingleNumberListBox;
       
   179             control = LISTBOX 
       
   180                 {
       
   181                 flags = EAknGenericListBoxFlags;
       
   182                 };
       
   183             }
       
   184         };
       
   185     }
       
   186 
       
   187 
       
   188 RESOURCE ARRAY r_peap_eap_types_array
       
   189     {
       
   190     items =
       
   191         {
       
   192         LBUF { txt = "1\tEAP-TLS"; },
       
   193         LBUF { txt = "2\tEAP-MSCHAPv2"; },
       
   194         LBUF { txt = "3\tEAP-SIM"; },
       
   195         LBUF { txt = "4\tEAP-GTC"; }
       
   196         };
       
   197     }
       
   198 
       
   199 
       
   200 RESOURCE AVKON_SETTING_PAGE r_peap_username_page
       
   201     {
       
   202     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   203     label= qtn_wlan_eap_sett_username;
       
   204     type = EEikCtEdwin;
       
   205     editor_resource_id = r_peap_setting_edwin;
       
   206     }
       
   207 
       
   208 
       
   209 RESOURCE AVKON_SETTING_PAGE r_peap_realm_page
       
   210     {
       
   211     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   212     label = qtn_wlan_eap_sett_realm;
       
   213     type = EEikCtEdwin;
       
   214     editor_resource_id = r_peap_setting_edwin;
       
   215     }
       
   216 
       
   217 
       
   218 RESOURCE EDWIN r_peap_setting_edwin 
       
   219     {
       
   220     flags = 0;
       
   221     width = 9;
       
   222     lines = 5;
       
   223     maxlength = 255;
       
   224     }
       
   225 
       
   226 
       
   227 RESOURCE AVKON_SETTING_PAGE r_radio_button_setting_page
       
   228     {
       
   229     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   230     type = EAknSetListBox;
       
   231     editor_resource_id= r_setting_listbox;
       
   232     }
       
   233 
       
   234 
       
   235 RESOURCE LISTBOX r_setting_listbox 
       
   236     {
       
   237     flags = EEikListBoxMultipleSelection;
       
   238     }
       
   239 
       
   240 
       
   241 
       
   242 RESOURCE MENU_BAR r_peap_menubar
       
   243     {
       
   244     titles =
       
   245         {
       
   246         MENU_TITLE 
       
   247             { 
       
   248             menu_pane = r_peap_menu_pane; 
       
   249             txt = ""; 
       
   250             }
       
   251         };
       
   252     }
       
   253 
       
   254 
       
   255 RESOURCE MENU_PANE r_peap_menu_pane
       
   256     {
       
   257     items =
       
   258         {
       
   259         MENU_ITEM 
       
   260             { 
       
   261             command = EPeapUiCmdConfigure;
       
   262             txt = qtn_wlan_options_eap_plugin_configure; 
       
   263             flags = EEikMenuItemAction;
       
   264             },
       
   265 
       
   266         MENU_ITEM 
       
   267             { 
       
   268             command = EPeapUiCmdEnable;
       
   269             txt = qtn_wlan_options_eap_plugin_enable; 
       
   270             flags = EEikMenuItemAction;
       
   271             },
       
   272 
       
   273         MENU_ITEM 
       
   274             { 
       
   275             command = EPeapUiCmdDisable;
       
   276             txt = qtn_wlan_options_eap_plugin_disable; 
       
   277             flags = EEikMenuItemSpecific;
       
   278             },
       
   279 
       
   280         MENU_ITEM 
       
   281             { 
       
   282             command = EPeapUiCmdMoveUp;
       
   283             txt = qtn_wlan_options_eap_plugin_priority_up;
       
   284             flags = EEikMenuItemSpecific; 
       
   285             },
       
   286 
       
   287         MENU_ITEM 
       
   288             { 
       
   289             command = EPeapUiCmdMoveDown;
       
   290             txt = qtn_wlan_options_eap_plugin_priority_down; 
       
   291             flags = EEikMenuItemSpecific;
       
   292             },
       
   293 
       
   294         MENU_ITEM 
       
   295             { 
       
   296             command = EPeapUiCmdChange;
       
   297             txt = qtn_options_change; 
       
   298             flags = EEikMenuItemAction;
       
   299             },
       
   300 
       
   301         MENU_ITEM 
       
   302             { 
       
   303             command = EAknCmdHelp;
       
   304             txt = qtn_options_help; 
       
   305             },
       
   306 
       
   307         MENU_ITEM 
       
   308             { 
       
   309             command = EAknCmdExit;
       
   310             txt = qtn_options_exit; 
       
   311             }
       
   312         };
       
   313     }
       
   314 
       
   315 
       
   316 // Resource strings
       
   317 RESOURCE TBUF r_peap_settings_title        { buf = qtn_wlan_eap_peap_title; }
       
   318 RESOURCE TBUF r_peap_username_inusestring      \
       
   319                                   { buf = qtn_wlan_eap_sett_username_inuse; }
       
   320 RESOURCE TBUF r_peap_username_inusestring_auto \
       
   321                         { buf = qtn_wlan_eap_sett_username_inuse_from_cert; }
       
   322 RESOURCE TBUF r_peap_username_inusestring_conf \
       
   323                              { buf = qtn_wlan_eap_sett_username_inuse_user; }
       
   324 RESOURCE TBUF r_peap_username_string    { buf = qtn_wlan_eap_sett_username; }
       
   325 RESOURCE TBUF r_peap_realm_inusestring         \
       
   326                                      { buf = qtn_wlan_eap_sett_realm_inuse; }
       
   327 RESOURCE TBUF r_peap_realm_inusestring_auto    \
       
   328                            { buf = qtn_wlan_eap_sett_realm_inuse_from_cert; }
       
   329 RESOURCE TBUF r_peap_realm_inusestring_conf    \
       
   330                                 { buf = qtn_wlan_eap_sett_realm_inuse_user; }
       
   331 RESOURCE TBUF r_peap_realm_string          { buf = qtn_wlan_eap_sett_realm; }
       
   332 RESOURCE TBUF r_peap_user_cert_string          \
       
   333                                 { buf = qtn_wlan_eap_sett_user_certificate; }
       
   334 RESOURCE TBUF r_peap_ca_cert_string            \
       
   335                                   { buf = qtn_wlan_eap_sett_ca_certificate; }
       
   336 RESOURCE TBUF r_peap_not_defined     { buf = qtn_wlan_eap_cert_not_defined; }
       
   337 RESOURCE TBUF r_peap_none_selection            \
       
   338                                   { buf = qtn_wlan_eap_cert_none_selection; }
       
   339 
       
   340 RESOURCE TBUF r_peap_suite_rsarc4md5 { buf = qtn_wlan_eap_cipher_rsarc4md5; }
       
   341 RESOURCE TBUF r_peap_suite_rsarc4sha { buf = qtn_wlan_eap_cipher_rsarc4sha; }
       
   342 RESOURCE TBUF r_peap_suite_rsa3dessha          \
       
   343                                     { buf = qtn_wlan_eap_cipher_rsa3dessha; }
       
   344 RESOURCE TBUF r_peap_suite_dhersa3dessha       \
       
   345                                  { buf = qtn_wlan_eap_cipher_dhersa3dessha; }
       
   346 RESOURCE TBUF r_peap_suite_dhedss3dessha       \
       
   347                                  { buf = qtn_wlan_eap_cipher_dhedss3dessha; }
       
   348 RESOURCE TBUF r_peap_suite_rsaaessha { buf = qtn_wlan_eap_cipher_rsaaessha; }
       
   349 RESOURCE TBUF r_peap_suite_dhersaaessha        \
       
   350                                   { buf = qtn_wlan_eap_cipher_dhersaaessha; }
       
   351 RESOURCE TBUF r_peap_suite_dhedssaessha        \
       
   352                                   { buf = qtn_wlan_eap_cipher_dhedssaessha; }
       
   353 
       
   354 RESOURCE TBUF r_peap_allow_peapv0   { buf = qtn_wlan_eap_sett_allow_peapv0; }
       
   355 RESOURCE TBUF r_peap_allow_peapv1   { buf = qtn_wlan_eap_sett_allow_peapv1; }
       
   356 RESOURCE TBUF r_peap_allow_peapv2   { buf = qtn_wlan_eap_sett_allow_peapv2; }
       
   357 RESOURCE TBUF r_peap_allow_yes    { buf = qtn_wlan_eap_sett_allow_peap_yes; }
       
   358 RESOURCE TBUF r_peap_allow_no      { buf = qtn_wlan_eap_sett_allow_peap_no; }
       
   359 RESOURCE TBUF r_peap_info_cannot_disable_all_eap_plugins \
       
   360                       { buf = qtn_wlan_info_cannot_disable_all_eap_plugins; }
       
   361 RESOURCE TBUF r_peap_tls_privacy_string
       
   362                                   { buf = qtn_wlan_eap_sett_tls_privacy; }
       
   363 
       
   364 
       
   365 // ********************************************
       
   366 // USERNAME IN USE AND REALM POPUP DEFINITION
       
   367 // ********************************************
       
   368 RESOURCE AVKON_POPUP_SETTING_TEXTS r_peap_username_autouseconf_texts
       
   369     {
       
   370     setting_texts_resource = r_peap_username_autouseconf_texts_resource;
       
   371     popped_up_texts_resource = r_peap_username_automatic_useconfigured_array;
       
   372     }
       
   373 
       
   374 
       
   375 RESOURCE ARRAY r_peap_username_autouseconf_texts_resource
       
   376     {
       
   377     items =
       
   378         {
       
   379         AVKON_ENUMERATED_TEXT 
       
   380             { 
       
   381             value = 0; 
       
   382             text = qtn_wlan_eap_sett_username_inuse_from_cert; 
       
   383             },
       
   384 
       
   385         AVKON_ENUMERATED_TEXT 
       
   386             { 
       
   387             value = 1; 
       
   388             text = qtn_wlan_eap_sett_username_inuse_user; 
       
   389             }
       
   390         };
       
   391     }
       
   392 
       
   393 
       
   394 RESOURCE ARRAY r_peap_username_automatic_useconfigured_array
       
   395     {
       
   396     items =
       
   397         {
       
   398         LBUF { txt = qtn_wlan_eap_sett_username_inuse_from_cert; },
       
   399         LBUF { txt = qtn_wlan_eap_sett_username_inuse_user; }
       
   400         };
       
   401     }
       
   402 
       
   403 
       
   404 RESOURCE AVKON_POPUP_SETTING_TEXTS r_peap_realm_autouseconf_texts
       
   405     {
       
   406     setting_texts_resource = r_peap_realm_autouseconf_texts_resource;
       
   407     popped_up_texts_resource = r_peap_realm_automatic_useconfigured_array;
       
   408     }
       
   409 
       
   410 
       
   411 RESOURCE ARRAY r_peap_realm_autouseconf_texts_resource
       
   412     {
       
   413     items=
       
   414         {
       
   415         AVKON_ENUMERATED_TEXT 
       
   416             { 
       
   417             value = 0; 
       
   418             text = qtn_wlan_eap_sett_realm_inuse_from_cert; 
       
   419             },
       
   420 
       
   421         AVKON_ENUMERATED_TEXT 
       
   422             { 
       
   423             value = 1; 
       
   424             text = qtn_wlan_eap_sett_realm_inuse_user; 
       
   425             }
       
   426         };
       
   427     }
       
   428 
       
   429 
       
   430 RESOURCE ARRAY r_peap_realm_automatic_useconfigured_array
       
   431     {
       
   432     items=
       
   433         {
       
   434         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_from_cert; },
       
   435         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_user; }
       
   436         };
       
   437     }
       
   438 
       
   439 RESOURCE ARRAY r_peap_tls_privacy_autouseconf_texts_resource
       
   440     {
       
   441     items=
       
   442         {
       
   443         AVKON_ENUMERATED_TEXT 
       
   444             { 
       
   445             value = 0; 
       
   446             text = qtn_wlan_eap_sett_tls_privacy_off; 
       
   447             },
       
   448 
       
   449         AVKON_ENUMERATED_TEXT 
       
   450             { 
       
   451             value = 1; 
       
   452             text = qtn_wlan_eap_sett_tls_privacy_on; 
       
   453             }
       
   454         };
       
   455     }
       
   456 
       
   457 
       
   458 RESOURCE AVKON_POPUP_SETTING_TEXTS r_peap_tls_privacy_autouseconf_texts
       
   459     {
       
   460     setting_texts_resource = r_peap_tls_privacy_autouseconf_texts_resource;
       
   461     popped_up_texts_resource = r_peap_tls_privacy_automatic_useconfigured_array;
       
   462     }
       
   463 
       
   464 
       
   465 RESOURCE ARRAY r_peap_tls_privacy_automatic_useconfigured_array
       
   466     {
       
   467     items =
       
   468         {
       
   469         LBUF { txt = qtn_wlan_eap_sett_tls_privacy_off; },
       
   470         LBUF { txt = qtn_wlan_eap_sett_tls_privacy_on; }
       
   471         };
       
   472     }
       
   473 
       
   474 RESOURCE AVKON_SETTING_PAGE r_peap_display_autouseconf_page
       
   475     {
       
   476     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   477     label = qtn_wlan_eap_sett_realm_inuse;
       
   478     type = EAknCtPopupSettingList;
       
   479     editor_resource_id = r_peap_setting_enumerated_popup;
       
   480     }
       
   481 
       
   482 
       
   483 RESOURCE POPUP_SETTING_LIST r_peap_setting_enumerated_popup
       
   484     {
       
   485     flags = EAknPopupSettingListFlagInitialised;
       
   486     }
       
   487 
       
   488 
       
   489 // ********************************************
       
   490 // ALLOW PEAP VERSIONS POPUP DEFINITION
       
   491 // ********************************************
       
   492 RESOURCE AVKON_POPUP_SETTING_TEXTS r_peap_allow_version_texts
       
   493     {
       
   494     setting_texts_resource = r_peap_allow_version_texts_resource;
       
   495     popped_up_texts_resource = r_peap_allow_version_array;
       
   496     }
       
   497 
       
   498 
       
   499 RESOURCE ARRAY r_peap_allow_version_texts_resource
       
   500     {
       
   501     items =
       
   502         {
       
   503         AVKON_ENUMERATED_TEXT 
       
   504             { 
       
   505             value = 0; 
       
   506             text = qtn_wlan_eap_sett_allow_peap_no; 
       
   507             },
       
   508 
       
   509         AVKON_ENUMERATED_TEXT 
       
   510             { 
       
   511             value = 1; 
       
   512             text = qtn_wlan_eap_sett_allow_peap_yes; 
       
   513             }
       
   514         };
       
   515     }
       
   516 
       
   517 
       
   518 RESOURCE ARRAY r_peap_allow_version_array
       
   519     {
       
   520     items=
       
   521         {
       
   522         LBUF { txt = qtn_wlan_eap_sett_allow_peap_no; },
       
   523         LBUF { txt = qtn_wlan_eap_sett_allow_peap_yes; }
       
   524         };
       
   525     }
       
   526 
       
   527 
       
   528 RESOURCE AVKON_SETTING_PAGE r_peap_allow_version_0
       
   529     {
       
   530     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   531     label = qtn_wlan_eap_sett_allow_peapv0;
       
   532     type = EAknCtPopupSettingList;
       
   533     editor_resource_id = r_peap_setting_enumerated_popup;
       
   534     }
       
   535 
       
   536 
       
   537 RESOURCE AVKON_SETTING_PAGE r_peap_allow_version_1
       
   538     {
       
   539     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   540     label = qtn_wlan_eap_sett_allow_peapv1;
       
   541     type = EAknCtPopupSettingList;
       
   542     editor_resource_id = r_peap_setting_enumerated_popup;
       
   543     }
       
   544 
       
   545 
       
   546 RESOURCE AVKON_SETTING_PAGE r_peap_allow_version_2
       
   547     {
       
   548     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   549     label = qtn_wlan_eap_sett_allow_peapv2;
       
   550     type = EAknCtPopupSettingList;
       
   551     editor_resource_id = r_peap_setting_enumerated_popup;
       
   552     }
       
   553 
       
   554 
       
   555 // End of File