wlansecuritysettings/wlaneapsettingsui/EapTls/ConfigUi/data/EapTlsUi.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 TLS UI resource file
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 CHARACTER_SET   UTF8
       
    21 
       
    22 //  RESOURCE IDENTIFIER
       
    23 NAME ETLS
       
    24 
       
    25 //  INCLUDES
       
    26 #include <eikon.rh>
       
    27 #include "EapTlsUi.hrh"   // Enums for these resources
       
    28 #include <eaptlsui.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_tls_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 = ETlsUiCmdChange; txt = qtn_msk_change; }
       
    56         };
       
    57     }
       
    58     
       
    59     
       
    60 RESOURCE CBA r_tls_ui_softkeys_options_back_enable
       
    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 = ETlsUiCmdEnable; txt = qtn_msk_wlan_eap_cs_enable; }
       
    67         };
       
    68     }
       
    69 
       
    70 
       
    71 RESOURCE CBA r_tls_ui_softkeys_options_back_disable
       
    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 = ETlsUiCmdDisable; txt = qtn_msk_wlan_eap_cs_disable; }
       
    78         };
       
    79     }
       
    80 
       
    81 
       
    82 RESOURCE DIALOG r_tls_setting_dialog
       
    83     {
       
    84     flags = EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | 
       
    85             EEikDialogFlagWait | EEikDialogFlagNotifyEsc;
       
    86     buttons = r_tls_ui_softkeys_options_back_edit;
       
    87     pages = r_tls_pages;
       
    88     }
       
    89 
       
    90 
       
    91 // ******* PAGES ************
       
    92 RESOURCE ARRAY r_tls_pages
       
    93     {
       
    94     items=
       
    95         {
       
    96         PAGE 
       
    97             {
       
    98             id = KEAPTLSSETTINGSPAGE;
       
    99             text = qtn_wlan_eap_tab_settings; 
       
   100             lines = r_tls_tab_settings; 
       
   101             },
       
   102 
       
   103         PAGE 
       
   104             {
       
   105             id = KEAPTLSCIPHERPAGE;
       
   106             text = qtn_wlan_eap_tab_cipher_suites; 
       
   107             lines = r_tls_tab_cipher_suites; 
       
   108             }
       
   109         };
       
   110     }
       
   111 
       
   112 
       
   113 // ******* 1st page *********
       
   114 RESOURCE ARRAY r_tls_tab_settings
       
   115     {
       
   116     items=
       
   117         {
       
   118         DLG_LINE
       
   119             {
       
   120             id = ETlsSettingsListbox;
       
   121             type = EAknCtSettingListBox;
       
   122             control = LISTBOX 
       
   123                 {
       
   124                 flags = EAknListBoxMenuList;
       
   125                 };
       
   126             }
       
   127         };
       
   128     }
       
   129 
       
   130 
       
   131 // ******* 2nd page *********
       
   132 RESOURCE ARRAY r_tls_tab_cipher_suites
       
   133     {
       
   134     items=
       
   135          {
       
   136          DLG_LINE
       
   137             {
       
   138             id = ETlsSettingsCipherSuiteListbox;
       
   139             type = EAknCtSingleNumberListBox;
       
   140             control = LISTBOX 
       
   141                 {
       
   142                 flags = EAknGenericListBoxFlags;
       
   143                 //array_id = r_tls_cipher_suite_array;
       
   144                 };
       
   145             }
       
   146          };
       
   147     }
       
   148 
       
   149 
       
   150 RESOURCE AVKON_SETTING_PAGE r_tls_username_page
       
   151     {
       
   152     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   153     label = qtn_wlan_eap_sett_username;
       
   154     type = EEikCtEdwin;
       
   155     editor_resource_id = r_tls_setting_edwin;
       
   156     }
       
   157 
       
   158 
       
   159 RESOURCE AVKON_SETTING_PAGE r_tls_realm_page
       
   160     {
       
   161     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   162     label = qtn_wlan_eap_sett_realm;
       
   163     type = EEikCtEdwin;
       
   164     editor_resource_id = r_tls_setting_edwin;
       
   165     }
       
   166 
       
   167 
       
   168 RESOURCE EDWIN r_tls_setting_edwin 
       
   169     {
       
   170     flags = 0;
       
   171     width = 9;
       
   172     lines = 5;
       
   173     maxlength = 255;
       
   174     }
       
   175 
       
   176 
       
   177 RESOURCE MENU_BAR r_tls_menubar
       
   178     {
       
   179     titles =
       
   180         {
       
   181         MENU_TITLE 
       
   182             { 
       
   183             menu_pane = r_tls_menu_pane;
       
   184             txt = "";
       
   185             }
       
   186         };
       
   187     }
       
   188 
       
   189 
       
   190 RESOURCE MENU_PANE r_tls_menu_pane
       
   191     {
       
   192     items =
       
   193         {
       
   194         MENU_ITEM 
       
   195             { 
       
   196             command = ETlsUiCmdEnable;  
       
   197             txt = qtn_wlan_options_eap_plugin_enable;
       
   198             flags = EEikMenuItemAction;
       
   199             },
       
   200 
       
   201         MENU_ITEM 
       
   202             { 
       
   203             command = ETlsUiCmdDisable;
       
   204             txt = qtn_wlan_options_eap_plugin_disable;
       
   205             flags = EEikMenuItemSpecific;
       
   206             },
       
   207 
       
   208         MENU_ITEM 
       
   209             { 
       
   210             command = ETlsUiCmdChange;
       
   211             txt = qtn_options_change;
       
   212             flags = EEikMenuItemAction;
       
   213             },
       
   214 
       
   215         MENU_ITEM 
       
   216             { 
       
   217             command = EAknCmdHelp; 
       
   218             txt = qtn_options_help; 
       
   219             },
       
   220 
       
   221         MENU_ITEM 
       
   222             { 
       
   223             command = EAknCmdExit;
       
   224             txt = qtn_options_exit; 
       
   225             }
       
   226         };
       
   227     }
       
   228 
       
   229 
       
   230 // Resource strings
       
   231 RESOURCE TBUF r_tls_settings_title          { buf = qtn_wlan_eap_tls_title; }
       
   232 RESOURCE TBUF r_tls_username_inusestring      \
       
   233                                   { buf = qtn_wlan_eap_sett_username_inuse; }
       
   234 RESOURCE TBUF r_tls_username_inusestring_auto \
       
   235                         { buf = qtn_wlan_eap_sett_username_inuse_from_cert; }
       
   236 RESOURCE TBUF r_tls_username_inusestring_conf \
       
   237                              { buf = qtn_wlan_eap_sett_username_inuse_user; }
       
   238 RESOURCE TBUF r_tls_username_string     { buf = qtn_wlan_eap_sett_username; }
       
   239 RESOURCE TBUF r_tls_realm_inusestring         \
       
   240                                      { buf = qtn_wlan_eap_sett_realm_inuse; }
       
   241 RESOURCE TBUF r_tls_realm_inusestring_auto    \
       
   242                            { buf = qtn_wlan_eap_sett_realm_inuse_from_cert; }
       
   243 RESOURCE TBUF r_tls_realm_inusestring_conf    \
       
   244                                 { buf = qtn_wlan_eap_sett_realm_inuse_user; }
       
   245 RESOURCE TBUF r_tls_realm_string           { buf = qtn_wlan_eap_sett_realm; }
       
   246 RESOURCE TBUF r_tls_user_cert_setting         \
       
   247                                 { buf = qtn_wlan_eap_sett_user_certificate; }
       
   248 RESOURCE TBUF r_tls_ca_cert_setting           \
       
   249                                   { buf = qtn_wlan_eap_sett_ca_certificate; }
       
   250 RESOURCE TBUF r_tls_not_defined      { buf = qtn_wlan_eap_cert_not_defined; }
       
   251 RESOURCE TBUF r_tls_none_selection            \
       
   252                                   { buf = qtn_wlan_eap_cert_none_selection; }
       
   253 RESOURCE TBUF r_tls_suite_rsarc4md5  { buf = qtn_wlan_eap_cipher_rsarc4md5; }
       
   254 RESOURCE TBUF r_tls_suite_rsarc4sha  { buf = qtn_wlan_eap_cipher_rsarc4sha; }
       
   255 RESOURCE TBUF r_tls_suite_rsa3dessha          \
       
   256                                     { buf = qtn_wlan_eap_cipher_rsa3dessha; }
       
   257 RESOURCE TBUF r_tls_suite_dhersa3dessha       \
       
   258                                  { buf = qtn_wlan_eap_cipher_dhersa3dessha; }
       
   259 RESOURCE TBUF r_tls_suite_dhedss3dessha       \
       
   260                                  { buf = qtn_wlan_eap_cipher_dhedss3dessha; }
       
   261 RESOURCE TBUF r_tls_suite_rsaaessha  { buf = qtn_wlan_eap_cipher_rsaaessha; }
       
   262 RESOURCE TBUF r_tls_suite_dhersaaessha        \
       
   263                                   { buf = qtn_wlan_eap_cipher_dhersaaessha; }
       
   264 RESOURCE TBUF r_tls_suite_dhedssaessha        \
       
   265                                   { buf = qtn_wlan_eap_cipher_dhedssaessha; }
       
   266 
       
   267 RESOURCE TBUF r_tls_tls_privacy_string
       
   268                                   { buf = qtn_wlan_eap_sett_tls_privacy; }
       
   269 
       
   270 
       
   271 // ********************************************
       
   272 // USERNAME IN USE AND REALM POPUP DEFINITION
       
   273 // ********************************************
       
   274 RESOURCE AVKON_POPUP_SETTING_TEXTS r_tls_username_autouseconf_texts
       
   275     {
       
   276     setting_texts_resource = r_tls_username_autouseconf_texts_resource;
       
   277     popped_up_texts_resource = r_tls_username_automatic_useconfigured_array;
       
   278     }
       
   279 
       
   280 
       
   281 RESOURCE ARRAY r_tls_username_autouseconf_texts_resource
       
   282     {
       
   283     items =
       
   284         {
       
   285         AVKON_ENUMERATED_TEXT 
       
   286             { 
       
   287             value = 0; 
       
   288             text = qtn_wlan_eap_sett_username_inuse_from_cert; 
       
   289             },
       
   290 
       
   291         AVKON_ENUMERATED_TEXT 
       
   292             { 
       
   293             value = 1; 
       
   294             text = qtn_wlan_eap_sett_username_inuse_user; 
       
   295             }
       
   296         };
       
   297     }
       
   298 
       
   299 
       
   300 RESOURCE ARRAY r_tls_username_automatic_useconfigured_array
       
   301     {
       
   302     items =
       
   303         {
       
   304         LBUF { txt = qtn_wlan_eap_sett_username_inuse_from_cert; },
       
   305         LBUF { txt = qtn_wlan_eap_sett_username_inuse_user; }
       
   306         };
       
   307     }
       
   308 
       
   309 
       
   310 RESOURCE AVKON_POPUP_SETTING_TEXTS r_tls_realm_autouseconf_texts
       
   311     {
       
   312     setting_texts_resource = r_tls_realm_autouseconf_texts_resource;
       
   313     popped_up_texts_resource = r_tls_realm_automatic_useconfigured_array;
       
   314     }
       
   315 
       
   316 
       
   317 RESOURCE ARRAY r_tls_realm_autouseconf_texts_resource
       
   318     {
       
   319     items=
       
   320         {
       
   321         AVKON_ENUMERATED_TEXT 
       
   322             { 
       
   323             value = 0; 
       
   324             text = qtn_wlan_eap_sett_realm_inuse_from_cert; 
       
   325             },
       
   326 
       
   327         AVKON_ENUMERATED_TEXT 
       
   328             { 
       
   329             value = 1; 
       
   330             text = qtn_wlan_eap_sett_realm_inuse_user; 
       
   331             }
       
   332         };
       
   333     }
       
   334 
       
   335 
       
   336 RESOURCE ARRAY r_tls_realm_automatic_useconfigured_array
       
   337     {
       
   338     items=
       
   339         {
       
   340         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_from_cert; },
       
   341         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_user; }
       
   342         };
       
   343     }
       
   344 
       
   345 RESOURCE ARRAY r_tls_tls_privacy_autouseconf_texts_resource
       
   346     {
       
   347     items=
       
   348         {
       
   349         AVKON_ENUMERATED_TEXT 
       
   350             { 
       
   351             value = 0; 
       
   352             text = qtn_wlan_eap_sett_tls_privacy_off; 
       
   353             },
       
   354 
       
   355         AVKON_ENUMERATED_TEXT 
       
   356             { 
       
   357             value = 1; 
       
   358             text = qtn_wlan_eap_sett_tls_privacy_on; 
       
   359             }
       
   360         };
       
   361     }
       
   362 
       
   363 
       
   364 RESOURCE AVKON_POPUP_SETTING_TEXTS r_tls_tls_privacy_autouseconf_texts
       
   365     {
       
   366     setting_texts_resource = r_tls_tls_privacy_autouseconf_texts_resource;
       
   367     popped_up_texts_resource = r_tls_tls_privacy_automatic_useconfigured_array;
       
   368     }
       
   369 
       
   370 
       
   371 RESOURCE ARRAY r_tls_tls_privacy_automatic_useconfigured_array
       
   372     {
       
   373     items =
       
   374         {
       
   375         LBUF { txt = qtn_wlan_eap_sett_tls_privacy_off; },
       
   376         LBUF { txt = qtn_wlan_eap_sett_tls_privacy_on; }
       
   377         };
       
   378     }
       
   379 
       
   380 RESOURCE AVKON_SETTING_PAGE r_tls_display_autouseconf_page
       
   381     {
       
   382     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   383     type = EAknCtPopupSettingList;
       
   384     editor_resource_id = r_tls_setting_enumerated_popup;
       
   385     }
       
   386 
       
   387 
       
   388 RESOURCE POPUP_SETTING_LIST r_tls_setting_enumerated_popup
       
   389     {
       
   390     flags = EAknPopupSettingListFlagInitialised;
       
   391     }
       
   392 
       
   393 
       
   394 // ********************************************
       
   395 // USER&CA CERTIFICATES  POPUP DEFINITION
       
   396 // ********************************************
       
   397 RESOURCE AVKON_SETTING_PAGE r_radio_button_setting_page
       
   398     {
       
   399     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   400     type =  EAknSetListBox;
       
   401     editor_resource_id= r_setting_listbox;
       
   402     }
       
   403 
       
   404 
       
   405 RESOURCE LISTBOX r_setting_listbox 
       
   406     {
       
   407     flags = EEikListBoxMultipleSelection;
       
   408     }
       
   409 
       
   410 
       
   411 // End of File