Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
1c7b3933
Commit
1c7b3933
authored
17 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
New: Minor change to allow a new windows .exe setup wizard
parent
a0d4bf48
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/etape4.php
+1
-1
1 addition, 1 deletion
htdocs/install/etape4.php
htdocs/install/etape5.php
+5
-7
5 additions, 7 deletions
htdocs/install/etape5.php
with
6 additions
and
8 deletions
htdocs/install/etape4.php
+
1
−
1
View file @
1c7b3933
...
@@ -69,7 +69,7 @@ if ($db->ok == 1)
...
@@ -69,7 +69,7 @@ if ($db->ok == 1)
{
{
print
'<tr><td>'
.
$langs
->
trans
(
"DolibarrAdminLogin"
)
.
' :</td><td>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"DolibarrAdminLogin"
)
.
' :</td><td>'
;
print
'<input name="login" value="'
.
$force_install_dolibarrlogin
.
'"></td></tr>'
;
print
'<input name="login" value="'
.
(
!
empty
(
$_GET
[
"login"
])
?
$_GET
[
"login"
]
:
$force_install_dolibarrlogin
)
.
'"></td></tr>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"Password"
)
.
' :</td><td>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"Password"
)
.
' :</td><td>'
;
print
'<input type="password" name="pass"></td></tr>'
;
print
'<input type="password" name="pass"></td></tr>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"PasswordAgain"
)
.
' :</td><td>'
;
print
'<tr><td>'
.
$langs
->
trans
(
"PasswordAgain"
)
.
' :</td><td>'
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/etape5.php
+
5
−
7
View file @
1c7b3933
<?php
<?php
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-200
7
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-200
8
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Sebastien DiCintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Sebastien DiCintio <sdicintio@ressource-toi.org>
*
*
...
@@ -17,14 +17,12 @@
...
@@ -17,14 +17,12 @@
* You should have received a copy of the GNU General Public License
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/
*/
/**
/**
\file htdocs/install/etape5.php
\file htdocs/install/etape5.php
\brief Page de fin d'installation ou de migration
\brief Page de fin d'installation ou de migration
\version $
Revision
$
\version $
Id
$
*/
*/
include_once
(
"./inc.php"
);
include_once
(
"./inc.php"
);
...
@@ -48,19 +46,19 @@ if ($_POST["action"] == "set" || $_POST["action"] == "upgrade")
...
@@ -48,19 +46,19 @@ if ($_POST["action"] == "set" || $_POST["action"] == "upgrade")
{
{
if
(
$_POST
[
"pass"
]
<>
$_POST
[
"pass_verif"
])
if
(
$_POST
[
"pass"
]
<>
$_POST
[
"pass_verif"
])
{
{
Header
(
"Location: etape4.php?error=1&selectlang=
$setuplang
"
);
Header
(
"Location: etape4.php?error=1&selectlang=
$setuplang
"
.
(
isset
(
$_POST
[
"login"
])
?
'&login='
.
$_POST
[
"login"
]
:
''
)
);
exit
;
exit
;
}
}
if
(
strlen
(
trim
(
$_POST
[
"pass"
]))
==
0
)
if
(
strlen
(
trim
(
$_POST
[
"pass"
]))
==
0
)
{
{
Header
(
"Location: etape4.php?error=2&selectlang=
$setuplang
"
);
Header
(
"Location: etape4.php?error=2&selectlang=
$setuplang
"
.
(
isset
(
$_POST
[
"login"
])
?
'&login='
.
$_POST
[
"login"
]
:
''
)
);
exit
;
exit
;
}
}
if
(
strlen
(
trim
(
$_POST
[
"login"
]))
==
0
)
if
(
strlen
(
trim
(
$_POST
[
"login"
]))
==
0
)
{
{
Header
(
"Location: etape4.php?error=3&selectlang=
$setuplang
"
);
Header
(
"Location: etape4.php?error=3&selectlang=
$setuplang
"
.
(
isset
(
$_POST
[
"login"
])
?
'&login='
.
$_POST
[
"login"
]
:
''
)
);
exit
;
exit
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment