diff options
Diffstat (limited to 'pages/pageelems.ecpp')
-rw-r--r-- | pages/pageelems.ecpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/pages/pageelems.ecpp b/pages/pageelems.ecpp index 42fecb1..1ab95da 100644 --- a/pages/pageelems.ecpp +++ b/pages/pageelems.ecpp @@ -1,13 +1,10 @@ -<%pre> -</%pre> -<%args> -</%args> -<{ -}> +<%def doc_type> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +</%def> <%def header_box> <%args> content[]; -htmlcode; +component; </%args> <{ }> @@ -18,7 +15,9 @@ htmlcode; % for(content_type::const_iterator it = content.begin(); it != content.end(); ++it) { <$ *it $> % } -% reply.out() << htmlcode; +% if (!component.empty()) { + <& (component) &> +% } </td></tr></table> </div> </div> |