[SPIP] +2.1.12
[velocampus/web/www.git] / www / ecrire / exec / 404.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2011 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
8 * *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
12
13 if (!defined('_ECRIRE_INC_VERSION')) return;
14
15 /**
16 * Un exec d'erreur
17 */
18 function exec_404_dist(){
19
20 $exec = _request('exec');
21
22 $titre = "exec_$exec";
23 $navigation = "";
24 $extra = "";
25
26 include_spip('inc/presentation'); // alleger les inclusions avec un inc/presentation_mini
27 $commencer_page = charger_fonction('commencer_page','inc');
28 echo $commencer_page($titre);
29
30 echo debut_gauche("404_$exec",true);
31 echo pipeline('affiche_gauche',array('args'=>array('exec'=>'404','exec_erreur'=>$exec),'data'=>''));
32
33 echo creer_colonne_droite("404",true);
34 echo pipeline('affiche_droite',array('args'=>array('exec'=>'404','exec_erreur'=>$exec),'data'=>''));
35
36 echo debut_droite("404",true);
37 echo "<h1>"._T('fichier_introuvable',array('fichier'=>$exec))."</h1>";
38 echo pipeline('affiche_milieu',array('args'=>array('exec'=>'404','exec_erreur'=>$exec),'data'=>''));
39
40 echo fin_gauche(),fin_page();
41 }
42
43 ?>