Index: themes/phptemplate/phptemplate.theme
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/phptemplate/phptemplate.theme,v
retrieving revision 1.6
diff -u -F^f -r1.6 phptemplate.theme
--- themes/phptemplate/phptemplate.theme	30 Jun 2004 18:15:51 -0000	1.6
+++ themes/phptemplate/phptemplate.theme	7 Sep 2004 02:40:28 -0000
@@ -47,6 +47,12 @@ function _phptemplate_get_settings() {
          $GLOBALS["phptemplate_settings"][$item] = variable_get("phptemplate_$item", $items[$item]);
       }
     }
+
+   foreach (node_list() as $type) {
+	   if (!isset($GLOBALS["phptemplate_settings"]["node_info_$type"])) {
+		   $GLOBALS["phptemplate_settings"]["node_info_$type"] = variable_get("phptemplate_node_info_$type", 1);
+	   }
+   }
     
     // template is a special case
     $GLOBALS["template_name"] = $GLOBALS["phptemplate_settings"]["template"];
@@ -89,6 +95,13 @@ function phptemplate_settings() {
   $output .= form_checkbox(t("Search box"), "phptemplate_search_box", 1, $phptemplate_settings["search_box"]);
   $output .= form_checkbox(t("Avatars with posts"), "phptemplate_avatar_node", 1, $phptemplate_settings["avatar_node"]);
   $output .= form_checkbox(t("Avatars with comments"), "phptemplate_avatar_comment", 1, $phptemplate_settings["avatar_comment"]);
+
+  $output .= "<h2>Toggle Post Information</h2>";
+  $output .= t("<div class=\"description\">Enable or disable the \"Posted by Username on date\" text when displaying posts of each type.</div>");
+  foreach (node_list() as $type) {
+      $output .= form_checkbox(node_invoke($type, 'node_name'), "phptemplate_node_info_$type", 1, $phptemplate_settings["node_info_$type"]);
+  }
+
   $output .= "</div>\n";
 
   
@@ -295,6 +308,7 @@ function phptemplate_node($node, $main =
       "mission"        => $mission,
       "display_search" => (($phptemplate_settings["search_box"] == 1) && (user_access("search content") == 1)),
       "page"           => $page,
+      "display_info"   => $phptemplate_settings["node_info_$node->type"],
       ));
     
   return $template->fetch("node.tpl.php");
