. // Copyright © 2007-2014 Erwan Briand // // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, version 3 only. // // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public // License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . class head_search { private $ct_session, $ct_db, $page; function __construct($ct_session, $ct_db, $page) { $this->ct_session = $ct_session; $this->ct_db = $ct_db; $this->page = $page; if ($this->page[1] == 'project' && isset($this->page[2])) $this->in_array = array('projects-bugs' => i18n('Bugs'), 'projects-doc' => i18n('Documentation'), 'projects-forum' => i18n('Forum'), 'projects-news' => i18n('News')); else $this->in_array = array('projects' => i18n('Projects'), 'projects-bugs' => i18n('Bugs'), 'projects-doc' => i18n('Documentation'), 'projects-forum' => i18n('Forum'), 'projects-news' => i18n('News'), 'notepad' => i18n('Notepad'), 'users' => i18n('Users')); } function treatForms() { } function getPageContent() { echo ' '; } } ?>