diff --git a/e107_themes/lamb/forum_post_template.php b/e107_themes/lamb/forum_post_template.php
index 5a7f1fbda..95b465a58 100644
--- a/e107_themes/lamb/forum_post_template.php
+++ b/e107_themes/lamb/forum_post_template.php
@@ -11,38 +11,52 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_themes/lamb/forum_post_template.php,v $
-| $Revision: 1.2 $
-| $Date: 2007-01-20 16:31:55 $
-| $Author: mrpete $
+| $Revision: 1.3 $
+| $Date: 2007-02-19 22:26:00 $
+| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
+if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); }
// the user box and subject box are not always displayed, therefore we need to define them /in case/ they are, if not they'll be ignored.
+if(!isset($userbox))
+{
$userbox = "
";
+}
+if(!isset($subjectbox))
+{
$subjectbox = "
";
+}
+
// the poll is optional, be careful when changing the values here, only change if you know what you're doing ...
+if(!isset($poll_form))
+{
+ if(is_readable(e_PLUGIN."poll/poll_class.php")) {
+ require_once(e_PLUGIN."poll/poll_class.php");
+ $pollo = new poll;
+ $poll_form = $pollo -> renderPollForm("forum");
+ }
+}
-require_once(e_PLUGIN."poll/poll_class.php");
-$pollo = new poll;
-$poll = $pollo -> renderPollForm("forum");
// finally, file attach is optional, again only change this if you know what you're doing ...
-
+if(!isset($fileattach))
+{
$fileattach = "".($pref['image_post'] ? LAN_390 : LAN_416)." |
".($pref['image_post']
|
";
-
+}
// ------------
+if (!isset($FORUMPOST))
+{
$FORUMPOST = "
{FORMSTART}
@@ -89,7 +105,125 @@ $FORUMPOST = "
{FORUMJUMP}
";
+}
+
+if(!isset($FORUMPOST_REPLY))
+{
+$FORUMPOST_REPLY = "
+
+
+{FORMSTART}
+
+
+{BACKLINK}
+ |
+
+{USERBOX}
+{SUBJECTBOX}
+
+
+
+
+
+{POLL}
+
+{FILEATTACH}
+
+
+
+
+
+{FORMEND}
+
+
+
+
+{THREADTOPIC}
+{LATESTPOSTS}
+
+";
+}
+
+// From here copied in from default templates
+if(!$LATESTPOSTS_START)
+{
+$LATESTPOSTS_START = "
+
+
+".
+LAN_101."{LATESTPOSTSCOUNT}".LAN_102."
+ |
+
";
+}
+
+if(!$LATESTPOSTS_POST)
+{
+$LATESTPOSTS_POST = "
+
+
+
+
+";
+}
+
+if(!$LATESTPOSTS_END)
+{
+$LATESTPOSTS_END = "
+
+";
+}
+
+if(!$THREADTOPIC_REPLY)
+{
+$THREADTOPIC_REPLY = "
+
+
+ ".LAN_100." |
+
+
+
+
+
+
+";
+}
+
+$FORUM_CRUMB['sitename']['value'] = "{SITENAME}";
+$FORUM_CRUMB['sitename']['sep'] = " :: ";
+
+$FORUM_CRUMB['forums']['value'] = "{FORUMS_TITLE}";
+$FORUM_CRUMB['forums']['sep'] = " :: ";
+
+$FORUM_CRUMB['parent']['value'] = "{PARENT_TITLE}";
+$FORUM_CRUMB['parent']['sep'] = " :: ";
+
+$FORUM_CRUMB['subparent']['value'] = "{SUBPARENT_TITLE}";
+$FORUM_CRUMB['subparent']['sep'] = " :: ";
+
+$FORUM_CRUMB['forum']['value'] = "{FORUM_TITLE}";
+$FORUM_CRUMB['forum']['sep'] = " :: ";
+
+$FORUM_CRUMB['thread']['value'] = "{THREAD_TITLE}";
+
+
+/*
+This lot not in the default template, so presumably redundant
$FORUMTHREADPOSTED = "
";
-
+*/
?>
\ No newline at end of file