diff --git a/admin/index.php b/admin/index.php
index b6cc401a..bb269f3d 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -70,7 +70,9 @@ if(!@file_exists($file)) {
}
ob_start();
-include($file);
+if($hooks->trigger(HOOK_ADMIN_BEFORE_PAGE)) {
+ require $file;
+}
$content .= ob_get_contents();
ob_end_clean();
diff --git a/admin/template/template.php b/admin/template/template.php
index 76f120c9..70ed5174 100644
--- a/admin/template/template.php
+++ b/admin/template/template.php
@@ -2,6 +2,7 @@
+ trigger(HOOK_ADMIN_HEAD_START); ?>
@@ -16,8 +17,10 @@
+ trigger(HOOK_ADMIN_HEAD_END); ?>
+trigger(HOOK_ADMIN_BODY_START); ?>
-
+ {{ hook('HOOK_ADMIN_LOGIN_AFTER_ACCOUNT') }}