From 6ee0b63c6b5dfe2f8f684538a846ad9b95bbb107 Mon Sep 17 00:00:00 2001 From: Cyrille de Lambert Date: Fri, 19 Aug 2011 15:06:27 +0000 Subject: [PATCH] Adding favicon in each theme. New theme must be to have favicon.ico --- htdocs/core/tpl/login.tpl.php | 8 ++++++-- htdocs/main.inc.php | 10 +++------- htdocs/theme/bureau2crea/img/favicon.ico | Bin 1597 -> 3638 bytes htdocs/theme/bureau2crea/init_ihm.php | 1 - htdocs/theme/bureau2crea/tpl/login.tpl.php | 6 +++++- htdocs/theme/cameleo/img/favicon.ico | Bin 0 -> 3638 bytes htdocs/theme/eldy/img/favicon.ico | Bin 0 -> 3638 bytes htdocs/theme/freelug/img/favicon.ico | Bin 0 -> 3638 bytes .../smartphone/theme/default/img/favicon.ico | Bin 0 -> 3638 bytes htdocs/theme/yellow/img/favicon.ico | Bin 0 -> 3638 bytes 10 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 htdocs/theme/cameleo/img/favicon.ico create mode 100644 htdocs/theme/eldy/img/favicon.ico create mode 100644 htdocs/theme/freelug/img/favicon.ico create mode 100644 htdocs/theme/phones/smartphone/theme/default/img/favicon.ico create mode 100644 htdocs/theme/yellow/img/favicon.ico diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php index 1e9f5424224..c97cbe0782d 100644 --- a/htdocs/core/tpl/login.tpl.php +++ b/htdocs/core/tpl/login.tpl.php @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . * - * $Id: login.tpl.php,v 1.19 2011/07/31 23:45:11 eldy Exp $ + * $Id: login.tpl.php,v 1.20 2011/08/19 15:06:27 cdelambert Exp $ */ header('Cache-Control: Public, must-revalidate'); @@ -35,7 +35,11 @@ header("Content-type: text/html; charset=".$conf->file->character_set_client); <?php echo $langs->trans('Login'); ?> - +global->MAIN_HTML_HEADER ?> +theme.'/img/favicon.ico'; +?> +