Module: ODDB::View::UserSettings

Included in:
CenteredSearchComposite, CommonLogoHead, Drugs::CompareSearchForm, SponsorHead
Defined in:
src/view/language_chooser.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) language_chooser(model, session)



9
10
11
12
13
# File 'src/view/language_chooser.rb', line 9

def language_chooser(model, session)
  if(@lookandfeel.enabled?(:language_switcher))
    LanguageChooser.new(@lookandfeel.languages, session, self)
  end
end

- (Object) language_chooser_short(model, session)



14
15
16
17
18
# File 'src/view/language_chooser.rb', line 14

def language_chooser_short(model, session)
  if(@lookandfeel.enabled?(:language_switcher))
    LanguageChooserShort.new(@lookandfeel.languages, session, self)
  end
end