This mail is an automated notification from the patch tracker of the project: Savannah.
/**************************************************************************/ [patch #2392] Full Item Snapshot: URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=2392> Project: Savannah Submitted by: parser On: Mon 12/01/03 at 10:25 Category: None Priority: 1 - Later Resolution: None Assigned to: None Originator Email: Status: Open Summary: Hide Homepage-link when there is no Homepage Original Submission: Hi I think it´s useful to hind the Homapag-Link of a project when there is none explicit given. So I did a change in my Layout.class as follows: // // Homepage // if ($project->canuseHomepage()) // { // $tabDatas[] = $this->maintab_entry('http://'. $project->getHomePage(), $this->icons['Homepage'], _("Homepage")); // } // Homepage if ($project->canuseHomepage() && $project->getHomePage()!='' && $project->getHomePage()!=$project->getUnixName()) { $tabDatas[] = $this->maintab_entry('http://'. $project->getHomePage(), $this->icons['Homepage'], _("Homepage")); } Explanation: If the getHomePage-function returns an empty string or just the unix-name of the project, it can be conceived that this url is not an real one. It´s supposed to be generated from the default settings of the group-type. I hope this is useful For detailed info, follow this link: <http://savannah.gnu.org/patch/?func=detailitem&item_id=2392> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
