From f9d86aeafb6556fd495e9612e62b3be77c65f4ad Mon Sep 17 00:00:00 2001 From: didou Date: Mon, 29 Mar 2004 09:57:04 +0000 Subject: [PATCH] add PHP tags to get syntax colorized and correct the   problem # http://didou.keliglia.com/php/livedocs-smarty/index.php?l=en&q=tips --- docs/en/appendixes/tips.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/en/appendixes/tips.xml b/docs/en/appendixes/tips.xml index 65af17aa..deaaa184 100644 --- a/docs/en/appendixes/tips.xml +++ b/docs/en/appendixes/tips.xml @@ -8,13 +8,13 @@ Blank Variable Handling There may be times when you want to print a default value for an empty - variable instead of printing nothing, such as printing " " so that + variable instead of printing nothing, such as printing " " so that table backgrounds work properly. Many would use an {if} statement to handle this, but there is a shorthand way with Smarty, using the default variable modifier. - Printing   when a variable is empty + Printing   when a variable is empty converting form date elements back to a timestamp ]]>