This should be an easy one... but, who knows? :-)
Current entry links to "page not found" and
is language dependent.

Comments

agentrickard’s picture

Status: Active » Needs review

Easy to fix, but the "Jump to..." is wrapped in t(), so it should be translatable.

Fix is to make "Jump to..." link to the current domain.

function theme_domain_nav_default($options) {
  global $_domain;
  $current = $options[$_domain['domain_id']];
  $output = '<form class="domain-list" action="">';
  $output .= '<select onchange="if (this.value) location.href=this.value;">';
  $output .= '<option value="'. $current['path'] .'">'. t('Jump to...') .'</option>';
  foreach ($options as $key => $value) {
    ($value['active']) ? $selected = ' selected' : $selected = '';
    $output .= '<option value="'. $value['path'] .'"'. $selected .'>'. $value['sitename'] .'</option>';
  }
  $output .= '</select>';
  $output .= '</form>';  
  return $output;
}
agentrickard’s picture

Or just remove it entirely....

This code, by the way, is a direct lift from the original implementation at www.skirt.com

agentrickard’s picture

Status: Needs review » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.