/[drupal]/contributions/modules/front/front_page.module
ViewVC logotype

Diff of /contributions/modules/front/front_page.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.75.2.6, Tue Apr 29 08:34:08 2008 UTC revision 1.75.2.7, Sat Jan 10 15:04:01 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: front_page.module,v 1.75.2.5 2008/04/29 08:08:05 augustin Exp $  // $Id: front_page.module,v 1.75.2.6 2008/04/29 08:34:08 augustin Exp $
3  /**  /**
4   *   *
5   * This module allows the site admin to set advanced front page settings.   * This module allows the site admin to set advanced front page settings.
# Line 286  function front_page() { Line 286  function front_page() {
286    }    }
287    
288    //this checks to see if you are overriding HOME links on the site    //this checks to see if you are overriding HOME links on the site
289    if (variable_get('front_page_breadcrumb', 0)) {     if (variable_get('front_page_breadcrumb', 0) && isset($_SERVER['HTTP_REFERER'])) {
290      // This checks to see if the referer is an internal HOME link or not.      // This checks to see if the referer is an internal HOME link or not.
291      $newhome =  variable_get('front_page_breadcrumb_redirect', 'node');      $newhome =  variable_get('front_page_breadcrumb_redirect', 'node');
292      $ref = $_SERVER['HTTP_REFERER'];      $ref = $_SERVER['HTTP_REFERER'];

Legend:
Removed from v.1.75.2.6  
changed lines
  Added in v.1.75.2.7

  ViewVC Help
Powered by ViewVC 1.1.2