summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-15 10:54:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-18 13:23:59 +0000
commitdf35f61010953462ffdbc742d23811a7ade0befb (patch)
treeef77bc99fc2ce1f53b0618ef2e865181528e0dc2 /cui/source/options
parent3b71964eabc9d402d2449566bbd4817e149580b4 (diff)
move Stored Web Connection Information dialog to cui
Change-Id: Ifddd7348754054e505b0b9abe1d760e903e00f2a
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/webconninfo.cxx153
-rw-r--r--cui/source/options/webconninfo.hrc52
-rw-r--r--cui/source/options/webconninfo.hxx22
-rw-r--r--cui/source/options/webconninfo.src95
4 files changed, 76 insertions, 246 deletions
diff --git a/cui/source/options/webconninfo.cxx b/cui/source/options/webconninfo.cxx
index 212e9901e269..904679266fd1 100644
--- a/cui/source/options/webconninfo.cxx
+++ b/cui/source/options/webconninfo.cxx
@@ -18,7 +18,6 @@
*/
#include "webconninfo.hxx"
-#include "webconninfo.hrc"
#include <dialmgr.hxx>
#include <cuires.hrc>
#include <sal/macros.h>
@@ -44,16 +43,11 @@ PasswordTable::PasswordTable(SvxSimpleTableContainer& rParent, WinBits nBits)
{
}
-void PasswordTable::InsertHeaderItem( sal_uInt16 nColumn, const String& rText, HeaderBarItemBits nBits )
+void PasswordTable::InsertHeaderItem(sal_uInt16 nColumn, const OUString& rText, HeaderBarItemBits nBits)
{
GetTheHeaderBar().InsertItem( nColumn, rText, 0, nBits );
}
-void PasswordTable::ResetTabs()
-{
- SetTabs();
-}
-
void PasswordTable::Resort( bool bForced )
{
sal_uInt16 nColumn = GetSelectedCol();
@@ -81,91 +75,78 @@ void PasswordTable::Resort( bool bForced )
}
}
+void PasswordTable::Resize()
+{
+ SvxSimpleTable::Resize();
+ setColWidths();
+}
+
+void PasswordTable::setColWidths()
+{
+ HeaderBar &rBar = GetTheHeaderBar();
+ if (rBar.GetItemCount() < 2)
+ return;
+ long nUserNameWidth = 12 +
+ std::max(rBar.GetTextWidth(rBar.GetItemText(2)),
+ GetTextWidth(OUString("XXXXXXXXXXXX")));
+ long nWebSiteWidth = std::max(
+ 12 + rBar.GetTextWidth(rBar.GetItemText(1)),
+ GetSizePixel().Width() - nUserNameWidth);
+ long aStaticTabs[]= { 2, 0, 0 };
+ aStaticTabs[2] = nWebSiteWidth;
+ SvxSimpleTable::SetTabs(aStaticTabs, MAP_PIXEL);
+}
+
// class WebConnectionInfoDialog -----------------------------------------
// -----------------------------------------------------------------------
-WebConnectionInfoDialog::WebConnectionInfoDialog( Window* pParent ) :
- ModalDialog( pParent, CUI_RES( RID_SVXDLG_WEBCONNECTION_INFO ) )
- ,m_aNeverShownFI ( this, CUI_RES( FI_NEVERSHOWN ) )
- ,m_aPasswordsLBContainer(this, CUI_RES( LB_PASSWORDS))
- ,m_aPasswordsLB(m_aPasswordsLBContainer)
- ,m_aRemoveBtn ( this, CUI_RES( PB_REMOVE ) )
- ,m_aRemoveAllBtn ( this, CUI_RES( PB_REMOVEALL ) )
- ,m_aChangeBtn ( this, CUI_RES( PB_CHANGE ) )
- ,m_aButtonsFL ( this, CUI_RES( FL_BUTTONS ) )
- ,m_aCloseBtn ( this, CUI_RES( PB_CLOSE ) )
- ,m_aHelpBtn ( this, CUI_RES( PB_HELP ) )
- ,m_nPos ( -1 )
+WebConnectionInfoDialog::WebConnectionInfoDialog(Window* pParent)
+ : ModalDialog(pParent, "StoredWebConnectionDialog", "cui/ui/storedwebconnectiondialog.ui")
+ , m_nPos( -1 )
{
- static long aStaticTabs[]= { 3, 0, 150, 250 };
- m_aPasswordsLB.SetTabs( aStaticTabs );
- m_aPasswordsLB.InsertHeaderItem( 1, CUI_RESSTR( STR_WEBSITE ),
+ get(m_pRemoveBtn, "remove");
+ get(m_pRemoveAllBtn, "removeall");
+ get(m_pChangeBtn, "change");
+
+ SvxSimpleTableContainer *pPasswordsLBContainer = get<SvxSimpleTableContainer>("logins");
+ m_pPasswordsLB = new PasswordTable(*pPasswordsLBContainer, 0);
+
+ long aStaticTabs[]= { 2, 0, 0 };
+ m_pPasswordsLB->SetTabs( aStaticTabs );
+ m_pPasswordsLB->InsertHeaderItem( 1, get<FixedText>("website")->GetText(),
HIB_LEFT | HIB_VCENTER | HIB_FIXEDPOS | HIB_CLICKABLE | HIB_UPARROW );
- m_aPasswordsLB.InsertHeaderItem( 2, CUI_RESSTR( STR_USERNAME ),
+ m_pPasswordsLB->InsertHeaderItem( 2, get<FixedText>("username")->GetText(),
HIB_LEFT | HIB_VCENTER | HIB_FIXEDPOS );
- m_aPasswordsLB.ResetTabs();
-
- FreeResource();
-
- m_aPasswordsLB.SetHeaderBarClickHdl( LINK( this, WebConnectionInfoDialog, HeaderBarClickedHdl ) );
- m_aRemoveBtn.SetClickHdl( LINK( this, WebConnectionInfoDialog, RemovePasswordHdl ) );
- m_aRemoveAllBtn.SetClickHdl( LINK( this, WebConnectionInfoDialog, RemoveAllPasswordsHdl ) );
- m_aChangeBtn.SetClickHdl( LINK( this, WebConnectionInfoDialog, ChangePasswordHdl ) );
-
- // one button too small for its text?
- sal_Int32 i = 0;
- long nBtnTextWidth = 0;
- Window* pButtons[] = { &m_aRemoveBtn, &m_aRemoveAllBtn, &m_aChangeBtn };
- Window** pButton = pButtons;
- const sal_Int32 nBCount = SAL_N_ELEMENTS( pButtons );
- for ( ; i < nBCount; ++i, ++pButton )
- {
- long nTemp = (*pButton)->GetCtrlTextWidth( (*pButton)->GetText() );
- if ( nTemp > nBtnTextWidth )
- nBtnTextWidth = nTemp;
- }
- nBtnTextWidth = nBtnTextWidth * 115 / 100; // a little offset
- long nButtonWidth = m_aRemoveBtn.GetSizePixel().Width();
- if ( nBtnTextWidth > nButtonWidth )
- {
- // so make the buttons broader and its control in front of it smaller
- long nDelta = nBtnTextWidth - nButtonWidth;
- pButton = pButtons;
- for ( i = 0; i < nBCount; ++i, ++pButton )
- {
- Point aNewPos = (*pButton)->GetPosPixel();
- if ( &m_aRemoveAllBtn == (*pButton) )
- aNewPos.X() += nDelta;
- else if ( &m_aChangeBtn == (*pButton) )
- aNewPos.X() -= nDelta;
- Size aNewSize = (*pButton)->GetSizePixel();
- aNewSize.Width() += nDelta;
- (*pButton)->SetPosSizePixel( aNewPos, aNewSize );
- }
- }
+ pPasswordsLBContainer->set_height_request(m_pPasswordsLB->GetTextHeight()*8);
+
+ m_pPasswordsLB->SetHeaderBarClickHdl( LINK( this, WebConnectionInfoDialog, HeaderBarClickedHdl ) );
+ m_pRemoveBtn->SetClickHdl( LINK( this, WebConnectionInfoDialog, RemovePasswordHdl ) );
+ m_pRemoveAllBtn->SetClickHdl( LINK( this, WebConnectionInfoDialog, RemoveAllPasswordsHdl ) );
+ m_pChangeBtn->SetClickHdl( LINK( this, WebConnectionInfoDialog, ChangePasswordHdl ) );
+
FillPasswordList();
- m_aRemoveBtn.SetClickHdl( LINK( this, WebConnectionInfoDialog, RemovePasswordHdl ) );
- m_aRemoveAllBtn.SetClickHdl( LINK( this, WebConnectionInfoDialog, RemoveAllPasswordsHdl ) );
- m_aChangeBtn.SetClickHdl( LINK( this, WebConnectionInfoDialog, ChangePasswordHdl ) );
- m_aPasswordsLB.SetSelectHdl( LINK( this, WebConnectionInfoDialog, EntrySelectedHdl ) );
+ m_pRemoveBtn->SetClickHdl( LINK( this, WebConnectionInfoDialog, RemovePasswordHdl ) );
+ m_pRemoveAllBtn->SetClickHdl( LINK( this, WebConnectionInfoDialog, RemoveAllPasswordsHdl ) );
+ m_pChangeBtn->SetClickHdl( LINK( this, WebConnectionInfoDialog, ChangePasswordHdl ) );
+ m_pPasswordsLB->SetSelectHdl( LINK( this, WebConnectionInfoDialog, EntrySelectedHdl ) );
- m_aRemoveBtn.Enable( sal_False );
- m_aChangeBtn.Enable( sal_False );
+ m_pRemoveBtn->Enable( sal_False );
+ m_pChangeBtn->Enable( sal_False );
HeaderBarClickedHdl( NULL );
}
-// -----------------------------------------------------------------------
WebConnectionInfoDialog::~WebConnectionInfoDialog()
{
+ delete m_pPasswordsLB;
}
// -----------------------------------------------------------------------
IMPL_LINK( WebConnectionInfoDialog, HeaderBarClickedHdl, SvxSimpleTable*, pTable )
{
- m_aPasswordsLB.Resort( NULL == pTable );
+ m_pPasswordsLB->Resort( NULL == pTable );
return 0;
}
@@ -192,7 +173,7 @@ void WebConnectionInfoDialog::FillPasswordList()
::rtl::OUString aUIEntry( aURLEntries[nURLInd].Url );
aUIEntry += ::rtl::OUString::valueOf( (sal_Unicode)'\t' );
aUIEntry += aURLEntries[nURLInd].UserList[nUserInd].UserName;
- SvTreeListEntry* pEntry = m_aPasswordsLB.InsertEntry( aUIEntry );
+ SvTreeListEntry* pEntry = m_pPasswordsLB->InsertEntry( aUIEntry );
pEntry->SetUserData( (void*)(sal_IntPtr)(nCount++) );
}
}
@@ -208,7 +189,7 @@ void WebConnectionInfoDialog::FillPasswordList()
::rtl::OUString aUIEntry( aUrls[ nURLIdx ] );
aUIEntry += ::rtl::OUString::valueOf( (sal_Unicode)'\t' );
aUIEntry += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "*" ) );
- SvTreeListEntry* pEntry = m_aPasswordsLB.InsertEntry( aUIEntry );
+ SvTreeListEntry* pEntry = m_pPasswordsLB->InsertEntry( aUIEntry );
pEntry->SetUserData( (void*)(sal_IntPtr)(nCount++) );
}
}
@@ -222,11 +203,11 @@ IMPL_LINK_NOARG(WebConnectionInfoDialog, RemovePasswordHdl)
{
try
{
- SvTreeListEntry* pEntry = m_aPasswordsLB.GetCurEntry();
+ SvTreeListEntry* pEntry = m_pPasswordsLB->GetCurEntry();
if ( pEntry )
{
- ::rtl::OUString aURL = m_aPasswordsLB.GetEntryText( pEntry, 0 );
- ::rtl::OUString aUserName = m_aPasswordsLB.GetEntryText( pEntry, 1 );
+ ::rtl::OUString aURL = m_pPasswordsLB->GetEntryText( pEntry, 0 );
+ ::rtl::OUString aUserName = m_pPasswordsLB->GetEntryText( pEntry, 1 );
uno::Reference< task::XPasswordContainer2 > xPasswdContainer(
task::PasswordContainer::create(comphelper::getProcessComponentContext()));
@@ -240,7 +221,7 @@ IMPL_LINK_NOARG(WebConnectionInfoDialog, RemovePasswordHdl)
{
xPasswdContainer->removeUrl( aURL );
}
- m_aPasswordsLB.RemoveEntry( pEntry );
+ m_pPasswordsLB->RemoveEntry( pEntry );
}
}
catch( uno::Exception& )
@@ -265,7 +246,7 @@ IMPL_LINK_NOARG(WebConnectionInfoDialog, RemoveAllPasswordsHdl)
for ( sal_Int32 nURLIdx = 0; nURLIdx < aUrls.getLength(); nURLIdx++ )
xPasswdContainer->removeUrl( aUrls[ nURLIdx ] );
- m_aPasswordsLB.Clear();
+ m_pPasswordsLB->Clear();
}
catch( uno::Exception& )
{}
@@ -278,11 +259,11 @@ IMPL_LINK_NOARG(WebConnectionInfoDialog, ChangePasswordHdl)
{
try
{
- SvTreeListEntry* pEntry = m_aPasswordsLB.GetCurEntry();
+ SvTreeListEntry* pEntry = m_pPasswordsLB->GetCurEntry();
if ( pEntry )
{
- ::rtl::OUString aURL = m_aPasswordsLB.GetEntryText( pEntry, 0 );
- ::rtl::OUString aUserName = m_aPasswordsLB.GetEntryText( pEntry, 1 );
+ ::rtl::OUString aURL = m_pPasswordsLB->GetEntryText( pEntry, 0 );
+ ::rtl::OUString aUserName = m_pPasswordsLB->GetEntryText( pEntry, 1 );
::comphelper::SimplePasswordRequest* pPasswordRequest
= new ::comphelper::SimplePasswordRequest( task::PasswordRequestMode_PASSWORD_CREATE );
@@ -315,20 +296,20 @@ IMPL_LINK_NOARG(WebConnectionInfoDialog, ChangePasswordHdl)
// -----------------------------------------------------------------------
IMPL_LINK_NOARG(WebConnectionInfoDialog, EntrySelectedHdl)
{
- SvTreeListEntry* pEntry = m_aPasswordsLB.GetCurEntry();
+ SvTreeListEntry* pEntry = m_pPasswordsLB->GetCurEntry();
if ( !pEntry )
{
- m_aRemoveBtn.Enable( sal_False );
- m_aChangeBtn.Enable( sal_False );
+ m_pRemoveBtn->Enable( sal_False );
+ m_pChangeBtn->Enable( sal_False );
}
else
{
- m_aRemoveBtn.Enable( sal_True );
+ m_pRemoveBtn->Enable( sal_True );
// url container entries (-> use system credentials) have
// no password
sal_Int32 nPos = (sal_Int32)(sal_IntPtr)pEntry->GetUserData();
- m_aChangeBtn.Enable( nPos < m_nPos );
+ m_pChangeBtn->Enable( nPos < m_nPos );
}
return 0;
diff --git a/cui/source/options/webconninfo.hrc b/cui/source/options/webconninfo.hrc
deleted file mode 100644
index 663d004de6a8..000000000000
--- a/cui/source/options/webconninfo.hrc
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef _SVX_WEBCONNINFO_HRC
-#define _SVX_WEBCONNINFO_HRC
-
-#define FI_NEVERSHOWN 10
-#define LB_PASSWORDS 11
-#define PB_REMOVE 12
-#define PB_REMOVEALL 13
-#define PB_CHANGE 14
-#define FL_BUTTONS 15
-#define PB_CLOSE 17
-#define PB_HELP 18
-
-#define STR_WEBSITE 10
-#define STR_USERNAME 11
-
-#define DLG_WIDTH 260
-#define DLG_HEIGHT 150
-
-#define COL_0 (RSC_SP_DLG_INNERBORDER_LEFT)
-#define COL_1 (COL_0+RSC_CD_PUSHBUTTON_WIDTH+RSC_SP_CTRL_GROUP_X)
-#define COL_2 (DLG_WIDTH-RSC_SP_DLG_INNERBORDER_LEFT)
-#define COL_C (COL_2-RSC_CD_PUSHBUTTON_WIDTH)
-#define COL_B (COL_C-RSC_SP_CTRL_X-RSC_CD_PUSHBUTTON_WIDTH)
-#define COL_A (COL_B-RSC_SP_CTRL_GROUP_X-RSC_CD_PUSHBUTTON_WIDTH)
-
-#define ROW_0 (RSC_SP_DLG_INNERBORDER_TOP)
-#define ROW_1 (ROW_0+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_FLGR_SPACE_Y)
-#define ROW_5 (DLG_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM-RSC_CD_PUSHBUTTON_HEIGHT)
-#define ROW_4 (ROW_5-RSC_SP_FLGR_SPACE_Y-RSC_CD_FIXEDLINE_HEIGHT)
-#define ROW_3 (ROW_4-RSC_SP_FLGR_SPACE_Y-RSC_CD_PUSHBUTTON_HEIGHT)
-#define ROW_2 (ROW_3-RSC_SP_GRP_SPACE_Y)
-
-#endif // #ifndef _SVX_WEBCONNINFO_HRC
-
diff --git a/cui/source/options/webconninfo.hxx b/cui/source/options/webconninfo.hxx
index c07bdb298dc5..03a15e13d8ac 100644
--- a/cui/source/options/webconninfo.hxx
+++ b/cui/source/options/webconninfo.hxx
@@ -33,11 +33,12 @@ namespace svx
class PasswordTable : public SvxSimpleTable
{
public:
- PasswordTable(SvxSimpleTableContainer& rParent, WinBits nBits = WB_BORDER);
+ PasswordTable(SvxSimpleTableContainer& rParent, WinBits nBits);
- void InsertHeaderItem( sal_uInt16 nColumn, const String& rText, HeaderBarItemBits nBits );
- void ResetTabs();
+ void InsertHeaderItem(sal_uInt16 nColumn, const OUString& rText, HeaderBarItemBits nBits);
+ void setColWidths();
void Resort( bool bForced );
+ virtual void Resize();
};
//====================================================================
@@ -46,16 +47,11 @@ namespace svx
class WebConnectionInfoDialog : public ModalDialog
{
private:
- FixedInfo m_aNeverShownFI;
- SvxSimpleTableContainer m_aPasswordsLBContainer;
- PasswordTable m_aPasswordsLB;
- PushButton m_aRemoveBtn;
- PushButton m_aRemoveAllBtn;
- PushButton m_aChangeBtn;
- FixedLine m_aButtonsFL;
- CancelButton m_aCloseBtn;
- HelpButton m_aHelpBtn;
- sal_Int32 m_nPos;
+ PasswordTable* m_pPasswordsLB;
+ PushButton* m_pRemoveBtn;
+ PushButton* m_pRemoveAllBtn;
+ PushButton* m_pChangeBtn;
+ sal_Int32 m_nPos;
DECL_LINK( HeaderBarClickedHdl, SvxSimpleTable* );
DECL_LINK(RemovePasswordHdl, void *);
diff --git a/cui/source/options/webconninfo.src b/cui/source/options/webconninfo.src
deleted file mode 100644
index 962f683fce89..000000000000
--- a/cui/source/options/webconninfo.src
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <svtools/controldims.hrc>
-#include "webconninfo.hrc"
-#include <cuires.hrc>
-#include "helpid.hrc"
-
-ModalDialog RID_SVXDLG_WEBCONNECTION_INFO
-{
- HelpID = HID_DLG_WEBCONNECTION_INFO ;
- OutputSize = TRUE ;
- SVLook = TRUE ;
- Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ;
- Moveable = TRUE ;
- Closeable = TRUE ;
- Text [ en-US ] = "Stored Web Connection Information" ;
- FixedText FI_NEVERSHOWN
- {
- Pos = MAP_APPFONT( COL_0, ROW_0 );
- Size = MAP_APPFONT( COL_2-COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
- Text [ en-US ] = "Web login information (passwords are never shown)";
- };
- Control LB_PASSWORDS
- {
- Pos = MAP_APPFONT ( COL_0 , ROW_1 ) ;
- Size = MAP_APPFONT ( COL_2-COL_0 , ROW_2-ROW_1 ) ;
- Border = TRUE ;
- TabStop = TRUE ;
- };
- PushButton PB_REMOVE
- {
- HelpID = "cui:PushButton:RID_SVXDLG_WEBCONNECTION_INFO:PB_REMOVE";
- Pos = MAP_APPFONT ( COL_0 , ROW_3 ) ;
- Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
- Text [ en-US ] = "Remove";
- };
- PushButton PB_REMOVEALL
- {
- HelpID = "cui:PushButton:RID_SVXDLG_WEBCONNECTION_INFO:PB_REMOVEALL";
- Pos = MAP_APPFONT ( COL_1 , ROW_3 ) ;
- Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
- Text [ en-US ] = "Remove All";
- };
- PushButton PB_CHANGE
- {
- HelpID = "cui:PushButton:RID_SVXDLG_WEBCONNECTION_INFO:PB_CHANGE";
- Pos = MAP_APPFONT ( COL_C , ROW_3 ) ;
- Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
- Text [ en-US ] = "Change Password...";
- };
- FixedLine FL_BUTTONS
- {
- Pos = MAP_APPFONT( 0, ROW_4 );
- Size = MAP_APPFONT( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
- };
- CancelButton PB_CLOSE
- {
- Pos = MAP_APPFONT ( COL_B , ROW_5 ) ;
- Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
- TabStop = TRUE ;
- DefButton = TRUE ;
- Text [ en-US ] = "Close";
- };
- HelpButton PB_HELP
- {
- Pos = MAP_APPFONT ( COL_C , ROW_5 ) ;
- Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ;
- TabStop = TRUE ;
- };
- String STR_WEBSITE
- {
- Text [ en-US ] = "Website";
- };
- String STR_USERNAME
- {
- Text [ en-US ] = "User name";
- };
-};
-