diff --git a/htdocs/theme/phones/smartphone/tpl/login.tpl.php b/htdocs/theme/phones/smartphone/tpl/login.tpl.php
index c8e076f55f52e841bb39e51a91b58b0879c5de31..76247618ff90c3a2f7869cf3c42904c63ae48820 100644
--- a/htdocs/theme/phones/smartphone/tpl/login.tpl.php
+++ b/htdocs/theme/phones/smartphone/tpl/login.tpl.php
@@ -109,6 +109,6 @@ $smartphone->smartheader($title);
 	</script>
 <?php } ?>
 
-<?php $smartphone->smartfooter(); ?>
+<!-- END LOGIN SMARTPHONE TEMPLATE -->
 
-<!-- END LOGIN SMARTPHONE TEMPLATE -->
\ No newline at end of file
+<?php $smartphone->smartfooter(); ?>
\ No newline at end of file
diff --git a/htdocs/theme/phones/smartphone/tpl/menu.tpl.php b/htdocs/theme/phones/smartphone/tpl/menu.tpl.php
index 7fcfb498be03226ac47ea99267800f2c56ce085b..4955d3b2c0b53000a087b9f152cf6ebfd27fa2a3 100644
--- a/htdocs/theme/phones/smartphone/tpl/menu.tpl.php
+++ b/htdocs/theme/phones/smartphone/tpl/menu.tpl.php
@@ -26,7 +26,6 @@ $this->smartheader($this->title);
 	<div id="title"><?php echo $this->title; ?></div>
 </div>
 
+<!-- END MENU SMARTPHONE TEMPLATE -->
 
-<?php $this->smartfooter(); ?>
-
-<!-- END MENU SMARTPHONE TEMPLATE -->
\ No newline at end of file
+<?php $this->smartfooter(); ?>
\ No newline at end of file
diff --git a/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php b/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php
index a737e8e9bbc629103e33f2f645ecab66e0acbe45..b285d06f8cb7668455c7fd78f2b9c7562cfab663 100644
--- a/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php
+++ b/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php
@@ -95,6 +95,6 @@ $smartphone->smartheader($title);
 	</script>
 <?php } ?>
 
-<?php $smartphone->smartfooter(); ?>
+<!-- END SMARTPHONE TEMPLATE -->
 
-<!-- END SMARTPHONE TEMPLATE -->
\ No newline at end of file
+<?php $smartphone->smartfooter(); ?>
\ No newline at end of file