alecpl
2012-02-13 06c990ead24edee69f07912f8169a0422c411422
program/steps/settings/func.inc
@@ -159,7 +159,8 @@
    case 'general':
    $blocks = array(
      'main' => array('name' => Q(rcube_label('mainoptions'))),
      'main'    => array('name' => Q(rcube_label('mainoptions'))),
      'browser' => array('name' => Q(rcube_label('browseroptions'))),
    );
    // language selection
@@ -263,6 +264,16 @@
      }
    }
    $product_name = $RCMAIL->config->get('product_name', 'Roundcube Webmail');
    $RCMAIL->output->add_script(sprintf("%s.check_protocol_handler('%s', '#mailtoprotohandler');",
      JS_OBJECT_NAME, JQ($product_name)), 'foot');
    $blocks['browser']['options']['mailtoprotohandler'] = array(
      'content' => html::a(array(
        'href' => '#',
        'id' => 'mailtoprotohandler'), Q(rcube_label('mailtoprotohandler'))),
    );
    break;
    // Mailbox view (mail screen)