From d33d08956c822486d85aba579afaace30a4c061f Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Thu, 29 Oct 2009 16:38:26 +0100 Subject: [PATCH] Fixes the use of Smarty's "default" modifier. A recent "security fix" on Debian changed the way that string was parsed. Hopefully, this new use of default: will be resilient to a rollback of Smarty (which is likely to happen, since this Debian change has introduced an even bigger security hole). Signed-off-by: Vincent Zanotti --- templates/include/form.valid.nomusage.tpl | 2 +- templates/lists/create.tpl | 4 ++-- templates/skin/common.title.header.tpl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/include/form.valid.nomusage.tpl b/templates/include/form.valid.nomusage.tpl index 7f034b3..1408192 100644 --- a/templates/include/form.valid.nomusage.tpl +++ b/templates/include/form.valid.nomusage.tpl @@ -27,7 +27,7 @@ Nouvel alias : - {$valid->alias|default:"suppression"} + {$valid->alias|default:'suppression'} Raison : diff --git a/templates/lists/create.tpl b/templates/lists/create.tpl index 1d751a4..2d555d8 100644 --- a/templates/lists/create.tpl +++ b/templates/lists/create.tpl @@ -161,7 +161,7 @@ liste : Gestionnaires : - {$owners|nl2br|default:"pas de gestionnaires"} + {$owners|nl2br|default:'pas de gestionnaires'}
@@ -171,7 +171,7 @@ liste : Membres : - {$members|nl2br|default:"pas de membres"} + {$members|nl2br|default:'pas de membres'}


diff --git a/templates/skin/common.title.header.tpl b/templates/skin/common.title.header.tpl index 78259bb..8b1df27 100644 --- a/templates/skin/common.title.header.tpl +++ b/templates/skin/common.title.header.tpl @@ -33,10 +33,10 @@