Galerie -> Enregistrements (ne marche pas).

This commit is contained in:
Georges Dupéron 2010-10-09 16:56:43 +02:00
parent 7f8f7aadbf
commit 4680f19279
84 changed files with 6 additions and 195 deletions

View File

@ -5,9 +5,9 @@ class GalerieIndex {
if ($action == "anuler") {
return new Page($chemin, $chemin, '', "redirect");
} else if ($action == "nouvelle_page") {
$np = Stockage::nouvelle_page($chemin, "Nouvelle période", "galerie-periode");
$np = Stockage::nouvelle_page($chemin, "Nouvelle période", "galerie-photo");
Stockage::set_prop($np, "proprietaire", Authentification::get_utilisateur());
Stockage::set_prop($np, "titre", "Nouvelle période");
Stockage::set_prop($np, "titre", "Nouvel enregistrement");
Stockage::set_prop($np, "description", "");
return new Page($chemin, $np, '', "redirect");
} else {
@ -61,14 +61,14 @@ class GalerieIndex {
if (Permissions::vérifier_permission($chemin, "nouvelle_page", Authentification::get_utilisateur())) {
$ret .= '<li>';
$ret .= '<div class="miniature">';
$ret .= '<img alt="nouvelle période" src="' . $chemin->get_url("?vue=image_nouvelle_periode") . '" />';
$ret .= '<img alt="nouvel enregistrement" src="' . $chemin->get_url("?vue=image_nouvelle_periode") . '" />';
$ret .= '</div>';
$ret .= '<div class="titre">';
$ret .= '<form class="galerie nouvelle_page" method="post" action="' . $chemin->get_url() . '">';
$ret .= '<p>';
$ret .= '<input type="hidden" name="action" value="nouvelle_page"/>';
$ret .= '<input type="submit" value="Nouvelle période"/>';
$ret .= '<input type="submit" value="Nouvel enregistrement"/>';
$ret .= '</p>';
$ret .= '</form>';

View File

@ -1 +1 @@
Une jolie galerie d'art. Un petit test pour l'édition...
Bla-bla sur le copyright et toutes ces choses-là...

View File

@ -1 +1 @@
Galerie Test
Enregistrements

View File

@ -1 +0,0 @@
Période d'hiver 2010.

View File

@ -1 +0,0 @@
periode 1

View File

@ -1 +0,0 @@
galerie-periode

View File

@ -1 +0,0 @@
Un évènement important pour le club !

View File

@ -1 +0,0 @@
evenement a

View File

@ -1 +0,0 @@
galerie-evenement

View File

@ -1 +0,0 @@
Une image... énigmatique.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1012 B

View File

@ -1 +0,0 @@
Y'a un truc sur cette photo.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 B

View File

@ -1 +0,0 @@
Un peu de le texte.

View File

@ -1 +0,0 @@
periode 2

View File

@ -1 +0,0 @@
galerie-periode

View File

@ -1 +0,0 @@
Machin, truc, chose... Que des évènements fantastiques !

View File

@ -1 +0,0 @@
evenement machin

View File

@ -1 +0,0 @@
galerie-evenement

View File

@ -1 +0,0 @@
Période 2. Évènement Machin. Photo A.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1 +0,0 @@
E = mc². Ou 2mc = E. Je sais plus.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1 +0,0 @@
Un super évènement !

View File

@ -1 +0,0 @@
evenement truc

View File

@ -1 +0,0 @@
galerie-evenement

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1 +0,0 @@
Lorem ipsum dolor sit amet... Lorem ipsum dolor sit amet.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1 +0,0 @@
Lorem ipsum dolor sit amet... Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet... Lorem ipsum dolor sit amet.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE__) . "/./../../__cms__/cms.php");
CMS::page("/galerie/Bip");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE__) . "/./../../__cms__/cms.php");
CMS::page("/galerie/Bla Bla");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE__) . "/./../../__cms__/cms.php");
CMS::page("/galerie/iode");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../__cms__/cms.php");
CMS::page("/galerie/periode 1/evenement a");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/periode 1/evenement a/photo a");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/periode 1/evenement a/photo b");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/periode 1/evenement a/photo c");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../__cms__/cms.php");
CMS::page("/galerie/periode 1");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../__cms__/cms.php");
CMS::page("/galerie/periode 2/evenement machin");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/periode 2/evenement machin/photo a");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/periode 2/evenement machin/photo b");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/periode 2/evenement machin/photo c");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../__cms__/cms.php");
CMS::page("/galerie/periode 2/evenement truc");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/periode 2/evenement truc/photo a");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/periode 2/evenement truc/photo b");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/periode 2/evenement truc/photo c");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE) . "/./../../__cms__/cms.php");
CMS::page("/galerie/periode 2");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE__) . "/./../../../../__cms__/cms.php");
CMS::page("/galerie/pp/Nouvel évènement/Nouvelle photo");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE__) . "/./../../../__cms__/cms.php");
CMS::page("/galerie/pp/Nouvel évènement");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE__) . "/./../../__cms__/cms.php");
CMS::page("/galerie/pp");
?>

View File

@ -1,7 +0,0 @@
<?php
require_once(dirname(__FILE__) . "/./../../__cms__/cms.php");
CMS::page("/galerie/terstyrdv");
?>