mozilla
Your Search Results

    Template:LXRSearch

    <%
    var lang = env.locale;
    var searchfor = ' Search for <code>' + $2 + '</code>';
    switch(lang) {
      case 'de':
        searchfor = ' Suche nach <code>' + $2 + '</code>';
        break;
      case 'ja':
        searchfor = ' で <code>' + $2 + '</code> を';
        break;
    }
    %>
    <a href="http://mxr.mozilla.org/mozilla-central/<%= $0 + '?' + $1 + '=' + $2 %>"><%-
      string.trim($3) ? $3 : ('MXR ' + ($0 == 'ident' ? 'ID' : '') + searchfor) %></a>
    Search for pages that use Template:LXRSearch to see example use cases and how many pages use this macro.

    Document Tags and Contributors

    Tags: 
    Contributors to this page: Sheppy, lmorchard, fscholz, Callek, Marsf, sdwilsh, Waldo, Victory, Jorend
    Last updated by: lmorchard,