wlansecuritysettings/wlaneapsettingsui/EapTtls/ConfigUi/data/EapTtlsUi.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 TTLS UI resource file
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 CHARACTER_SET   UTF8
       
    21 
       
    22 //  RESOURCE IDENTIFIER
       
    23 NAME ETTL
       
    24 
       
    25 //  INCLUDES
       
    26 #include <eikon.rh>
       
    27 #include "EapTtlsUi.hrh"   // Enums for these resources
       
    28 #include <eapttlsui.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_ttls_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 = ETtlsUiCmdChange; txt = qtn_msk_change; }
       
    56         };
       
    57     }
       
    58     
       
    59     
       
    60 RESOURCE CBA r_ttls_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 = ETtlsUiCmdConfigure; txt = qtn_msk_wlan_eap_configure; }
       
    67         };
       
    68     }
       
    69     
       
    70     
       
    71 RESOURCE CBA r_ttls_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 = ETtlsUiCmdEnable; txt = qtn_msk_wlan_eap_cs_enable; }
       
    78         };
       
    79     }
       
    80 
       
    81 
       
    82 RESOURCE CBA r_ttls_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 = ETtlsUiCmdDisable; txt = qtn_msk_wlan_eap_cs_disable; }
       
    89         };
       
    90     }
       
    91 
       
    92 
       
    93 RESOURCE DIALOG r_ttls_setting_dialog
       
    94     {
       
    95     flags = EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | 
       
    96             EEikDialogFlagWait | EEikDialogFlagNotifyEsc;
       
    97     buttons = r_ttls_ui_softkeys_options_back_edit;
       
    98     pages = r_ttls_pages;
       
    99     }
       
   100 
       
   101 
       
   102 RESOURCE ARRAY r_ttls_pages
       
   103     {
       
   104     items=
       
   105         {
       
   106         PAGE 
       
   107             {
       
   108             id = KEAPTTLSSETTINGSPAGE;
       
   109             text = qtn_wlan_eap_tab_settings; 
       
   110             lines = r_ttls_tab_settings; 
       
   111             },
       
   112 
       
   113         PAGE 
       
   114             {
       
   115             id = KEAPTTLSEAPPAGE;
       
   116             text = qtn_wlan_eap_tab_eap_types; 
       
   117             lines = r_ttls_tab_eap_types; 
       
   118             },
       
   119 
       
   120         PAGE 
       
   121             {
       
   122             id = KEAPTTLSCIPHERPAGE;
       
   123             text = qtn_wlan_eap_tab_cipher_suites; 
       
   124             lines = r_ttls_tab_cipher_suites; 
       
   125             }
       
   126         };
       
   127     }
       
   128 
       
   129 
       
   130 // ******* PAGES ************
       
   131 // ******* 1st page *********
       
   132 RESOURCE ARRAY r_ttls_tab_settings
       
   133     {
       
   134     items =
       
   135         {
       
   136         DLG_LINE
       
   137             {
       
   138             id = ETtlsSettingsListbox;
       
   139             type = EAknCtSettingListBox;
       
   140             control = LISTBOX 
       
   141                 {
       
   142                 flags = EAknListBoxMenuList;
       
   143                 };
       
   144             }
       
   145         };
       
   146     }
       
   147 
       
   148 
       
   149 // ******* 2nd page *********
       
   150 RESOURCE ARRAY r_ttls_tab_eap_types
       
   151     {
       
   152     items =
       
   153          {
       
   154          DLG_LINE
       
   155             {
       
   156             id = ETtlsSettingsEapTypeListbox;
       
   157             type = EAknCtSingleNumberListBox;
       
   158             control = LISTBOX 
       
   159                 {
       
   160                 flags = EAknGenericListBoxFlags;
       
   161                 };
       
   162             }
       
   163         };
       
   164     }
       
   165 
       
   166 
       
   167 // ******* 3rd page *********
       
   168 RESOURCE ARRAY r_ttls_tab_cipher_suites
       
   169     {
       
   170     items =
       
   171         {
       
   172         DLG_LINE
       
   173             {
       
   174             id = ETtlsSettingsCipherSuiteListbox;
       
   175             type = EAknCtSingleNumberListBox;
       
   176             control = LISTBOX 
       
   177                 {
       
   178                 flags = EAknGenericListBoxFlags;
       
   179                 };
       
   180             }
       
   181         };
       
   182     }
       
   183 
       
   184 
       
   185 RESOURCE AVKON_SETTING_PAGE r_ttls_username_page
       
   186     {
       
   187     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   188     label = qtn_wlan_eap_sett_username;
       
   189     type = EEikCtEdwin;
       
   190     editor_resource_id = r_ttls_setting_edwin;
       
   191     }
       
   192 
       
   193 
       
   194 RESOURCE AVKON_SETTING_PAGE r_ttls_realm_page
       
   195     {
       
   196     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   197     label = qtn_wlan_eap_sett_realm;
       
   198     type = EEikCtEdwin;
       
   199     editor_resource_id = r_ttls_setting_edwin;
       
   200     }
       
   201 
       
   202 
       
   203 RESOURCE EDWIN r_ttls_setting_edwin 
       
   204     {
       
   205     flags = 0;
       
   206     width = 9;
       
   207     lines = 5;
       
   208     maxlength = 255;
       
   209     }
       
   210 
       
   211 
       
   212 RESOURCE AVKON_SETTING_PAGE r_radio_button_setting_page
       
   213     {
       
   214     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   215     type =  EAknSetListBox;
       
   216     editor_resource_id = r_setting_listbox;
       
   217     }
       
   218 
       
   219 
       
   220 RESOURCE LISTBOX r_setting_listbox 
       
   221     {
       
   222     flags = EEikListBoxMultipleSelection;
       
   223     }
       
   224 
       
   225 
       
   226 
       
   227 RESOURCE MENU_BAR r_ttls_menubar
       
   228     {
       
   229     titles =
       
   230         {
       
   231         MENU_TITLE 
       
   232             { 
       
   233             menu_pane = r_ttls_menu_pane; 
       
   234             txt = ""; 
       
   235             }
       
   236         };
       
   237     }
       
   238 
       
   239 
       
   240 RESOURCE MENU_PANE r_ttls_menu_pane
       
   241     {
       
   242     items =
       
   243         {
       
   244         MENU_ITEM 
       
   245             { 
       
   246             command = ETtlsUiCmdConfigure;
       
   247             txt = qtn_wlan_options_eap_plugin_configure;
       
   248             flags = EEikMenuItemAction;
       
   249             },
       
   250 
       
   251         MENU_ITEM 
       
   252             { 
       
   253             command = ETtlsUiCmdEnable;
       
   254             txt = qtn_wlan_options_eap_plugin_enable;
       
   255             flags = EEikMenuItemAction;
       
   256             },
       
   257 
       
   258         MENU_ITEM 
       
   259             { 
       
   260             command = ETtlsUiCmdDisable;
       
   261             txt = qtn_wlan_options_eap_plugin_disable;
       
   262             flags = EEikMenuItemSpecific;
       
   263             },
       
   264 
       
   265         MENU_ITEM 
       
   266             { 
       
   267             command = ETtlsUiCmdMoveUp;
       
   268             txt = qtn_wlan_options_eap_plugin_priority_up;
       
   269             flags = EEikMenuItemSpecific;
       
   270             },
       
   271 
       
   272         MENU_ITEM 
       
   273             { 
       
   274             command = ETtlsUiCmdMoveDown;
       
   275             txt = qtn_wlan_options_eap_plugin_priority_down;
       
   276             flags = EEikMenuItemSpecific;
       
   277             },
       
   278 
       
   279         MENU_ITEM 
       
   280             { 
       
   281             command = ETtlsUiCmdChange;
       
   282             txt = qtn_options_change;
       
   283             flags = EEikMenuItemAction;
       
   284             },
       
   285 
       
   286         MENU_ITEM 
       
   287             { 
       
   288             command = EAknCmdHelp;
       
   289             txt = qtn_options_help; 
       
   290             },
       
   291 
       
   292         MENU_ITEM 
       
   293             { 
       
   294             command = EAknCmdExit;
       
   295             txt = qtn_options_exit; 
       
   296             }
       
   297         };
       
   298     }
       
   299 
       
   300 
       
   301 // Resource strings
       
   302 RESOURCE TBUF r_ttls_settings_title        { buf = qtn_wlan_eap_ttls_title; }
       
   303 RESOURCE TBUF r_ttls_username_inusestring      \
       
   304                                   { buf = qtn_wlan_eap_sett_username_inuse; }
       
   305 RESOURCE TBUF r_ttls_username_inusestring_auto \
       
   306                         { buf = qtn_wlan_eap_sett_username_inuse_from_cert; }
       
   307 RESOURCE TBUF r_ttls_username_inusestring_conf \
       
   308                              { buf = qtn_wlan_eap_sett_username_inuse_user; }
       
   309 RESOURCE TBUF r_ttls_username_string    { buf = qtn_wlan_eap_sett_username; }
       
   310 RESOURCE TBUF r_ttls_realm_inusestring         \
       
   311                                      { buf = qtn_wlan_eap_sett_realm_inuse; }
       
   312 RESOURCE TBUF r_ttls_realm_inusestring_auto    \
       
   313                            { buf = qtn_wlan_eap_sett_realm_inuse_from_cert; }
       
   314 RESOURCE TBUF r_ttls_realm_inusestring_conf    \
       
   315                                 { buf = qtn_wlan_eap_sett_realm_inuse_user; }
       
   316 RESOURCE TBUF r_ttls_realm_string          { buf = qtn_wlan_eap_sett_realm; }
       
   317 RESOURCE TBUF r_ttls_user_cert_string          \
       
   318                                 { buf = qtn_wlan_eap_sett_user_certificate; }
       
   319 RESOURCE TBUF r_ttls_ca_cert_string            \
       
   320                                   { buf = qtn_wlan_eap_sett_ca_certificate; }
       
   321 RESOURCE TBUF r_ttls_not_defined     { buf = qtn_wlan_eap_cert_not_defined; }
       
   322 RESOURCE TBUF r_ttls_none_selection            \
       
   323                                   { buf = qtn_wlan_eap_cert_none_selection; }
       
   324 RESOURCE TBUF r_ttls_suite_rsarc4md5 { buf = qtn_wlan_eap_cipher_rsarc4md5; }
       
   325 RESOURCE TBUF r_ttls_suite_rsarc4sha { buf = qtn_wlan_eap_cipher_rsarc4sha; }
       
   326 RESOURCE TBUF r_ttls_suite_rsa3dessha          \
       
   327                                     { buf = qtn_wlan_eap_cipher_rsa3dessha; }
       
   328 RESOURCE TBUF r_ttls_suite_dhersa3dessha       \
       
   329                                  { buf = qtn_wlan_eap_cipher_dhersa3dessha; }
       
   330 RESOURCE TBUF r_ttls_suite_dhedss3dessha       \
       
   331                                  { buf = qtn_wlan_eap_cipher_dhedss3dessha; }
       
   332 RESOURCE TBUF r_ttls_suite_rsaaessha { buf = qtn_wlan_eap_cipher_rsaaessha; }
       
   333 RESOURCE TBUF r_ttls_suite_dhersaaessha        \
       
   334                                   { buf = qtn_wlan_eap_cipher_dhersaaessha; }
       
   335 RESOURCE TBUF r_ttls_suite_dhedssaessha        \
       
   336                                   { buf = qtn_wlan_eap_cipher_dhedssaessha; }
       
   337 RESOURCE TBUF r_ttls_info_cannot_disable_all_eap_plugins \
       
   338                       { buf = qtn_wlan_info_cannot_disable_all_eap_plugins; }
       
   339 RESOURCE TBUF r_ttls_info_plain_mschap_cannot_enable_along \
       
   340                 { buf = qtn_wlan_eap_info_plain_mschap_cannot_enable_along; }
       
   341 RESOURCE TBUF r_ttls_tls_privacy_string
       
   342                                   { buf = qtn_wlan_eap_sett_tls_privacy; }
       
   343 RESOURCE TBUF r_ttls_info_pap_cannot_enable_along \
       
   344                 { buf = qtn_wlan_eap_info_pap_cannot_enable_along; }
       
   345 
       
   346 // ********************************************
       
   347 // USERNAME IN USE AND REALM POPUP DEFINITION
       
   348 // ********************************************
       
   349 RESOURCE AVKON_POPUP_SETTING_TEXTS r_ttls_username_autouseconf_texts
       
   350     {
       
   351     setting_texts_resource = r_ttls_username_autouseconf_texts_resource;
       
   352     popped_up_texts_resource = r_ttls_username_automatic_useconfigured_array;
       
   353     }
       
   354 
       
   355 
       
   356 RESOURCE ARRAY r_ttls_username_autouseconf_texts_resource
       
   357     {
       
   358     items =
       
   359         {
       
   360         AVKON_ENUMERATED_TEXT 
       
   361             { 
       
   362             value = 0; 
       
   363             text = qtn_wlan_eap_sett_username_inuse_from_cert; 
       
   364             },
       
   365 
       
   366         AVKON_ENUMERATED_TEXT 
       
   367             { 
       
   368             value = 1; 
       
   369             text = qtn_wlan_eap_sett_username_inuse_user; 
       
   370             }
       
   371         };
       
   372     }
       
   373 
       
   374 
       
   375 RESOURCE ARRAY r_ttls_username_automatic_useconfigured_array
       
   376     {
       
   377     items =
       
   378         {
       
   379         LBUF { txt = qtn_wlan_eap_sett_username_inuse_from_cert; },
       
   380         LBUF { txt = qtn_wlan_eap_sett_username_inuse_user; }
       
   381         };
       
   382     }
       
   383 
       
   384 
       
   385 RESOURCE AVKON_POPUP_SETTING_TEXTS r_ttls_realm_autouseconf_texts
       
   386     {
       
   387     setting_texts_resource = r_ttls_realm_autouseconf_texts_resource;
       
   388     popped_up_texts_resource = r_ttls_realm_automatic_useconfigured_array;
       
   389     }
       
   390 
       
   391 
       
   392 RESOURCE ARRAY r_ttls_realm_autouseconf_texts_resource
       
   393     {
       
   394     items=
       
   395         {
       
   396         AVKON_ENUMERATED_TEXT 
       
   397             { 
       
   398             value = 0; 
       
   399             text = qtn_wlan_eap_sett_realm_inuse_from_cert; 
       
   400             },
       
   401 
       
   402         AVKON_ENUMERATED_TEXT 
       
   403             { 
       
   404             value = 1; 
       
   405             text = qtn_wlan_eap_sett_realm_inuse_user; 
       
   406             }
       
   407         };
       
   408     }
       
   409 
       
   410 
       
   411 RESOURCE ARRAY r_ttls_realm_automatic_useconfigured_array
       
   412     {
       
   413     items=
       
   414         {
       
   415         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_from_cert; },
       
   416         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_user; }
       
   417         };
       
   418     }
       
   419 
       
   420 
       
   421 RESOURCE ARRAY r_ttls_tls_privacy_autouseconf_texts_resource
       
   422     {
       
   423     items=
       
   424         {
       
   425         AVKON_ENUMERATED_TEXT 
       
   426             { 
       
   427             value = 0; 
       
   428             text = qtn_wlan_eap_sett_tls_privacy_off; 
       
   429             },
       
   430 
       
   431         AVKON_ENUMERATED_TEXT 
       
   432             { 
       
   433             value = 1; 
       
   434             text = qtn_wlan_eap_sett_tls_privacy_on; 
       
   435             }
       
   436         };
       
   437     }
       
   438 
       
   439 
       
   440 RESOURCE AVKON_POPUP_SETTING_TEXTS r_ttls_tls_privacy_autouseconf_texts
       
   441     {
       
   442     setting_texts_resource = r_ttls_tls_privacy_autouseconf_texts_resource;
       
   443     popped_up_texts_resource = r_ttls_tls_privacy_automatic_useconfigured_array;
       
   444     }
       
   445 
       
   446 
       
   447 RESOURCE ARRAY r_ttls_tls_privacy_automatic_useconfigured_array
       
   448     {
       
   449     items =
       
   450         {
       
   451         LBUF { txt = qtn_wlan_eap_sett_tls_privacy_off; },
       
   452         LBUF { txt = qtn_wlan_eap_sett_tls_privacy_on; }
       
   453         };
       
   454     }
       
   455 
       
   456 
       
   457 RESOURCE AVKON_SETTING_PAGE r_ttls_display_autouseconf_page
       
   458     {
       
   459     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   460     label = qtn_wlan_eap_sett_realm_inuse;
       
   461     type = EAknCtPopupSettingList;
       
   462     editor_resource_id = r_ttls_setting_enumerated_popup;
       
   463     }
       
   464 
       
   465 
       
   466 RESOURCE POPUP_SETTING_LIST r_ttls_setting_enumerated_popup
       
   467     {
       
   468     flags = EAknPopupSettingListFlagInitialised;
       
   469     }
       
   470 
       
   471 // End of File