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