From 7b8be3eb875559e98b250660ee812807fb150ff7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 9 Apr 2013 01:29:29 +0200 Subject: [PATCH] Removed deprecated and not working code. --- htdocs/theme/bureau2crea/tpl/login.tpl.php | 214 ------------------ .../bureau2crea/tpl/passwordforgotten.tpl.php | 144 ------------ 2 files changed, 358 deletions(-) delete mode 100644 htdocs/theme/bureau2crea/tpl/login.tpl.php delete mode 100644 htdocs/theme/bureau2crea/tpl/passwordforgotten.tpl.php diff --git a/htdocs/theme/bureau2crea/tpl/login.tpl.php b/htdocs/theme/bureau2crea/tpl/login.tpl.php deleted file mode 100644 index 05c6aab3cdb..00000000000 --- a/htdocs/theme/bureau2crea/tpl/login.tpl.php +++ /dev/null @@ -1,214 +0,0 @@ - - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - */ - -header('Cache-Control: Public, must-revalidate'); -header("Content-type: text/html; charset=".$conf->file->character_set_client); - -?> - - - - - - - - -'.$langs->trans('Login').' '.$title.''."\n"; -print ''."\n"; -if (constant('JS_JQUERY_UI')) print ''."\n"; // JQuery -else print ''."\n"; // JQuery -// CSS forced by modules (relative url starting with /) -if (isset($conf->modules_parts['css'])) -{ - $arraycss=(array) $conf->modules_parts['css']; - foreach($arraycss as $modcss => $filescss) - { - $filescss=(array) $filescss; // To be sure filecss is an array - foreach($filescss as $cssfile) - { - // cssfile is a relative path - print ''."\n"; - } - } -} -// JQuery. Must be before other includes -$ext='.js'; -print ''."\n"; -if (constant('JS_JQUERY')) print ''."\n"; -else print ''."\n"; -print ''."\n"; -print ' -'."\n"; -if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER; -print ' -'; - -?> - - - - - - -
- - - - - - - - - - - - - - - - -
- -
- Logo -
- -
- -
-
- - resArray['options'])) { - foreach ($hookmanager->resArray['options'] as $format => $option) - { - if ($format == 'div') { - echo ''; - echo $option; - } - } - } - ?> - - -
- - -
-
- - -
- - -
- -
- -'; - if ($forgetpasslink) { - echo '('; - echo $langs->trans('PasswordForgotten'); - if (! $helpcenterlink) { - echo ')'; - } - echo ''; - } - - if ($helpcenterlink) { - echo ''; - if ($forgetpasslink) { - echo ' - '; - } else { - echo '('; - } - echo $langs->trans('NeedHelpCenter').')'; - } - echo '
'; - } -?> - - - - -
- -
- - - -
- -
- - - global->MAIN_GOOGLE_AD_CLIENT) && ! empty($conf->global->MAIN_GOOGLE_AD_SLOT)) - { - ?> -
- - -
- -
- - - - - - - - -global->MAIN_HTML_FOOTER)) print $conf->global->MAIN_HTML_FOOTER; ?> - - - - - diff --git a/htdocs/theme/bureau2crea/tpl/passwordforgotten.tpl.php b/htdocs/theme/bureau2crea/tpl/passwordforgotten.tpl.php deleted file mode 100644 index 8751ed6eb84..00000000000 --- a/htdocs/theme/bureau2crea/tpl/passwordforgotten.tpl.php +++ /dev/null @@ -1,144 +0,0 @@ - - * Copyright (C) 2011-2012 Laurent Destailleur - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - */ -header('Cache-Control: Public, must-revalidate'); -header("Content-type: text/html; charset=".$conf->file->character_set_client); - -?> - - - - - - - - - -'.$langs->trans('Login').' '.$title.''."\n"; -print ''."\n"; -if (constant('JS_JQUERY_UI')) print ''."\n"; // JQuery -else print ''."\n"; // JQuery -// CSS forced by modules (relative url starting with /) -if (isset($conf->modules_parts['css'])) -{ - $arraycss=(array) $conf->modules_parts['css']; - foreach($arraycss as $modcss => $filescss) - { - $filescss=(array) $filescss; // To be sure filecss is an array - foreach($filescss as $cssfile) - { - // cssfile is a relative path - print ''."\n"; - } - } -} -// JQuery. Must be before other includes -$ext='.js'; -print ''."\n"; -if (constant('JS_JQUERY')) print ''."\n"; -else print ''."\n"; -print ''."\n"; -if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER; -print ' -'; - -?> - - -
- - - -
- -
- Logo -
- -
-
- - id="username" name="username" class="flat" size="15" maxlength="25" value="" tabindex="1" /> -
- - resArray['options'])) { - foreach ($hookmanager->resArray['options'] as $format => $option) - { - if ($format == 'div') { - echo ''; - echo $option; - } - } - } - ?> - - -
- - -
-
- - -
- - - - -
- class="button" name="password" value="trans('SendNewPassword'); ?>" tabindex="4" /> -
-
- -
- -
- - - trans('SendNewPasswordDesc'); ?> - - -
- trans('AuthenticationDoesNotAllowSendNewPassword', $mode); ?> -
- -
- -
- - -
- -
- - - - - - - - \ No newline at end of file