From b1f19c73c1e1c3823057dcf2c2407cc3b5fa6a6c Mon Sep 17 00:00:00 2001
From: llaffont <llaffont@git-test.afi-sa.fr>
Date: Wed, 10 Oct 2012 10:06:31 +0000
Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20footer=20skin=20responsive?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitattributes                                 |  1 +
 public/opac/skins/responsive/css/global.css    | 15 +++++----------
 public/opac/skins/responsive/html/footer.phtml | 15 +++++++++++++++
 3 files changed, 21 insertions(+), 10 deletions(-)
 create mode 100644 public/opac/skins/responsive/html/footer.phtml

diff --git a/.gitattributes b/.gitattributes
index 680f9611255..309de68da4d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -3949,6 +3949,7 @@ public/opac/skins/responsive/css/menu_haut.css -text
 public/opac/skins/responsive/css/nuage_tags.css -text
 public/opac/skins/responsive/css/popup.css -text
 public/opac/skins/responsive/css/recherche.css -text
+public/opac/skins/responsive/html/footer.phtml -text
 public/opac/skins/responsive/images/blank.gif -text svneol=unset#unset
 public/opac/skins/responsive/images/book_blank.jpg -text svneol=unset#unset
 public/opac/skins/responsive/images/bouton/bouton_droite.gif -text svneol=unset#unset
diff --git a/public/opac/skins/responsive/css/global.css b/public/opac/skins/responsive/css/global.css
index 4ef99453ba9..965ea552eee 100644
--- a/public/opac/skins/responsive/css/global.css
+++ b/public/opac/skins/responsive/css/global.css
@@ -13,11 +13,6 @@ a:hover {color:#D44100;}
 .siteWeb div#colDroiteInner,
 .siteWeb div#colContenuInner {vertical-align:top; padding-top:5px}
 
-.siteWeb div.colGauche {
-		height: 100%; 	
-		position:absolute;
-}
-
 .siteWeb div#colGaucheInner {padding-bottom: 10px;}
 
 #site_web_content,
@@ -31,12 +26,13 @@ a:hover {color:#D44100;}
 #site_web_wrapper {
 	width: auto !important;
 	max-width: none !important;
+	float: none !important;
 }
 
 
 .colGauche {
-		width: 200px;
-		max-width: 200px;
+	width: 200px;
+	max-width: 200px;
 }
 
 .colContenu {
@@ -48,9 +44,8 @@ a:hover {color:#D44100;}
 .auto_resize img, .auto_resize object, .auto_resize embed {display:none;}
 
 /* Footer */
-.footer {width: auto !important; min-height:40px; padding-top:5px}
-.footer .credit {color:#575757;  border-top:1px solid #a0a0a0;}
-.footer a {color:#C80A1E;}
+.footer {width: auto !important; padding: 0 10px}
+.credit {float: right}
 
 /* Menu horizontal */
 #menu_horizontal * {
diff --git a/public/opac/skins/responsive/html/footer.phtml b/public/opac/skins/responsive/html/footer.phtml
new file mode 100644
index 00000000000..e5cfb4c48dc
--- /dev/null
+++ b/public/opac/skins/responsive/html/footer.phtml
@@ -0,0 +1,15 @@
+	<div class="footer">
+		<?php
+			 if(Class_Users::isCurrentUserCanAccesBackend())
+			   echo '<div>'.$this->ComboProfils("ALL","ALL",Class_Profil::getCurrentProfil()->getId(),true).'</div>';
+		?>
+		<a href="<?php echo BASE_URL; ?>/admin"><?php echo $this->_('Accès pro.') ?></a>
+		<span class="credit">&copy; 2006-<?php print(date("Y")); ?>
+			<?php echo $this->traduire('- Tous droits réservés - Hébergement &amp; Conception graphique');?>
+			<a href="http://www.afi-sa.net" target="_blank">AFI</a>
+		</span>
+	</div>
+</div>
+<?php echo Class_AdminVar::get('GOOGLE_ANALYTICS'); ?>
+</body>
+</html>
-- 
GitLab