projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed a no longer used function.
[timetracker.git]
/
register.php
diff --git
a/register.php
b/register.php
index
d1e9ff9
..
4568e37
100644
(file)
--- a/
register.php
+++ b/
register.php
@@
-39,7
+39,7
@@
$auth->doLogout();
if (!defined('CURRENCY_DEFAULT')) define('CURRENCY_DEFAULT', '$');
if ($request->isPost()) {
if (!defined('CURRENCY_DEFAULT')) define('CURRENCY_DEFAULT', '$');
if ($request->isPost()) {
- $cl_
team_name = trim($request->getParameter('team
_name'));
+ $cl_
group_name = trim($request->getParameter('group
_name'));
$cl_currency = trim($request->getParameter('currency'));
if (!$cl_currency) $cl_currency = CURRENCY_DEFAULT;
$cl_lang = $request->getParameter('lang');
$cl_currency = trim($request->getParameter('currency'));
if (!$cl_currency) $cl_currency = CURRENCY_DEFAULT;
$cl_lang = $request->getParameter('lang');
@@
-53,8
+53,8
@@
if ($request->isPost()) {
$cl_lang = $i18n->lang; // Browser setting from initialize.php.
}
$cl_lang = $i18n->lang; // Browser setting from initialize.php.
}
-$form = new Form('
profile
Form');
-$form->addInput(array('type'=>'text','maxlength'=>'200','name'=>'
team_name','value'=>$cl_team
_name));
+$form = new Form('
group
Form');
+$form->addInput(array('type'=>'text','maxlength'=>'200','name'=>'
group_name','value'=>$cl_group
_name));
$form->addInput(array('type'=>'text','maxlength'=>'7','name'=>'currency','value'=>$cl_currency));
// Prepare an array of available languages.
$form->addInput(array('type'=>'text','maxlength'=>'7','name'=>'currency','value'=>$cl_currency));
// Prepare an array of available languages.
@@
-90,7
+90,7
@@
if ($request->isPost()) {
'password1' => $cl_password1,
'password2' => $cl_password2,
'email' => $cl_manager_email,
'password1' => $cl_password1,
'password2' => $cl_password2,
'email' => $cl_manager_email,
- 'group_name' => $cl_
team
_name,
+ 'group_name' => $cl_
group
_name,
'currency' => $cl_currency,
'lang' => $cl_lang);
'currency' => $cl_currency,
'lang' => $cl_lang);
@@
-113,6
+113,6
@@
if ($request->isPost()) {
$smarty->assign('title', $i18n->get('title.create_group'));
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('title', $i18n->get('title.create_group'));
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
-$smarty->assign('onload', 'onLoad="document.
profileForm.team
.focus()"');
+$smarty->assign('onload', 'onLoad="document.
groupForm.group_name
.focus()"');
$smarty->assign('content_page_name', 'register.tpl');
$smarty->display('index.tpl');
$smarty->assign('content_page_name', 'register.tpl');
$smarty->display('index.tpl');