760c9bb62c6620b9fbfa654c2444566a5396907e
Author: AD7six
Date: 2009-04-16 18:00:03 +0200
diff --git a/views/layouts/default.ctp b/views/layouts/default.ctp
index 4d48d12..8426e8f 100644
--- a/views/layouts/default.ctp
+++ b/views/layouts/default.ctp
@@ -3,6 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
+if (!empty($auth['User']['Level']) && $auth['User']['Level'] == ADMIN) {
+ echo "<!-- " . trim(file_get_contents(APP . '.git/FETCH_HEAD')) . "-->";
+}
// Preventing automatic language detection
Configure::write('Config.language', $this->params['lang']);
?>
@@ -108,7 +111,7 @@ echo $html->meta('keywords',
?>
</head>
<body>
- <div id="container">
+ <div id="container">
<div id="header">
<h1>
<?php
