affiche le ChangeLog sur une page du site
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 7 Jun 2006 11:06:27 +0000 (11:06 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 7 Jun 2006 11:06:27 +0000 (11:06 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@301 839d8a87-29fc-0310-9880-83ba4fa771e5

ChangeLog
htdocs/changeLog.php [new file with mode: 0644]
templates/changeLog.tpl [new file with mode: 0644]

index 80cdc6c..9636694 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@ VERSION 0.9.10                                                   ??      2006
 
 New :
 
+    * Documentation :
+        - Display ChangeLog in site.                                        -Car
+
     * Geoloc :
         - Dynamic maps using geodesix plugin.                               -Car
 
diff --git a/htdocs/changeLog.php b/htdocs/changeLog.php
new file mode 100644 (file)
index 0000000..dbc6f83
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+/***************************************************************************
+ *  Copyright (C) 2003-2006 Polytechnique.org                              *
+ *  http://opensource.polytechnique.org/                                   *
+ *                                                                         *
+ *  This program is free software; you can redistribute it and/or modify   *
+ *  it under the terms of the GNU General Public License as published by   *
+ *  the Free Software Foundation; either version 2 of the License, or      *
+ *  (at your option) any later version.                                    *
+ *                                                                         *
+ *  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 General Public License for more details.                           *
+ *                                                                         *
+ *  You should have received a copy of the GNU General Public License      *
+ *  along with this program; if not, write to the Free Software            *
+ *  Foundation, Inc.,                                                      *
+ *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
+ ***************************************************************************/
+ require_once 'xorg.inc.php';
+ new_skinned_page('changeLog.tpl', AUTH_PUBLIC);
+ $page->assign('ChangeLog', file_get_contents($globals->spoolroot.'/ChangeLog'));
+ $page->run();
+ ?>
\ No newline at end of file
diff --git a/templates/changeLog.tpl b/templates/changeLog.tpl
new file mode 100644 (file)
index 0000000..cf83a42
--- /dev/null
@@ -0,0 +1,26 @@
+{**************************************************************************}\r
+{*                                                                        *}\r
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}\r
+{*  http://opensource.polytechnique.org/                                  *}\r
+{*                                                                        *}\r
+{*  This program is free software; you can redistribute it and/or modify  *}\r
+{*  it under the terms of the GNU General Public License as published by  *}\r
+{*  the Free Software Foundation; either version 2 of the License, or     *}\r
+{*  (at your option) any later version.                                   *}\r
+{*                                                                        *}\r
+{*  This program is distributed in the hope that it will be useful,       *}\r
+{*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}\r
+{*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}\r
+{*  GNU General Public License for more details.                          *}\r
+{*                                                                        *}\r
+{*  You should have received a copy of the GNU General Public License     *}\r
+{*  along with this program; if not, write to the Free Software           *}\r
+{*  Foundation, Inc.,                                                     *}\r
+{*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}\r
+{*                                                                        *}\r
+{**************************************************************************}\r
+<h1>ChangeLog</h1>\r
+<p>Voici la liste des modifications faites sur <a href="http://opensource.polytechnique.org/platal/">plat/al</a>, le support libre de ce site.</p>\r
+<pre>\r
+{$ChangeLog}\r
+</pre>
\ No newline at end of file