diff --git a/htdocs/lib/security.lib.php b/htdocs/lib/security.lib.php index e4e94dd2334..c9ab8e946cb 100644 --- a/htdocs/lib/security.lib.php +++ b/htdocs/lib/security.lib.php @@ -359,7 +359,7 @@ function dol_loginfunction2($langs,$conf,$mysoc) } else { - $smarty->template_dir = DOL_DOCUMENT_ROOT."/theme/phones/other/default/templates/"; + $smarty->template_dir = DOL_DOCUMENT_ROOT."/theme/phones/others/default/templates/"; } } else diff --git a/htdocs/theme/phones/others/default/templates/index.php b/htdocs/theme/phones/others/default/templates/index.php new file mode 100644 index 00000000000..e69de29bb2d diff --git a/htdocs/theme/phones/others/default/templates/login.tpl b/htdocs/theme/phones/others/default/templates/login.tpl new file mode 100644 index 00000000000..c65a07ac5dd --- /dev/null +++ b/htdocs/theme/phones/others/default/templates/login.tpl @@ -0,0 +1,180 @@ +{* Copyright (C) 2009 Regis Houssin + * + * 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 2 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, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + *} +{php} + header('Cache-Control: Public, must-revalidate'); + header("Content-type: text/html; charset=".$conf->file->character_set_client); +{/php} + + + + + + + + +{$langs->trans('Login')} + + + + + + + + {if $main_html_header} + {$main_html_header} + {/if} + + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + {if $entity} + + + {/if} + + {if $captcha} + + + {/if} + + + + + + {if $forgetpasslink || $helpcenterlink} + + {/if} + + + + + +
+ + {if $smarty.session.dol_loginmesg} +
+ {$smarty.session.dol_loginmesg} +
+ {/if} + + {if $main_home} +
+
+ {$main_home} +

+ {/if} + + {if $main_google_ad_client} +
+ {include file=$google_ad_tpl} +
+ {/if} + + + + + + {if $main_html_footer} + {$main_html_footer} + {/if} + + + + + \ No newline at end of file diff --git a/htdocs/theme/phones/others/index.php b/htdocs/theme/phones/others/index.php new file mode 100644 index 00000000000..e69de29bb2d