Author: rhafer Date: Fri Jun 27 15:57:38 2008 New Revision: 48605 URL: http://svn.opensuse.org/viewcvs/yast?rev=48605&view=rev Log: Separated database widgets Modified: trunk/ldap-server/src/tree_structure.ycp trunk/ldap-server/src/widgets.ycp Modified: trunk/ldap-server/src/tree_structure.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/tree_structure.ycp?rev=48605&r1=48604&r2=48605&view=diff ============================================================================== --- trunk/ldap-server/src/tree_structure.ycp (original) +++ trunk/ldap-server/src/tree_structure.ycp Fri Jun 27 15:57:38 2008 @@ -1063,7 +1063,7 @@ map<string,any> item_map = $[ "name" : suffix, "index" : index, - "widget" : editDbWidget, + "widget" : editBdbDatabase, "new_db" : new_db, "dynamic" : true, "help_page" : "database_detail", Modified: trunk/ldap-server/src/widgets.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ldap-server/src/widgets.ycp?rev=48605&r1=48604&r2=48605&view=diff ============================================================================== --- trunk/ldap-server/src/widgets.ycp (original) +++ trunk/ldap-server/src/widgets.ycp Fri Jun 27 15:57:38 2008 @@ -292,36 +292,55 @@ `HSpacing(0.25) ); - term editDbWidget = - `VBox( - `Heading( _("Edit Database") ), - `VSpacing( 1 ), - `Frame ( _("General Settings"), - `VBox( - `TextEntry( `id( `te_basedn ), `opt( `disabled ), _("&Base DN") ), - `VSpacing( 0.5 ), - `VSquash( - `HBox( - `TextEntry( `id( `te_rootdn ), _("&Root DN") ), - `HSpacing( 0.5 ), - `VBox( - `Bottom( - `CheckBox( `id( `cb_append_basedn ), _("&Append Base DN") ) - ), - `VSpacing( 0.3 ) - ) - ) - ), - `VSpacing( 0.5 ), + term generalDbWidget = + `Frame ( _("General Settings"), + `VBox( + `TextEntry( `id( `te_basedn ), `opt( `disabled ), _("&Base DN") ), + `VSpacing( 0.5 ), + `VSquash( `HBox( - `Password( `id( `te_rootpw ), _("LDAP &Password") ), + `TextEntry( `id( `te_rootdn ), _("&Root DN") ), `HSpacing( 0.5 ), - `Password( `id( `te_valid_rootpw ), _("&Validate Password") ), - `HSpacing( 0.5 ), - `ComboBox( `id( `cb_cryptmethod ), _("&Encryption"), enc_types ) + `VBox( + `Bottom( + `CheckBox( `id( `cb_append_basedn ), _("&Append Base DN") ) + ), + `VSpacing( 0.3 ) + ) ) + ), + `VSpacing( 0.5 ), + `HBox( +// `Password( `id( `te_rootpw ), _("LDAP &Password") ), +// `HSpacing( 0.5 ), +// `Password( `id( `te_valid_rootpw ), _("&Validate Password") ), +// `HSpacing( 0.5 ), +// `Left( +// `ComboBox( `id( `cb_cryptmethod ), _("Password &Encryption"), enc_types ) +// ), + `Left( + `PushButton( `id( `pb_changepw ), _("Change Password") ) + ) + ), + `VSpacing( 0.5 ), + `Left( + `CheckBox( `id( `cb_dbreadonly ), _("Database is read-only"), false ) + ), + `Left( + `CheckBox( `id( `cb_dbmonitoring ), _("Enable Monitoring"), false ) ) - ), + ) + ); + + term editBdbDatabase = + `VBox( + `Heading( _("Edit BDB Database") ), + `VSpacing( 1 ), + generalDbWidget + ); + + term editPolicy = + `VBox( `VSpacing( 1 ), `Frame( _("Password Policy Settings"), `VBox( `VSpacing(0.25), -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org