diff --git a/sources/bandeaux.php b/sources/bandeaux.php
index 0f6cbaf..8241277 100644
--- a/sources/bandeaux.php
+++ b/sources/bandeaux.php
@@ -47,7 +47,7 @@ function framanav()
include_once($_SERVER['DOCUMENT_ROOT']."/framanav/nav.php");
//echo ' '."\n";
}*/
- echo ''."\n";
+ echo ''."\n";
}
function gAnalytics() {
@@ -73,7 +73,7 @@ function gAnalytics() {
function logo ()
{
/* if(defined('LOGOBANDEAU')) {
- echo '
'."\n";
+ echo ''."\n";
}*/
}
@@ -83,7 +83,7 @@ function bandeau_tete()
{
if ( IMAGE_TITRE ) {
- echo ''."\n";
+ echo ''."\n";
} else {
diff --git a/sources/bandeaux_local.php b/sources/bandeaux_local.php
new file mode 100644
index 0000000..22e02dc
--- /dev/null
+++ b/sources/bandeaux_local.php
@@ -0,0 +1,199 @@
+ '."\n";;
+ //echo ''."\n";
+ include_once($_SERVER['DOCUMENT_ROOT']."/framanav/nav.php");
+ //echo ' '."\n";
+ }*/
+}
+
+function gAnalytics() {
+ if (GOOGLE_ANALYTICS_ID !== false) {
+ echo '
+';
+ }
+}
+
+
+//le logo
+function logo ()
+{
+/* if(defined('LOGOBANDEAU')) {
+ echo ''."\n";
+ }*/
+}
+
+
+#le bandeau principal
+function bandeau_tete()
+{
+ if ( IMAGE_TITRE ) {
+
+ echo ''."\n";
+
+ } else {
+
+ echo ''."\n";
+
+ } ;
+
+}
+
+
+// bandeaux de titre
+function bandeau_titre($titre)
+{
+ echo ''. $titre .'
'."\n";
+}
+
+
+function liste_lang()
+{
+ global $ALLOWED_LANGUAGES;
+
+ $str = '';
+ foreach ($ALLOWED_LANGUAGES as $k => $v ) {
+ $str .= '' . $v . '' . "\n" ;
+ }
+
+ return $str;
+}
+
+
+#Les sous-bandeaux contenant les boutons de navigation
+function sous_bandeau()
+{
+ /*echo '' . "\n";*/
+}
+
+
+function sous_bandeau_admin()
+{
+ echo ''."\n";
+
+ gAnalytics();
+}
+
+
+function sous_bandeau_choix()
+{
+ /*echo ''."\n";*/
+}
+
+
+#les bandeaux de pied
+function sur_bandeau_pied()
+{
+ echo ''."\n";
+}
+
+
+function bandeau_pied()
+{
+ //echo ''. _("Université de Strasbourg. Creation: Guilhem BORGHESI. 2008-2009") .'
'."\n";
+ echo '
';
+ echo '' . "\n";
+ gAnalytics();
+}
+
+
+function bandeau_pied_mobile()
+{
+ /*echo ''."\n" .
+ ''. _("Université de Strasbourg. Creation: Guilhem BORGHESI. 2008-2009") .'
'."\n";*/
+ echo '
';
+ echo '' . "\n";
+ gAnalytics();
+}
diff --git a/sources/fonctions.php b/sources/fonctions.php
index 92837d3..d772779 100644
--- a/sources/fonctions.php
+++ b/sources/fonctions.php
@@ -56,7 +56,7 @@ function connexion_base()
function get_server_name()
{
$scheme = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') ? 'https' : 'http';
- return $scheme . '://' . $_SERVER['SERVER_NAME'] . '/';
+ return $scheme . '://' . STUDS_URL . '/';
}
@@ -117,8 +117,8 @@ function print_header($js = false, $nom_sondage = '')
'.NOMAPPLICATION.'';
}
echo '
-
- ';
+
+ ';
echo '';
}