From e979cd2ba652fde2aaf5f8215ca52aef993d51e1 Mon Sep 17 00:00:00 2001
From: x2000habouzit
Date: Sat, 7 Oct 2006 08:45:57 +0000
Subject: [PATCH] merge fixes.
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@952 839d8a87-29fc-0310-9880-83ba4fa771e5
---
classes/platal.php | 4 +++-
templates/xnetevents/admin.tpl | 10 +++++-----
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/classes/platal.php b/classes/platal.php
index 7bd94ff..5e6374a 100644
--- a/classes/platal.php
+++ b/classes/platal.php
@@ -131,7 +131,7 @@ class Platal
$this->path = 'index';
}
- $page->assign_by_ref('platal', $this);
+ $page->assign('platal', $this);
switch ($this->call_hook($page)) {
case PL_FORBIDDEN:
$this->__mods['core']->handler_403($page);
@@ -141,6 +141,8 @@ class Platal
$this->__mods['core']->handler_404($page);
break;
}
+
+ $page->assign('platal', $this);
$page->run();
}
diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl
index 1b1af9e..718a7dd 100644
--- a/templates/xnetevents/admin.tpl
+++ b/templates/xnetevents/admin.tpl
@@ -45,9 +45,9 @@ L'
{/if}
-[tout]
+[tout]
{foreach from=$alphabet item=c}
-[{$c}]
+[{$c}]
{/foreach}
@@ -159,7 +159,7 @@ Ils ont pay
{foreach from=$links item=ofs key=txt}
-{$txt}
+{$txt}
{/foreach}
@@ -176,7 +176,7 @@ En tant qu'administrateur, tu peux fixer la venue (accompagn
Donne ici son mail, ainsi que le nombre de participants.
-