Index: trunk/blocks/calender_block.php
===================================================================
--- trunk/blocks/calender_block.php	(revision 120)
+++ trunk/blocks/calender_block.php	(revision 121)
@@ -26,6 +26,8 @@
 
 		$form  = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n";
-		$form .= _MB_XPRESS_SUN_COLOR .": <input type='text' name='options[1]' value='" . $sun_color . "' /><br />\n";
-		$form .= _MB_XPRESS_SAT_COLOR .": <input type='text' name='options[2]' value='" . $sat_color . "' /><br />\n";
+	    $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />";
+		$form .= "<br />";
+		$form .= _MB_XPRESS_SUN_COLOR .": <input type='text' name='options[2]' value='" . $sun_color . "' /><br />\n";
+		$form .= _MB_XPRESS_SAT_COLOR .": <input type='text' name='options[3]' value='" . $sat_color . "' /><br />\n";
 
 		return $form;
