Changeset 1581 for trunk/gregarius/cls

Show
Ignore:
Timestamp:
09/14/06 21:30:34 (2 years ago)
Author:
mbonetti
Message:

Applied Sam Johnston's patch for #440

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/nav.php

    r1561 r1581  
    6161     
    6262        $this->appendNavItem(getPath(),__('<span>H</span>ome'),LOCATION_HOME); 
    63         $this->appendNavItem(getPath().'update.php',__('<span>R</span>efresh'),LOCATION_UPDATE); 
     63        if (!getConfig("rss.config.restrictrefresh")) { 
     64            $this->appendNavItem(getPath().'update.php',__('<span>R</span>efresh'),LOCATION_UPDATE); 
     65        } 
    6466        $this->appendNavItem(getPath().'search.php',__('<span>S</span>earch'),LOCATION_SEARCH); 
    6567        $this->appendNavItem(getPath().'admin/',__('A<span>d</span>min'),LOCATION_ADMIN);