activeldap 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +6 -0
- data/README +1 -0
- data/lib/active_ldap/get_text_support.rb +3 -1
- data/lib/active_ldap.rb +1 -1
- metadata +5 -321
- data/examples/al-admin/README +0 -182
- data/examples/al-admin/Rakefile +0 -16
- data/examples/al-admin/app/controllers/account_controller.rb +0 -60
- data/examples/al-admin/app/controllers/application_controller.rb +0 -46
- data/examples/al-admin/app/controllers/attributes_controller.rb +0 -17
- data/examples/al-admin/app/controllers/directory_controller.rb +0 -49
- data/examples/al-admin/app/controllers/object_classes_controller.rb +0 -17
- data/examples/al-admin/app/controllers/syntaxes_controller.rb +0 -17
- data/examples/al-admin/app/controllers/users_controller.rb +0 -66
- data/examples/al-admin/app/controllers/welcome_controller.rb +0 -12
- data/examples/al-admin/app/helpers/account_helper.rb +0 -2
- data/examples/al-admin/app/helpers/application_helper.rb +0 -46
- data/examples/al-admin/app/helpers/attributes_helper.rb +0 -15
- data/examples/al-admin/app/helpers/directory_helper.rb +0 -7
- data/examples/al-admin/app/helpers/object_classes_helper.rb +0 -10
- data/examples/al-admin/app/helpers/syntaxes_helper.rb +0 -10
- data/examples/al-admin/app/helpers/url_helper.rb +0 -17
- data/examples/al-admin/app/helpers/users_helper.rb +0 -17
- data/examples/al-admin/app/helpers/welcome_helper.rb +0 -2
- data/examples/al-admin/app/models/entry.rb +0 -23
- data/examples/al-admin/app/models/ldap_user.rb +0 -58
- data/examples/al-admin/app/models/user.rb +0 -91
- data/examples/al-admin/app/views/_entry/_attributes_information.html.erb +0 -29
- data/examples/al-admin/app/views/_entry/_entry.html.erb +0 -15
- data/examples/al-admin/app/views/_schema/_aliases.html.erb +0 -7
- data/examples/al-admin/app/views/_switcher/_after.html.erb +0 -2
- data/examples/al-admin/app/views/_switcher/_before.html.erb +0 -5
- data/examples/al-admin/app/views/account/login.html.erb +0 -26
- data/examples/al-admin/app/views/account/sign_up.html.erb +0 -29
- data/examples/al-admin/app/views/attributes/_attributes.html.erb +0 -19
- data/examples/al-admin/app/views/attributes/_detail.html.erb +0 -29
- data/examples/al-admin/app/views/attributes/index.html.erb +0 -3
- data/examples/al-admin/app/views/attributes/show.html.erb +0 -31
- data/examples/al-admin/app/views/directory/_tree.html.erb +0 -10
- data/examples/al-admin/app/views/directory/_tree_view_js.html.erb +0 -25
- data/examples/al-admin/app/views/directory/index.html.erb +0 -13
- data/examples/al-admin/app/views/directory/populate.html.erb +0 -2
- data/examples/al-admin/app/views/layouts/_footer.html.erb +0 -11
- data/examples/al-admin/app/views/layouts/_header_menu.html.erb +0 -10
- data/examples/al-admin/app/views/layouts/_main_menu.html.erb +0 -18
- data/examples/al-admin/app/views/layouts/application.html.erb +0 -57
- data/examples/al-admin/app/views/object_classes/_attributes.html.erb +0 -28
- data/examples/al-admin/app/views/object_classes/_object_classes.html.erb +0 -19
- data/examples/al-admin/app/views/object_classes/index.html.erb +0 -3
- data/examples/al-admin/app/views/object_classes/show.html.erb +0 -39
- data/examples/al-admin/app/views/syntaxes/_detail.html.erb +0 -14
- data/examples/al-admin/app/views/syntaxes/_syntaxes.html.erb +0 -19
- data/examples/al-admin/app/views/syntaxes/index.html.erb +0 -3
- data/examples/al-admin/app/views/syntaxes/show.html.erb +0 -22
- data/examples/al-admin/app/views/users/_attributes_update_form.html.erb +0 -42
- data/examples/al-admin/app/views/users/_form.html.erb +0 -13
- data/examples/al-admin/app/views/users/_object_classes_update_form.html.erb +0 -46
- data/examples/al-admin/app/views/users/_password_change_form.html.erb +0 -20
- data/examples/al-admin/app/views/users/edit.html.erb +0 -15
- data/examples/al-admin/app/views/users/index.html.erb +0 -10
- data/examples/al-admin/app/views/users/show.html.erb +0 -11
- data/examples/al-admin/app/views/welcome/index.html.erb +0 -13
- data/examples/al-admin/config/boot.rb +0 -110
- data/examples/al-admin/config/database.yml.example +0 -19
- data/examples/al-admin/config/environment.rb +0 -73
- data/examples/al-admin/config/environments/development.rb +0 -17
- data/examples/al-admin/config/environments/production.rb +0 -24
- data/examples/al-admin/config/environments/test.rb +0 -22
- data/examples/al-admin/config/initializers/exception_notifier.rb +0 -2
- data/examples/al-admin/config/initializers/fast_gettext.rb +0 -3
- data/examples/al-admin/config/initializers/inflections.rb +0 -10
- data/examples/al-admin/config/initializers/mime_types.rb +0 -5
- data/examples/al-admin/config/initializers/session_store.rb +0 -23
- data/examples/al-admin/config/ldap.yml.example +0 -21
- data/examples/al-admin/config/routes.rb +0 -58
- data/examples/al-admin/config/session_secret.txt +0 -1
- data/examples/al-admin/config.ru +0 -7
- data/examples/al-admin/db/migrate/001_create_users.rb +0 -16
- data/examples/al-admin/db/schema.rb +0 -23
- data/examples/al-admin/lib/authenticated_system.rb +0 -124
- data/examples/al-admin/lib/authenticated_test_helper.rb +0 -113
- data/examples/al-admin/lib/ldap_test_helper.rb +0 -38
- data/examples/al-admin/lib/tasks/testing.rake +0 -10
- data/examples/al-admin/po/en/al-admin.po +0 -343
- data/examples/al-admin/po/ja/al-admin.po +0 -343
- data/examples/al-admin/po/nl/al-admin.po +0 -380
- data/examples/al-admin/public/.htaccess +0 -40
- data/examples/al-admin/public/404.html +0 -30
- data/examples/al-admin/public/500.html +0 -30
- data/examples/al-admin/public/dispatch.cgi +0 -10
- data/examples/al-admin/public/dispatch.fcgi +0 -24
- data/examples/al-admin/public/dispatch.rb +0 -10
- data/examples/al-admin/public/favicon.ico +0 -0
- data/examples/al-admin/public/images/active-ldap.svg +0 -6351
- data/examples/al-admin/public/images/al-admin.png +0 -0
- data/examples/al-admin/public/images/al-admin.svg +0 -6371
- data/examples/al-admin/public/images/header-background.png +0 -0
- data/examples/al-admin/public/images/header-background.svg +0 -99
- data/examples/al-admin/public/images/rails.png +0 -0
- data/examples/al-admin/public/images/spinelz/accordion_tab_left_active.gif +0 -0
- data/examples/al-admin/public/images/spinelz/accordion_tab_left_inactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/accordion_tab_middle_active.gif +0 -0
- data/examples/al-admin/public/images/spinelz/accordion_tab_middle_inactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/accordion_tab_right_active.gif +0 -0
- data/examples/al-admin/public/images/spinelz/accordion_tab_right_inactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_back.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_bottom_left.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_bottom_middle.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_bottom_right.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_left_down_arrow.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_left_up_arrow.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_middle_left.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_middle_right.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_right_down_arrow.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_right_up_arrow.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_top_left.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_top_middle.gif +0 -0
- data/examples/al-admin/public/images/spinelz/balloon_top_right.gif +0 -0
- data/examples/al-admin/public/images/spinelz/barchart_h.gif +0 -0
- data/examples/al-admin/public/images/spinelz/barchart_v.gif +0 -0
- data/examples/al-admin/public/images/spinelz/button.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calendar_default_handler.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calendar_delete.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calendar_next.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calendar_next_second.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calendar_pre.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calendar_pre_second.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calendar_private_icon.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calendar_schedule.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calender_back.gif +0 -0
- data/examples/al-admin/public/images/spinelz/calender_back_second.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker2_back.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker2_back_second.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker2_next.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker2_next_second.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker2_pre.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker2_pre_second.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker_back.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker_back_second.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker_next.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker_next_second.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker_pre.gif +0 -0
- data/examples/al-admin/public/images/spinelz/datepicker_pre_second.gif +0 -0
- data/examples/al-admin/public/images/spinelz/grid_down.gif +0 -0
- data/examples/al-admin/public/images/spinelz/grid_state.gif +0 -0
- data/examples/al-admin/public/images/spinelz/grid_up.gif +0 -0
- data/examples/al-admin/public/images/spinelz/icon_day.gif +0 -0
- data/examples/al-admin/public/images/spinelz/icon_month.gif +0 -0
- data/examples/al-admin/public/images/spinelz/icon_week.gif +0 -0
- data/examples/al-admin/public/images/spinelz/menubar_back.gif +0 -0
- data/examples/al-admin/public/images/spinelz/menubar_subcontents_back.gif +0 -0
- data/examples/al-admin/public/images/spinelz/navPanel_tab_left_active.gif +0 -0
- data/examples/al-admin/public/images/spinelz/navPanel_tab_left_inactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/navPanel_tab_middle_active.gif +0 -0
- data/examples/al-admin/public/images/spinelz/navPanel_tab_middle_inactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/navPanel_tab_right_active.gif +0 -0
- data/examples/al-admin/public/images/spinelz/navPanel_tab_right_inactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/select_date.gif +0 -0
- data/examples/al-admin/public/images/spinelz/selectabletable_selected.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_about.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_menu.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_sample.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_tabBottomActive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_tabBottomInactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_tabMiddleActive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_tabMiddleActive2.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_tabMiddleInactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_tabMiddleInactive2.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_tabTopActive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_tabTopInactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sideBarBox_tabbar.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sortableTable_down.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sortableTable_normal.gif +0 -0
- data/examples/al-admin/public/images/spinelz/sortableTable_up.gif +0 -0
- data/examples/al-admin/public/images/spinelz/switcher_close.gif +0 -0
- data/examples/al-admin/public/images/spinelz/switcher_open.gif +0 -0
- data/examples/al-admin/public/images/spinelz/tabBox_close.gif +0 -0
- data/examples/al-admin/public/images/spinelz/tabBox_tabLeftActive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/tabBox_tabLeftInactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/tabBox_tabMiddleActive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/tabBox_tabMiddleInactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/tabBox_tabRightActive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/tabBox_tabRightInactive.gif +0 -0
- data/examples/al-admin/public/images/spinelz/tab_bar.gif +0 -0
- data/examples/al-admin/public/images/spinelz/table_back.gif +0 -0
- data/examples/al-admin/public/images/spinelz/timepicker_clock.gif +0 -0
- data/examples/al-admin/public/images/spinelz/toolbar_close.gif +0 -0
- data/examples/al-admin/public/images/spinelz/toolbar_left.gif +0 -0
- data/examples/al-admin/public/images/spinelz/toolbar_max.gif +0 -0
- data/examples/al-admin/public/images/spinelz/toolbar_middle.gif +0 -0
- data/examples/al-admin/public/images/spinelz/toolbar_min.gif +0 -0
- data/examples/al-admin/public/images/spinelz/toolbar_next.gif +0 -0
- data/examples/al-admin/public/images/spinelz/toolbar_right.gif +0 -0
- data/examples/al-admin/public/images/spinelz/treeview_dir.gif +0 -0
- data/examples/al-admin/public/images/spinelz/treeview_file.gif +0 -0
- data/examples/al-admin/public/images/spinelz/treeview_group.gif +0 -0
- data/examples/al-admin/public/images/spinelz/treeview_group_special.gif +0 -0
- data/examples/al-admin/public/images/spinelz/treeview_state.gif +0 -0
- data/examples/al-admin/public/images/spinelz/treeview_user.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_bottom_left.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_bottom_middle.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_bottom_right.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_close.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_max.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_middle_left.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_middle_right.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_min.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_top_left.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_top_middle.gif +0 -0
- data/examples/al-admin/public/images/spinelz/window_top_right.gif +0 -0
- data/examples/al-admin/public/javascripts/application.js +0 -2
- data/examples/al-admin/public/javascripts/controls.js +0 -963
- data/examples/al-admin/public/javascripts/dragdrop.js +0 -973
- data/examples/al-admin/public/javascripts/effects.js +0 -1128
- data/examples/al-admin/public/javascripts/prototype.js +0 -4320
- data/examples/al-admin/public/javascripts/spinelz/accordion.js +0 -185
- data/examples/al-admin/public/javascripts/spinelz/ajaxHistory.js +0 -157
- data/examples/al-admin/public/javascripts/spinelz/balloon.js +0 -287
- data/examples/al-admin/public/javascripts/spinelz/barchart.js +0 -524
- data/examples/al-admin/public/javascripts/spinelz/calendar.js +0 -3012
- data/examples/al-admin/public/javascripts/spinelz/colorpicker.js +0 -128
- data/examples/al-admin/public/javascripts/spinelz/datepicker.js +0 -438
- data/examples/al-admin/public/javascripts/spinelz/grid.js +0 -1391
- data/examples/al-admin/public/javascripts/spinelz/grid_resizeEx.js +0 -100
- data/examples/al-admin/public/javascripts/spinelz/grid_sortabletableEx.js +0 -129
- data/examples/al-admin/public/javascripts/spinelz/inplaceEditorEx.js +0 -148
- data/examples/al-admin/public/javascripts/spinelz/menubar.js +0 -232
- data/examples/al-admin/public/javascripts/spinelz/navPanel.js +0 -170
- data/examples/al-admin/public/javascripts/spinelz/selectableTable.js +0 -433
- data/examples/al-admin/public/javascripts/spinelz/sideBarBox.js +0 -282
- data/examples/al-admin/public/javascripts/spinelz/sideBarBox_effects.js +0 -83
- data/examples/al-admin/public/javascripts/spinelz/sortableTable.js +0 -270
- data/examples/al-admin/public/javascripts/spinelz/switcher.js +0 -78
- data/examples/al-admin/public/javascripts/spinelz/tabBox.js +0 -469
- data/examples/al-admin/public/javascripts/spinelz/timepicker.js +0 -384
- data/examples/al-admin/public/javascripts/spinelz/toolbar.js +0 -152
- data/examples/al-admin/public/javascripts/spinelz/treeview.js +0 -703
- data/examples/al-admin/public/javascripts/spinelz/window.js +0 -641
- data/examples/al-admin/public/javascripts/spinelz/window_resizeEx.js +0 -130
- data/examples/al-admin/public/javascripts/spinelz_lib/builder.js +0 -131
- data/examples/al-admin/public/javascripts/spinelz_lib/controls.js +0 -835
- data/examples/al-admin/public/javascripts/spinelz_lib/dragdrop.js +0 -944
- data/examples/al-admin/public/javascripts/spinelz_lib/effects.js +0 -1090
- data/examples/al-admin/public/javascripts/spinelz_lib/json.js +0 -139
- data/examples/al-admin/public/javascripts/spinelz_lib/prototype.js +0 -2515
- data/examples/al-admin/public/javascripts/spinelz_lib/resize.js +0 -215
- data/examples/al-admin/public/javascripts/spinelz_lib/scriptaculous.js +0 -51
- data/examples/al-admin/public/javascripts/spinelz_lib/slider.js +0 -278
- data/examples/al-admin/public/javascripts/spinelz_lib/spinelz_util.js +0 -1266
- data/examples/al-admin/public/javascripts/spinelz_lib/unittest.js +0 -564
- data/examples/al-admin/public/robots.txt +0 -1
- data/examples/al-admin/public/stylesheets/account.css +0 -41
- data/examples/al-admin/public/stylesheets/attributes.css +0 -1
- data/examples/al-admin/public/stylesheets/base.css +0 -104
- data/examples/al-admin/public/stylesheets/detail.css +0 -36
- data/examples/al-admin/public/stylesheets/directory.css +0 -22
- data/examples/al-admin/public/stylesheets/object-classes.css +0 -6
- data/examples/al-admin/public/stylesheets/rails.css +0 -35
- data/examples/al-admin/public/stylesheets/spinelz/accordion.css +0 -59
- data/examples/al-admin/public/stylesheets/spinelz/balloon.css +0 -151
- data/examples/al-admin/public/stylesheets/spinelz/calendar.css +0 -564
- data/examples/al-admin/public/stylesheets/spinelz/datepicker.css +0 -175
- data/examples/al-admin/public/stylesheets/spinelz/grid.css +0 -137
- data/examples/al-admin/public/stylesheets/spinelz/menubar.css +0 -78
- data/examples/al-admin/public/stylesheets/spinelz/modal.css +0 -22
- data/examples/al-admin/public/stylesheets/spinelz/navPanel.css +0 -58
- data/examples/al-admin/public/stylesheets/spinelz/selectableTable.css +0 -28
- data/examples/al-admin/public/stylesheets/spinelz/sideBarBox.css +0 -82
- data/examples/al-admin/public/stylesheets/spinelz/sortableTable.css +0 -51
- data/examples/al-admin/public/stylesheets/spinelz/switcher.css +0 -23
- data/examples/al-admin/public/stylesheets/spinelz/tabBox.css +0 -94
- data/examples/al-admin/public/stylesheets/spinelz/timepicker.css +0 -508
- data/examples/al-admin/public/stylesheets/spinelz/toolbar.css +0 -82
- data/examples/al-admin/public/stylesheets/spinelz/treeview.css +0 -121
- data/examples/al-admin/public/stylesheets/spinelz/window.css +0 -140
- data/examples/al-admin/public/stylesheets/structure.css +0 -81
- data/examples/al-admin/public/stylesheets/syntaxes.css +0 -1
- data/examples/al-admin/public/stylesheets/users.css +0 -13
- data/examples/al-admin/public/stylesheets/welcome.css +0 -0
- data/examples/al-admin/script/about +0 -3
- data/examples/al-admin/script/console +0 -3
- data/examples/al-admin/script/dbconsole +0 -3
- data/examples/al-admin/script/destroy +0 -3
- data/examples/al-admin/script/generate +0 -3
- data/examples/al-admin/script/performance/benchmarker +0 -3
- data/examples/al-admin/script/performance/profiler +0 -3
- data/examples/al-admin/script/performance/request +0 -3
- data/examples/al-admin/script/plugin +0 -3
- data/examples/al-admin/script/process/inspector +0 -3
- data/examples/al-admin/script/process/reaper +0 -3
- data/examples/al-admin/script/process/spawner +0 -3
- data/examples/al-admin/script/runner +0 -3
- data/examples/al-admin/script/server +0 -3
- data/examples/al-admin/test/fixtures/users.yml +0 -9
- data/examples/al-admin/test/functional/account_controller_test.rb +0 -12
- data/examples/al-admin/test/functional/attributes_controller_test.rb +0 -8
- data/examples/al-admin/test/functional/directory_controller_test.rb +0 -8
- data/examples/al-admin/test/functional/object_classes_controller_test.rb +0 -8
- data/examples/al-admin/test/functional/syntaxes_controller_test.rb +0 -8
- data/examples/al-admin/test/functional/users_controller_test.rb +0 -8
- data/examples/al-admin/test/functional/welcome_controller_test.rb +0 -8
- data/examples/al-admin/test/integration/sign_up_test.rb +0 -44
- data/examples/al-admin/test/run-test.sh +0 -3
- data/examples/al-admin/test/test_helper.rb +0 -52
- data/examples/al-admin/test/unit/user_test.rb +0 -12
- data/examples/al-admin/vendor/plugins/exception_notification/README +0 -111
- data/examples/al-admin/vendor/plugins/exception_notification/init.rb +0 -1
- data/examples/al-admin/vendor/plugins/exception_notification/lib/exception_notifiable.rb +0 -99
- data/examples/al-admin/vendor/plugins/exception_notification/lib/exception_notifier.rb +0 -66
- data/examples/al-admin/vendor/plugins/exception_notification/lib/exception_notifier_helper.rb +0 -78
- data/examples/al-admin/vendor/plugins/exception_notification/test/exception_notifier_helper_test.rb +0 -61
- data/examples/al-admin/vendor/plugins/exception_notification/test/test_helper.rb +0 -7
- data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_backtrace.rhtml +0 -1
- data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_environment.rhtml +0 -7
- data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_inspect_model.rhtml +0 -16
- data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_request.rhtml +0 -4
- data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_session.rhtml +0 -2
- data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/_title.rhtml +0 -3
- data/examples/al-admin/vendor/plugins/exception_notification/views/exception_notifier/exception_notification.rhtml +0 -6
@@ -1,26 +0,0 @@
|
|
1
|
-
<div class="login-form">
|
2
|
-
<% form_tag do %>
|
3
|
-
<table>
|
4
|
-
<tr>
|
5
|
-
<th><label for="login"><%= _("Login:") %></label></th>
|
6
|
-
<td><%= text_field_tag 'login' %></td>
|
7
|
-
</tr>
|
8
|
-
|
9
|
-
<tr>
|
10
|
-
<th><label for="password"><%= _("Password:") %></th>
|
11
|
-
<td><%= password_field_tag 'password' %></td>
|
12
|
-
</tr>
|
13
|
-
|
14
|
-
<tr>
|
15
|
-
<td colspan="2">
|
16
|
-
<label for="remember_me"><%= _("Remember me:") %></label>
|
17
|
-
<%= check_box_tag 'remember_me' %>
|
18
|
-
</td>
|
19
|
-
</tr>
|
20
|
-
</table>
|
21
|
-
|
22
|
-
<p class="submit"><%= submit_tag(_('Log in')) %></p>
|
23
|
-
<% end %>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<%= javascript_tag("$('login').focus();") %>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<%= error_messages_for(:user) %>
|
2
|
-
<%= error_messages_for(:system_user) %>
|
3
|
-
<% form_for(:user) do |f| %>
|
4
|
-
<p><%= f.label @user.dn_attribute, _("Login") %><br/>
|
5
|
-
<%= f.text_field(@user.dn_attribute) %></p>
|
6
|
-
|
7
|
-
<p><%= f.label(:password, _("Password")) %><br/>
|
8
|
-
<%= f.password_field(:password) %></p>
|
9
|
-
|
10
|
-
<p><%= f.label(:password_confirmation, _("Confirm Password")) %><br/>
|
11
|
-
<%= f.password_field(:password_confirmation) %></p>
|
12
|
-
|
13
|
-
<p><%= submit_tag(_('Sign up')) %></p>
|
14
|
-
|
15
|
-
<% names = @user.attribute_names(true) -
|
16
|
-
["objectClass", @user.dn_attribute, "userPassword"] %>
|
17
|
-
<% names.sort.each do |name| %>
|
18
|
-
<p>
|
19
|
-
<%= f.label(name, la_(name)) %>
|
20
|
-
<% if @required_attributes.include?(name) %>
|
21
|
-
<span class="required-attribute-mark">*</span>
|
22
|
-
<% end %>
|
23
|
-
<br />
|
24
|
-
<%= f.text_field(name) %>
|
25
|
-
</p>
|
26
|
-
<% end -%>
|
27
|
-
|
28
|
-
<p><%= submit_tag(_('Sign up')) %></p>
|
29
|
-
<% end -%>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
|
2
|
-
<table class="values">
|
3
|
-
<thead>
|
4
|
-
<tr>
|
5
|
-
<th><%= _("Attribute name") %></th>
|
6
|
-
<th><%= _("Description") %></th>
|
7
|
-
</tr>
|
8
|
-
</thead>
|
9
|
-
|
10
|
-
<tbody>
|
11
|
-
<% attributes.uniq.sort.each do |attribute| -%>
|
12
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
13
|
-
<td><%= link_to_attribute(attribute) %></td>
|
14
|
-
<td><%= h(lad_(attribute)) %></td>
|
15
|
-
</tr>
|
16
|
-
<% end -%>
|
17
|
-
</tbody>
|
18
|
-
</table>
|
19
|
-
<% reset_cycle %>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<table class="values">
|
2
|
-
<tbody>
|
3
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
4
|
-
<th scope="row"><%= _("Read only") %></th>
|
5
|
-
<td><%= boolean_value(attribute.read_only?) %></td>
|
6
|
-
</tr>
|
7
|
-
|
8
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
9
|
-
<th scope="row"><%= _("Single value") %></th>
|
10
|
-
<td><%= boolean_value(attribute.single_value?) %></td>
|
11
|
-
</tr>
|
12
|
-
|
13
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
14
|
-
<th scope="row"><%= _("Binary") %></th>
|
15
|
-
<td><%= boolean_value(attribute.binary?) %></td>
|
16
|
-
</tr>
|
17
|
-
|
18
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
19
|
-
<th scope="row"><%= _("Binary required") %></th>
|
20
|
-
<td><%= boolean_value(attribute.binary_required?) %></td>
|
21
|
-
</tr>
|
22
|
-
|
23
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
24
|
-
<th scope="row"><%= _("Syntax") %></th>
|
25
|
-
<td><%= link_to_syntax(attribute.syntax) %></td>
|
26
|
-
</tr>
|
27
|
-
</tbody>
|
28
|
-
</table>
|
29
|
-
<% reset_cycle %>
|
@@ -1,31 +0,0 @@
|
|
1
|
-
|
2
|
-
<div class="attribute detail">
|
3
|
-
<h2><%= h(la_(@attribute)) %></h2>
|
4
|
-
<span class="full-identifier"><%= h(@attribute.id) %></span>
|
5
|
-
|
6
|
-
<h3><%= _("Description") %></h3>
|
7
|
-
<p class="description"><%= h(lad_(@attribute)) %></p>
|
8
|
-
|
9
|
-
<% unless @attribute.aliases.empty? -%>
|
10
|
-
<%= render(:partial => "_schema/aliases", :object => @attribute.aliases) %>
|
11
|
-
<% end -%>
|
12
|
-
|
13
|
-
<% if @attribute.super_attribute -%>
|
14
|
-
<h3><%= _("Super attribute") %></h3>
|
15
|
-
<p class="super-attribute">
|
16
|
-
<%= link_to(h(la_(@attribute.super_attribute)),
|
17
|
-
:action => "show",
|
18
|
-
:id => @attribute.super_attribute) %>
|
19
|
-
</p>
|
20
|
-
<% end -%>
|
21
|
-
|
22
|
-
<% switcher("attribute-detail", _("Detail")) do %>
|
23
|
-
<%= render(:partial => "detail", :locals => {:attribute => @attribute}) %>
|
24
|
-
<% end %>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<div class="navi">
|
28
|
-
<ul>
|
29
|
-
<li><%= link_to s_('Menu|Index'), :action => 'index' %></li>
|
30
|
-
</ul>
|
31
|
-
</div>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<% have_child = !tree.children.empty? %>
|
2
|
-
<li class="<%= have_child ? 'dir' : 'file' %>">
|
3
|
-
<span class="node-dn"><%= h(tree.dn) %></span>
|
4
|
-
<span class="node-short-dn"><%= h(tree.short_dn) %></span>
|
5
|
-
<% if have_child -%>
|
6
|
-
<ul>
|
7
|
-
<%= render(:partial => "tree", :collection => tree.children) %>
|
8
|
-
</ul>
|
9
|
-
<% end -%>
|
10
|
-
</li>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<%# -*- javascript -*- %>
|
2
|
-
var treeView = new TreeView(<%= tree_id.to_json %>,
|
3
|
-
{
|
4
|
-
move: false,
|
5
|
-
emptyImg: true,
|
6
|
-
open: true
|
7
|
-
});
|
8
|
-
|
9
|
-
treeView.addSelectItemCallback(function (element)
|
10
|
-
{
|
11
|
-
var selectedNode = element.getElementsByClassName('node-dn')[0];
|
12
|
-
var selectedDN = selectedNode.childNodes[0].nodeValue;
|
13
|
-
var failureHandler = function(transport, json)
|
14
|
-
{
|
15
|
-
var message = <%= failed_to_retrieve_entry_message.to_json %> + "\n";
|
16
|
-
message += '<span class="dn">' + selectedDN + "</span>\n";
|
17
|
-
message = "<div class=\"entry\">\n" + message + "</div>";
|
18
|
-
$(<%= entry_id.to_json %>).update(message);
|
19
|
-
}
|
20
|
-
|
21
|
-
<%= remote_function(:update => {:success => entry_id},
|
22
|
-
:url => url_for(:action => "entry"),
|
23
|
-
:with => "'dn=' + selectedDN",
|
24
|
-
:failure => "failureHandler") %>;
|
25
|
-
});
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<ul id="directory-tree">
|
2
|
-
<%= render(:partial => "tree", :object => @root) %>
|
3
|
-
</ul>
|
4
|
-
|
5
|
-
<div id="entry-information">
|
6
|
-
<%= render(:partial => "_entry/entry", :object => @root) %>
|
7
|
-
</div>
|
8
|
-
|
9
|
-
<%= javascript_tag(render(:partial => "tree_view_js",
|
10
|
-
:locals => {:tree_id => "directory-tree",
|
11
|
-
:entry_id => "entry-information"})) %>
|
12
|
-
|
13
|
-
<hr class="clear" />
|
@@ -1,10 +0,0 @@
|
|
1
|
-
|
2
|
-
<ul>
|
3
|
-
<% if logged_in? -%>
|
4
|
-
<li><span class="myself"><%= h(current_user.short_dn) %></span></li>
|
5
|
-
<li><%= link_to(s_("Menu|Logout"), logout_path) %></li>
|
6
|
-
<% else -%>
|
7
|
-
<li><%= link_to(s_("Menu|Login"), login_path) %></li>
|
8
|
-
<% end -%>
|
9
|
-
<li><%= link_to(s_("Menu|Sign up"), sign_up_path) %></li>
|
10
|
-
</ul>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
|
2
|
-
<% if logged_in? -%>
|
3
|
-
<div class="main-menu">
|
4
|
-
<ul>
|
5
|
-
<% [
|
6
|
-
[s_("Menu|Users list"), {:controller => "users"}],
|
7
|
-
[s_("Menu|Directory"), {:controller => "directory"}],
|
8
|
-
[s_("Menu|objectClass list"), {:controller => "object_classes"}],
|
9
|
-
[s_("Menu|Attribute list"), {:controller => "attributes"}],
|
10
|
-
[s_("Menu|Syntax list"), {:controller => "syntaxes"}],
|
11
|
-
].each do |label, options| -%>
|
12
|
-
<li <%= current_page?(options) ? 'class="current-page"' : "" %>>
|
13
|
-
<%= link_to(label, options) %>
|
14
|
-
</li>
|
15
|
-
<% end -%>
|
16
|
-
</ul>
|
17
|
-
</div>
|
18
|
-
<% end -%>
|
@@ -1,57 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
6
|
-
<meta name="robots" content="all" />
|
7
|
-
<meta http-equiv="imagetoolbar" content="false" />
|
8
|
-
<meta name="MSSmartTagsPreventParsing" content="true" />
|
9
|
-
<title>
|
10
|
-
<%=h "#{controller.controller_name}: #{controller.action_name}" %>
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<%= stylesheet_link_tag('rails') %>
|
14
|
-
<%= stylesheet_link_tag('spinelz/treeview.css') %>
|
15
|
-
<%= stylesheet_link_tag('spinelz/switcher.css') %>
|
16
|
-
<%= stylesheet_link_tag('base') %>
|
17
|
-
<%= stylesheet_link_tag('structure') %>
|
18
|
-
<%= stylesheet_link_tag(@controller.controller_name.gsub(/_/, "-")) %>
|
19
|
-
<%= javascript_include_tag(:defaults) %>
|
20
|
-
<%= javascript_include_tag("spinelz_lib/spinelz_util.js") %>
|
21
|
-
<%= javascript_include_tag("spinelz_lib/slider.js") %>
|
22
|
-
<%= javascript_include_tag("spinelz/treeview.js") %>
|
23
|
-
<%= javascript_include_tag("spinelz/switcher.js") %>
|
24
|
-
</head>
|
25
|
-
<body>
|
26
|
-
<div class="header">
|
27
|
-
<div class="logo">
|
28
|
-
<%= link_to(image_tag("al-admin.png"), top_path) %>
|
29
|
-
</div>
|
30
|
-
|
31
|
-
<div class="menu">
|
32
|
-
<%= render(:partial => "layouts/header_menu") %>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<hr class="clear" />
|
36
|
-
</div>
|
37
|
-
|
38
|
-
<%= flash_box(flash[:notice]) %>
|
39
|
-
|
40
|
-
<div class="body">
|
41
|
-
<div class="content">
|
42
|
-
<h1>
|
43
|
-
<%=h "#{controller.controller_name}: #{controller.action_name}" %>
|
44
|
-
</h1>
|
45
|
-
|
46
|
-
<div class="main">
|
47
|
-
<%= render(:partial => "layouts/main_menu") %>
|
48
|
-
<%= yield %>
|
49
|
-
</div>
|
50
|
-
</div>
|
51
|
-
|
52
|
-
<div class="footer">
|
53
|
-
<%= render(:partial => "layouts/footer") %>
|
54
|
-
</div>
|
55
|
-
</div>
|
56
|
-
</body>
|
57
|
-
</html>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
|
2
|
-
<% switcher(prefix, title) do %>
|
3
|
-
<% if attributes.empty? %>
|
4
|
-
<p><%= _("None") %></p>
|
5
|
-
<% else %>
|
6
|
-
<table class="values">
|
7
|
-
<thead>
|
8
|
-
<tr>
|
9
|
-
<th><%= _("Name") %></th>
|
10
|
-
<th><%= _("Inherited") %></th>
|
11
|
-
<th><%= _("Description") %></th>
|
12
|
-
</tr>
|
13
|
-
</thead>
|
14
|
-
|
15
|
-
<tbody>
|
16
|
-
<% attributes.sort.each do |attribute| %>
|
17
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
18
|
-
<td><%= link_to_attribute(attribute) %></td>
|
19
|
-
<td class="inherited">
|
20
|
-
<%= boolean_value(!own_attributes.include?(attribute)) %>
|
21
|
-
</td>
|
22
|
-
<td><%= h(lad_(attribute)) %></td>
|
23
|
-
</tr>
|
24
|
-
<% end %>
|
25
|
-
</tbody>
|
26
|
-
</table>
|
27
|
-
<% end %>
|
28
|
-
<% end %>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
|
2
|
-
<table class="values">
|
3
|
-
<thead>
|
4
|
-
<tr>
|
5
|
-
<th><%= _("objectClass name") %></th>
|
6
|
-
<th><%= _("description") %></th>
|
7
|
-
</tr>
|
8
|
-
</thead>
|
9
|
-
|
10
|
-
<tbody>
|
11
|
-
<% object_classes.uniq.sort.each do |object_class| -%>
|
12
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
13
|
-
<td><%= link_to_object_class(object_class) %></td>
|
14
|
-
<td><%=h locd_(object_class) %></td>
|
15
|
-
</tr>
|
16
|
-
<% end -%>
|
17
|
-
</tbody>
|
18
|
-
</table>
|
19
|
-
<% reset_cycle %>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
|
2
|
-
<div class="object-class detail">
|
3
|
-
<h2><%= h(loc_(@object_class)) %></h2>
|
4
|
-
<span class="full-identifier"><%= h(@object_class.id) %></span>
|
5
|
-
|
6
|
-
<h3><%= _("Description") %></h3>
|
7
|
-
<p class="description"><%= h(locd_(@object_class)) %></p>
|
8
|
-
|
9
|
-
<% unless @object_class.aliases.empty? -%>
|
10
|
-
<%= render(:partial => "_schema/aliases", :object => @object_class.aliases) %>
|
11
|
-
<% end -%>
|
12
|
-
|
13
|
-
<% switcher("super-classes", _("Super classes")) do %>
|
14
|
-
<% if @object_class.super_classes.empty? -%>
|
15
|
-
<p><%= _("None") %></p>
|
16
|
-
<% else -%>
|
17
|
-
<%= render(:partial => "object_classes",
|
18
|
-
:object => @object_class.super_classes) %>
|
19
|
-
<% end -%>
|
20
|
-
<% end %>
|
21
|
-
|
22
|
-
<%= render(:partial => "attributes",
|
23
|
-
:object => @object_class.must,
|
24
|
-
:locals => {:title => _("Requeired attributes"),
|
25
|
-
:prefix => "required-attributes",
|
26
|
-
:own_attributes => @object_class.must(false)}) %>
|
27
|
-
|
28
|
-
<%= render(:partial => "attributes",
|
29
|
-
:object => @object_class.may,
|
30
|
-
:locals => {:title => _("Optional attributes"),
|
31
|
-
:prefix => "optional-attributes",
|
32
|
-
:own_attributes => @object_class.may(false)}) %>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div class="navi">
|
36
|
-
<ul>
|
37
|
-
<li><%= link_to s_('Menu|Index'), :action => 'index' %></li>
|
38
|
-
</ul>
|
39
|
-
</div>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<table class="values">
|
2
|
-
<tbody>
|
3
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
4
|
-
<th scope="row"><%= _("Binary tranfer required") %></th>
|
5
|
-
<td><%= boolean_value(syntax.binary_transfer_required?) %></td>
|
6
|
-
</tr>
|
7
|
-
|
8
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
9
|
-
<th scope="row"><%= _("Human readable") %></th>
|
10
|
-
<td><%= boolean_value(syntax.human_readable?) %></td>
|
11
|
-
</tr>
|
12
|
-
</tbody>
|
13
|
-
</table>
|
14
|
-
<% reset_cycle %>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
|
2
|
-
<table class="values">
|
3
|
-
<thead>
|
4
|
-
<tr>
|
5
|
-
<th><%= _("Syntax name") %></th>
|
6
|
-
<th><%= _("Description") %></th>
|
7
|
-
</tr>
|
8
|
-
</thead>
|
9
|
-
|
10
|
-
<tbody>
|
11
|
-
<% syntaxes.uniq.sort.each do |syntax| -%>
|
12
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
13
|
-
<td><%= link_to_syntax(syntax) %></td>
|
14
|
-
<td><%= h(lsd_(syntax)) %></td>
|
15
|
-
</tr>
|
16
|
-
<% end -%>
|
17
|
-
</tbody>
|
18
|
-
</table>
|
19
|
-
<% reset_cycle %>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
<div class="syntax detail">
|
3
|
-
<h2><%= h(ls_(@syntax)) %></h2>
|
4
|
-
<span class="full-identifier"><%= h(@syntax.id) %></span>
|
5
|
-
|
6
|
-
<h3><%= _("Description") %></h3>
|
7
|
-
<p class="description"><%= h(lsd_(@syntax)) %></p>
|
8
|
-
|
9
|
-
<% unless @syntax.aliases.empty? -%>
|
10
|
-
<%= render(:partial => "_schema/aliases", :object => @syntax.aliases) %>
|
11
|
-
<% end -%>
|
12
|
-
|
13
|
-
<% switcher("syntax-detail", _("Detail")) do %>
|
14
|
-
<%= render(:partial => "detail", :locals => {:syntax => @syntax}) %>
|
15
|
-
<% end %>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
<div class="navi">
|
19
|
-
<ul>
|
20
|
-
<li><%= link_to s_('Menu|Index'), :action => 'index' %></li>
|
21
|
-
</ul>
|
22
|
-
</div>
|
@@ -1,42 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
names = @user.attribute_names(true) - ["objectClass", "userPassword"]
|
3
|
-
required_attributes = @user.must.collect(&:name)
|
4
|
-
%>
|
5
|
-
|
6
|
-
<h3><%= _("Update attributes") %></h3>
|
7
|
-
|
8
|
-
<table class="values form">
|
9
|
-
<thead>
|
10
|
-
<tr>
|
11
|
-
<th><%= _("attribute name") %></th>
|
12
|
-
<th><%= _("value") %></th>
|
13
|
-
<th><%= _("description") %></th>
|
14
|
-
</tr>
|
15
|
-
</thead>
|
16
|
-
|
17
|
-
<% names.sort.each do |name| -%>
|
18
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
19
|
-
<th scope="row">
|
20
|
-
<label for="user_<%=h name %>"><%= h la_(name) %></label>
|
21
|
-
<%= link_to("?", attribute_url_for_options(name)) %>
|
22
|
-
<% if required_attributes.include?(name) -%>
|
23
|
-
<span class="required-attribute-mark">*</span>
|
24
|
-
<% end -%>
|
25
|
-
</th>
|
26
|
-
<td>
|
27
|
-
<%=
|
28
|
-
ldap_field(:text, :user, name,
|
29
|
-
:ldap_options => ["lang-en"]) do |field, info|
|
30
|
-
ldap_options = info[:options]
|
31
|
-
if ldap_options.empty?
|
32
|
-
"#{field}<br />"
|
33
|
-
else
|
34
|
-
"#{ldap_options.join(';')}: #{field}<br />"
|
35
|
-
end
|
36
|
-
end
|
37
|
-
-%>
|
38
|
-
</td>
|
39
|
-
<td><%= h lad_(name) %></td>
|
40
|
-
</tr>
|
41
|
-
<% end -%>
|
42
|
-
</table>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<% attributes_form_id = "attributes-form" %>
|
2
|
-
<%= error_messages_for "user" %>
|
3
|
-
|
4
|
-
<%= render(:partial => "password_change_form") %>
|
5
|
-
<%= submit_tag(s_('Command|Update')) %>
|
6
|
-
|
7
|
-
<%= render(:partial => "object_classes_update_form",
|
8
|
-
:locals => {:attributes_form_id => attributes_form_id}) %>
|
9
|
-
|
10
|
-
<div id="<%= attributes_form_id %>">
|
11
|
-
<%= render(:partial => "attributes_update_form") %>
|
12
|
-
</div>
|
13
|
-
<%= submit_tag(s_('Command|Update')) %>
|
@@ -1,46 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
using_object_classes = @user.classes
|
3
|
-
available_object_classes = @user.schema.object_classes.collect(&:name)
|
4
|
-
update_failure_id = 'object-classes-obdate-failure'
|
5
|
-
%>
|
6
|
-
|
7
|
-
<% switcher("object-classes", _("Update objectClasses")) do %>
|
8
|
-
<table class="values form">
|
9
|
-
<thead>
|
10
|
-
<tr>
|
11
|
-
<th><%= _("Use") %></th>
|
12
|
-
<th><%= _("objectClass name") %></th>
|
13
|
-
<th><%= _("Description") %></th>
|
14
|
-
</tr>
|
15
|
-
</thead>
|
16
|
-
|
17
|
-
<tbody>
|
18
|
-
<% available_object_classes.uniq.sort.each do |object_class| -%>
|
19
|
-
<tr class="<%= cycle('even', 'odd') %>">
|
20
|
-
<td>
|
21
|
-
<%= check_box_tag("object-classes[]",
|
22
|
-
object_class,
|
23
|
-
using_object_classes.include?(object_class),
|
24
|
-
:id => "object-class-#{object_class}",
|
25
|
-
:onchange => "updateAttributesForm(this.form)") %>
|
26
|
-
</td>
|
27
|
-
<td><%= link_to_object_class(object_class) %></td>
|
28
|
-
<td><%=h locd_(object_class) %></td>
|
29
|
-
</tr>
|
30
|
-
<% end -%>
|
31
|
-
</tbody>
|
32
|
-
</table>
|
33
|
-
<% reset_cycle %>
|
34
|
-
<% end %>
|
35
|
-
|
36
|
-
<%= javascript_tag("function updateAttributesForm(form) {" +
|
37
|
-
remote_function(:update => {
|
38
|
-
:success => attributes_form_id,
|
39
|
-
:failure => update_failure_id,
|
40
|
-
},
|
41
|
-
:url => {:action => :update_object_classes,
|
42
|
-
:id => @user},
|
43
|
-
:with => 'Form.serialize(form)') +
|
44
|
-
"}") %>
|
45
|
-
|
46
|
-
<div id="<%= h(update_failure_id) %>"></div>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
|
2
|
-
<h3><%= _("Change password") %></h3>
|
3
|
-
|
4
|
-
<table class="values form">
|
5
|
-
<tr>
|
6
|
-
<th scope="row">
|
7
|
-
<label for="user_password"><%= _("Password") %></label>
|
8
|
-
</th>
|
9
|
-
<td><%= password_field("user", "password") %></td>
|
10
|
-
</tr>
|
11
|
-
|
12
|
-
<tr>
|
13
|
-
<th scope="row">
|
14
|
-
<label for="user_password_confirmation">
|
15
|
-
<%= _("Confirm Password") %>
|
16
|
-
</label>
|
17
|
-
</th>
|
18
|
-
<td><%= password_field("user", "password_confirmation") %></td>
|
19
|
-
</tr>
|
20
|
-
</table>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<div class="detail">
|
2
|
-
<h2><%= user_link(@user) %></h2>
|
3
|
-
<span class="full-identifier"><%= h(@user.dn) %></span>
|
4
|
-
|
5
|
-
<% form_tag(:action => 'update', :id => @user) do %>
|
6
|
-
<%= render :partial => 'form' %>
|
7
|
-
<% end %>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="navi">
|
11
|
-
<ul>
|
12
|
-
<li><%= link_to(s_('Menu|Show'), :action => 'show', :id => @user) %></li>
|
13
|
-
<li><%= link_to(s_('Menu|Index'), :action => 'index') %></li>
|
14
|
-
</ul>
|
15
|
-
</div>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<% if logged_in? -%>
|
2
|
-
<p>
|
3
|
-
<% if Entry.empty? -%>
|
4
|
-
<%= link_to(s_("Menu|Populate"),
|
5
|
-
{:controller => "directory", :action => "populate"},
|
6
|
-
:confirm => _("OK?")) %>
|
7
|
-
<% else %>
|
8
|
-
<%= _("Welcome %s!") % h(current_user.login) %>
|
9
|
-
<% end -%>
|
10
|
-
</p>
|
11
|
-
<% else -%>
|
12
|
-
<p><%= _("Please login.") %></p>
|
13
|
-
<% end -%>
|