diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | css/index.php | 18 | ||||
-rw-r--r-- | html/index.php | 15 | ||||
-rw-r--r-- | index.php | 20 | ||||
-rw-r--r-- | js/index.php | 18 | ||||
-rw-r--r-- | lib.php | 17 |
6 files changed, 88 insertions, 2 deletions
@@ -78,7 +78,7 @@ The detected and used features are: ## Code & license * code is in [svn://svn.mageia.org/svn/web/nav/](http://svn.mageia.org/web/nav/) -* licensed under GNU GPL-3+, 2012, rda +* licensed under GNU GPL-2+, 2012, rda * issues on [bugs.mageia.org](https://bugs.mageia.org/buglist.cgi?query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=nav.mageia.org&product=Websites) * patches and discussions welcome in [Mageia Web team](https://wiki.mageia.org/en/Web_team) diff --git a/css/index.php b/css/index.php index 3960012..493b1c8 100644 --- a/css/index.php +++ b/css/index.php @@ -1,4 +1,22 @@ <?php +/** + * mageia.org global nav bar. + * + * PHP version 5.4 + * + * @category Mageia + * @package Mageia\Web\nav + * @author rda <rda@mageia.org> + * @link http://nav.mageia.org/ + * + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2+ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License aspublished by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. +*/ + header('Content-Type: text/css;charset=utf-8'); header(sprintf('Expires: %s', gmdate('r', strtotime('+1 day')))); readfile('source.css'); diff --git a/html/index.php b/html/index.php index 2de3938..e93080e 100644 --- a/html/index.php +++ b/html/index.php @@ -1,5 +1,20 @@ <?php /** + * mageia.org global nav bar. + * + * PHP version 5.4 + * + * @category Mageia + * @package Mageia\Web\nav + * @author rda <rda@mageia.org> + * @link http://nav.mageia.org/ + * + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2+ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License aspublished by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. */ $t0 = microtime(); @@ -1,4 +1,22 @@ -<html lang="en"> +<?php +/** + * mageia.org global nav bar. + * + * PHP version 5.4 + * + * @category Mageia + * @package Mageia\Web\nav + * @author rda <rda@mageia.org> + * @link http://nav.mageia.org/ + * + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2+ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License aspublished by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. +*/ +?><html lang="en"> <head> <meta name="robots" content="noindex,nosnippet,nofollow"> <title>mognase doc</title> diff --git a/js/index.php b/js/index.php index ed17b04..9373b09 100644 --- a/js/index.php +++ b/js/index.php @@ -1,4 +1,22 @@ <?php +/** + * mageia.org global nav bar. + * + * PHP version 5.4 + * + * @category Mageia + * @package Mageia\Web\nav + * @author rda <rda@mageia.org> + * @link http://nav.mageia.org/ + * + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2+ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License aspublished by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. +*/ + //header('Access-Control-Allow-Origin: *'); //header('Access-Control-Allow-Methods: GET'); header('Content-Type: text/javascript;charset=utf-8'); @@ -1,4 +1,21 @@ <?php +/** + * mageia.org global nav bar utilities. + * + * PHP version 5.4 + * + * @category Mageia + * @package Mageia\Web\nav + * @author rda <rda@mageia.org> + * @link http://nav.mageia.org/ + * + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2+ + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License aspublished by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. +*/ // definition class NCache |