From 80bad999bb6c6728d25bf7025ceac684fd21a957 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 12 Jul 2009 07:06:24 +0000 Subject: [PATCH] Add: possibility to add google adsense in demo mode --- htdocs/public/demo/index.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php index c253cc9b016..f0ed15fbfb5 100644 --- a/htdocs/public/demo/index.php +++ b/htdocs/public/demo/index.php @@ -258,5 +258,23 @@ print ''; $db->close(); +// Google Adsense (ex: demo mode) +if (! empty($conf->global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN_GOOGLE_AD_SLOT)) +{ + print '
'."\n"; + print ''."\n"; + print ''."\n"; + print '
'."\n"; +} + llxFooter('$Date$ - $Revision$'); ?>