backport
authorx2002marichez <x2002marichez>
Sat, 16 Oct 2004 13:39:07 +0000 (13:39 +0000)
committerx2002marichez <x2002marichez>
Sat, 16 Oct 2004 13:39:07 +0000 (13:39 +0000)
htdocs/x.php [new file with mode: 0644]
templates/x.tpl [new file with mode: 0644]

diff --git a/htdocs/x.php b/htdocs/x.php
new file mode 100644 (file)
index 0000000..8e4eca1
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+/***************************************************************************
+ *  Copyright (C) 2003-2004 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("auto.prepend.inc.php");
+new_skinned_page('x.tpl', AUTH_PUBLIC);
+$page->assign('baseurl',$baseurl);
+$page->run();
+?>
diff --git a/templates/x.tpl b/templates/x.tpl
new file mode 100644 (file)
index 0000000..7b15776
--- /dev/null
@@ -0,0 +1,37 @@
+{***************************************************************************
+ *  Copyright (C) 2003-2004 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                *
+ ***************************************************************************}
+
+{dynamic}
+<div class="rubrique">
+  La page a bougé !
+</div>
+
+<p>
+Elle se trouve maintenant <a href='fiche.php?user={$smarty.request.x}'>ici</a>.
+</p>
+
+<ul><li>{$baseurl}/x.php?x={$smarty.request.x}</li></ul>
+<p>devient :</p>
+<ul><li>{$baseurl}/fiche.php?user={$smarty.request.x}</li></ul>
+
+<p>Pense à mettre tes signets à jour !</p>
+{/dynamic}
+
+{* vim:set et sw=2 sts=2 sws=2: *}