diff --git a/theme/formfactor/layout/embedded.php b/theme/formfactor/layout/embedded.php
index a802fbbae71..b010c8984f1 100644
--- a/theme/formfactor/layout/embedded.php
+++ b/theme/formfactor/layout/embedded.php
@@ -1,4 +1,28 @@
-doctype() ?>
+.
+
+/**
+ * The embedded layout for the FormFactor theme.
+ *
+ * @package theme_formfactor
+ * @copyright 2010 Patrick Malley
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+echo $OUTPUT->doctype() ?>
htmlattributes() ?>>
title ?>
diff --git a/theme/formfactor/layout/frontpage.php b/theme/formfactor/layout/frontpage.php
index ca4db095354..857a7ff7855 100644
--- a/theme/formfactor/layout/frontpage.php
+++ b/theme/formfactor/layout/frontpage.php
@@ -1,4 +1,26 @@
.
+
+/**
+ * The frontpage layout for the FormFactor theme.
+ *
+ * @package theme_formfactor
+ * @copyright 2010 Patrick Malley
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT);
diff --git a/theme/formfactor/layout/general.php b/theme/formfactor/layout/general.php
index b304ef12714..486e9eff13c 100644
--- a/theme/formfactor/layout/general.php
+++ b/theme/formfactor/layout/general.php
@@ -1,4 +1,26 @@
.
+
+/**
+ * The default layout for the FormFactor theme.
+ *
+ * @package theme_formfactor
+ * @copyright 2010 Patrick Malley
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
$hasheading = ($PAGE->heading);
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
diff --git a/theme/formfactor/version.php b/theme/formfactor/version.php
index ab9ae058fb0..356a069b73f 100644
--- a/theme/formfactor/version.php
+++ b/theme/formfactor/version.php
@@ -24,9 +24,9 @@
defined('MOODLE_INTERNAL') || die;
-$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX)
-$plugin->requires = 2013110500; // Requires this Moodle version
-$plugin->component = 'theme_formfactor'; // Full name of the plugin (used for diagnostics)
+$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX).
+$plugin->requires = 2013110500; // Requires this Moodle version.
+$plugin->component = 'theme_formfactor'; // Full name of the plugin (used for diagnostics).
$plugin->dependencies = array(
'theme_canvas' => 2013110500,
);