From c8cb91e3055f8ea84c7fb2d5349ef4f73ea85d48 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 29 Dec 2009 13:11:31 +0000 Subject: [PATCH] Test: smarty integration --- .../theme/phones/iphone/templates/login.tpl | 5 + .../phones/iphone/templates/user/index.php | 0 .../templates/user/passwordforgotten.tpl | 122 ++++++++++++++++++ 3 files changed, 127 insertions(+) create mode 100644 htdocs/theme/phones/iphone/templates/user/index.php create mode 100644 htdocs/theme/phones/iphone/templates/user/passwordforgotten.tpl diff --git a/htdocs/theme/phones/iphone/templates/login.tpl b/htdocs/theme/phones/iphone/templates/login.tpl index c574f3ae341..4fa4e8ae3f3 100644 --- a/htdocs/theme/phones/iphone/templates/login.tpl +++ b/htdocs/theme/phones/iphone/templates/login.tpl @@ -41,6 +41,11 @@
{$title}
+
+ + tools + +
diff --git a/htdocs/theme/phones/iphone/templates/user/index.php b/htdocs/theme/phones/iphone/templates/user/index.php new file mode 100644 index 00000000000..e69de29bb2d diff --git a/htdocs/theme/phones/iphone/templates/user/passwordforgotten.tpl b/htdocs/theme/phones/iphone/templates/user/passwordforgotten.tpl new file mode 100644 index 00000000000..72f5766cfaf --- /dev/null +++ b/htdocs/theme/phones/iphone/templates/user/passwordforgotten.tpl @@ -0,0 +1,122 @@ +{* 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} + + + + + + + + +Authentification + + + + + + + + + +
+
Authentification
+
+ + home + +
+
+ +
+
+ + + +
+ +
+ +
    +
  • + +
  • +
+ + {if $select_entity} + {$langs->trans('Entity')} +
    +
  • + {$select_entity} + +
  • +
+ {/if} + + {if $captcha} + {$langs->trans('SecurityCode')} +
    +
  • + + + + +
  • +
+ {/if} + +
    +
  • + +
  • +
+ +
+
+ +
+ +
+ + {if ($mode == 'dolibarr' || $mode == 'dolibarr_mdb2') || (! $disabled)} + + {$langs->trans('SendNewPasswordDesc')} + + {else} +
+ {$langs->trans('AuthenticationDoesNotAllowSendNewPassword', $mode)} +
+ {/if} + +
+ +{if $error_message} + +{/if} + + + + + \ No newline at end of file