JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
metaform: take advantage of tem_auto_show()
authorJason Woofenden <jason@jasonwoof.com>
Sun, 8 Nov 2009 20:41:10 +0000 (15:41 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Sun, 8 Nov 2009 20:41:10 +0000 (15:41 -0500)
metaform/template.html
metaform/template.php

index 8bafdeb..07b55e6 100644 (file)
@@ -2,7 +2,7 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-  <title>~plural cap~</title>
+  <title><!--~~title show {~~-->~plural cap~<!--~~}~~--></title>
   <link rel="stylesheet" href="style.css" type="text/css" /><!--~html_editor_headers {~--><!--~~extra_headers {~~-->
   <script type="text/javascript" src="code/tiny_mce/tiny_mce.js"></script>
   <script language="javascript" type="text/javascript">
@@ -33,7 +33,7 @@
 </head>
 
 <body>
-  <!--~~main_body {~~-->
+<!--~~main_body show {~~-->
 
     <!--~~wfpl_messages {~~-->
       <!--~~ first {~~-->
index 5f59c6d..32c6a70 100644 (file)
@@ -104,8 +104,6 @@ function ~file_name~_main() {<!--~opt_display_1 {~-->
                return $ret;
        }
 <!--~}~-->
-       # sections displayed with tem_show() will be coppied to the main template if you have one.
-       tem_show('main_body');
 }<!--~opt_display_2 {~-->
 
 function ~file_name~_display_main() {