From 2af71a01f57975087c95d29699e32467314ece6c Mon Sep 17 00:00:00 2001 From: web Date: Mon, 18 Sep 2006 20:03:02 +0000 Subject: [PATCH] even worse hack. needs to be fixed properly git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@857 839d8a87-29fc-0310-9880-83ba4fa771e5 --- classes/Page.php | 1 + templates/skin/common.bug.tpl | 2 +- templates/skin/default.tpl | 2 +- templates/skin/espace.tpl | 2 +- templates/skin/humlinux.tpl | 2 +- templates/skin/keynote.tpl | 2 +- templates/skin/linux.tpl | 2 +- templates/skin/liteskin.tpl | 2 +- templates/skin/nbviolet.tpl | 2 +- templates/skin/newxorg.tpl | 2 +- templates/skin/oldtimes.tpl | 2 +- templates/skin/openweb.tpl | 2 +- templates/skin/sharky.tpl | 2 +- templates/skin/spectral.tpl | 2 +- templates/skin/trapped.tpl | 2 +- 15 files changed, 15 insertions(+), 14 deletions(-) diff --git a/classes/Page.php b/classes/Page.php index 01a52c3..63add7e 100644 --- a/classes/Page.php +++ b/classes/Page.php @@ -79,6 +79,7 @@ class PlatalPage extends Smarty $this->assign("xorg_errors", $this->_errors); $this->assign("xorg_failure", $this->_failure); + $this->assign('globals', $globals); switch ($this->_page_type) { case NO_SKIN: diff --git a/templates/skin/common.bug.tpl b/templates/skin/common.bug.tpl index c0b893c..07442ab 100644 --- a/templates/skin/common.bug.tpl +++ b/templates/skin/common.bug.tpl @@ -25,7 +25,7 @@ ** Explique ici le problème ou l'amélioration proposée ** -Page : {$globals.baseurl}/?{$smarty.server.QUERY_STRING} +Page : {$globals->baseurl}/?{$smarty.server.QUERY_STRING} Navigateur : {$smarty.server.HTTP_USER_AGENT} Skin : {$smarty.session.skin} Signalé par {$smarty.session.forlife} diff --git a/templates/skin/default.tpl b/templates/skin/default.tpl index c9914a9..27b4280 100644 --- a/templates/skin/default.tpl +++ b/templates/skin/default.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} {include file=skin/common.bandeau.head.tpl} diff --git a/templates/skin/espace.tpl b/templates/skin/espace.tpl index 7151b5b..0d6519f 100644 --- a/templates/skin/espace.tpl +++ b/templates/skin/espace.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} diff --git a/templates/skin/humlinux.tpl b/templates/skin/humlinux.tpl index 450d8b2..f15b8a4 100644 --- a/templates/skin/humlinux.tpl +++ b/templates/skin/humlinux.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} diff --git a/templates/skin/keynote.tpl b/templates/skin/keynote.tpl index f485bff..e333e67 100644 --- a/templates/skin/keynote.tpl +++ b/templates/skin/keynote.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} {include file=skin/common.bandeau.head.tpl} diff --git a/templates/skin/linux.tpl b/templates/skin/linux.tpl index 558cd41..18b92a5 100644 --- a/templates/skin/linux.tpl +++ b/templates/skin/linux.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} diff --git a/templates/skin/liteskin.tpl b/templates/skin/liteskin.tpl index bac063e..e6b0b64 100644 --- a/templates/skin/liteskin.tpl +++ b/templates/skin/liteskin.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} diff --git a/templates/skin/nbviolet.tpl b/templates/skin/nbviolet.tpl index 2252d5b..e6c5394 100644 --- a/templates/skin/nbviolet.tpl +++ b/templates/skin/nbviolet.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} diff --git a/templates/skin/newxorg.tpl b/templates/skin/newxorg.tpl index d2dcfaa..ffc73bb 100644 --- a/templates/skin/newxorg.tpl +++ b/templates/skin/newxorg.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} diff --git a/templates/skin/oldtimes.tpl b/templates/skin/oldtimes.tpl index d3339a1..60c47ea 100644 --- a/templates/skin/oldtimes.tpl +++ b/templates/skin/oldtimes.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} diff --git a/templates/skin/openweb.tpl b/templates/skin/openweb.tpl index 596eb36..a2f4e21 100644 --- a/templates/skin/openweb.tpl +++ b/templates/skin/openweb.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} {include file=skin/common.bandeau.head.tpl} diff --git a/templates/skin/sharky.tpl b/templates/skin/sharky.tpl index 7a259fb..4b7a5f1 100644 --- a/templates/skin/sharky.tpl +++ b/templates/skin/sharky.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} diff --git a/templates/skin/spectral.tpl b/templates/skin/spectral.tpl index 1998b83..48931ec 100644 --- a/templates/skin/spectral.tpl +++ b/templates/skin/spectral.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} diff --git a/templates/skin/trapped.tpl b/templates/skin/trapped.tpl index 038ea60..a09f088 100644 --- a/templates/skin/trapped.tpl +++ b/templates/skin/trapped.tpl @@ -23,7 +23,7 @@ - + {include file=skin/common.header.tpl} -- 2.1.4