Annotation of adblockfilters/www/local.conf, revision 1.6

1.1       petejc      1: <?php
                      2: 
1.2       maltekra    3: $link = '';
1.5       maltekra    4: switch(basename($_SERVER['REQUEST_URI'])) {
1.2       maltekra    5:   case 'bugs.html':
                      6:     $link = 'content/bugs';
                      7:     break;
                      8:   case 'changelog.html':
                      9:     $link = 'category/blog/release';
                     10:     break;
                     11:   case 'faq.html':
                     12:     $link = 'content/frequently-asked-questions';
                     13:     break;
                     14:   case 'screenshots.html':
                     15:     $link = 'content/screenshots';
                     16:     break;
                     17:   case 'source.html':
                     18:     $link = 'content/source-code';
                     19:     break;
1.6     ! maltekra   20:   case 'members.html':
        !            21:     header('Location: https://www.mozdev.org/projects/overview/adblockfilters/#project_overview_members', true, 301);
        !            22:     exit;
1.2       maltekra   23: }
1.5       maltekra   24: header("Location: http://adblockfilters.mozdev.org/drupal/$link", true, 301);
                     25: exit;
1.2       maltekra   26: 
1.1       petejc     27: // site branding
                     28: $local_conf_no_wrap=OFF;
                     29: 
                     30: // toggle cvs commit view
                     31: $local_conf_commits=ON;
                     32: // if you're creating complete xhtml pages, and you are hiding commits
                     33: // $local_conf_no_no_commits_message = ON;
                     34: 
                     35: // other configuration options
                     36: // we need to set these with the correct defaults
                     37: //
                     38: // $local_conf_last_updated
                     39: // $local_conf_mime_types
                     40: // $local_conf_serve_as_is
                     41: // $local_conf_skin
                     42: // $local_conf_nav_off
                     43: //
                     44: // $local_conf_use_local_error_pages // uses error/404.html unless $local_conf_error_page set
                     45: // $local_conf_error_page = 'error/404.html'; // path relative to PROJECTNAME/www
                     46: //
                     47: // $local_conf_use_local_footer
                     48: // $local_conf_auto_generate_memberlist
                     49: // $local_conf_show_notes_form
                     50: // $local_conf_project_html_lang = 'es'; (for mozillaes project) set to override default 'en'
                     51: 
                     52:   $local_conf_ignore_holidays = ON;
                     53:   $local_conf_style_2004 = ON;
                     54: 
                     55: // $now = time();
                     56: 
                     57:   echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">' . "\n";
                     58: 
                     59: ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>