Class: ODDB::LookandfeelGenerika

Inherits:
SBSM::LookandfeelWrapper show all
Defined in:
src/custom/lookandfeelwrapper.rb

Constant Summary

ENABLED =
[
  :ajax,
  :breadcrumbs,
  :companylist,
  :country_navigation,
  :ddd_chart,
  :facebook_fan,
  :facebook_share,
  :fachinfos,
  :feedback,
  :feedback_rss,
  :google_adsense,
  :limitation_texts,
  :logo,
  :minifi_rss,
  :multilingual_logo,
  :patinfos, 
  :paypal,
  :query_limit,
  :screencast,
  :price_cut_rss,
  :price_history,
  :price_rise_rss,
  :sl_introduction_rss,
  :sponsor,
  :sponsorlogo,
  :twitter_share,
]
DICTIONARIES =
{
  'de' =>  {
    :html_title   => 'cc: an alle - generika.cc - betreff: Gesundheitskosten senken!', 
    :home_welcome             =>  "Willkommen bei generika.cc, dem<br>aktuellsten Medikamenten-Portal der Schweiz.",
    :mailinglist_title  => 'Mailinglist - Generika.cc',
    :login_welcome  => 'Willkommen bei Generika.cc',
  },
  'fr' =>  {
    :html_title   => 'cc: pour tous - generika.cc - concerne: r&eacute;duire les co&ucirc;ts de la sant&eacute;!', 
    :home_welcome             =>  "Bienvenue sur generika.cc,<br>le portail des g&eacute;n&eacute;riques de la Suisse avec<br>tous les m&eacute;dicaments disponibles sur le march&eacute; suisse!",
    :mailinglist_title  => 'Mailinglist - Generika.cc',
    :login_welcome  => 'Bienvenu sur Generika.cc',
  },
  'en' =>  {
    :html_title   => 'cc: to everybody - generika.cc - subject: reduce health costs!', 
    :home_welcome             =>  "Welcome to generika.cc<br>the open drug database of Switzerland.",
    :mailinglist_title  => 'Mailinglist - Generika.cc',
    :login_welcome  => 'Welcome to Generika.cc',
  }
}
HTML_ATTRIBUTES =
{
  :logo => {
    'width'   => '338',
    'height'  => '87',
  },
}

Constants inherited from SBSM::LookandfeelWrapper

RESULT_FILTER

Instance Method Summary (collapse)

Methods inherited from SBSM::LookandfeelWrapper

#format_price, #has_result_filter?, #result_filter

Instance Method Details



194
195
196
# File 'src/custom/lookandfeelwrapper.rb', line 194

def navigation(filter=false)
  @component.navigation(false)
end

- (Object) zones(filter = false)



197
198
199
# File 'src/custom/lookandfeelwrapper.rb', line 197

def zones(filter=false)
  @component.zones(false)
end