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
633d2eb1
Commit
633d2eb1
authored
Jan 21, 2009
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Demo home page is in UTF8
parent
c10c5b3c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/public/demo/index.php
+11
-6
11 additions, 6 deletions
htdocs/public/demo/index.php
with
11 additions
and
6 deletions
htdocs/public/demo/index.php
+
11
−
6
View file @
633d2eb1
...
@@ -60,6 +60,11 @@ function llxHeaderVierge($title, $head = "")
...
@@ -60,6 +60,11 @@ function llxHeaderVierge($title, $head = "")
{
{
global
$user
,
$conf
,
$langs
;
global
$user
,
$conf
,
$langs
;
header
(
"Content-type: text/html; charset="
.
$conf
->
character_set_client
);
print
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'
;
//print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd>';
print
"
\n
"
;
print
"<html>
\n
"
;
print
"<html>
\n
"
;
print
"<head>
\n
"
;
print
"<head>
\n
"
;
print
'<meta name="robots" content="index,nofollow">'
.
"
\n
"
;
print
'<meta name="robots" content="index,nofollow">'
.
"
\n
"
;
...
@@ -190,7 +195,7 @@ print '<form name="choosedemo" action="'.$_SERVER["PHP_SELF"].'" method="POST">'
...
@@ -190,7 +195,7 @@ print '<form name="choosedemo" action="'.$_SERVER["PHP_SELF"].'" method="POST">'
print
'<input type="hidden" name="username" value="demo">'
;
print
'<input type="hidden" name="username" value="demo">'
;
print
"
\n
"
;
print
"
\n
"
;
print
'<table style="font-size:14px;">'
;
print
'<table style="font-size:14px;"
summary="List of Dolibarr demos"
>'
;
print
'<tr><td>'
;
print
'<tr><td>'
;
print
'<center><img src="'
.
DOL_URL_ROOT
.
'/theme/dolibarr_logo_2.png" alt="Dolibarr logo"></center><br>'
;
print
'<center><img src="'
.
DOL_URL_ROOT
.
'/theme/dolibarr_logo_2.png" alt="Dolibarr logo"></center><br>'
;
...
@@ -204,7 +209,7 @@ print '</td></tr>';
...
@@ -204,7 +209,7 @@ print '</td></tr>';
print
'<tr><td width="50%">'
;
print
'<tr><td width="50%">'
;
$NBOFCOLS
=
2
;
$NBOFCOLS
=
2
;
print
'<table style="font-size:14px;" width="100%">'
.
"
\n
"
;
print
'<table style="font-size:14px;" width="100%"
summary="List of Dolibarr demos"
>'
.
"
\n
"
;
$i
=
0
;
$i
=
0
;
foreach
(
$demoprofiles
as
$profilarray
)
foreach
(
$demoprofiles
as
$profilarray
)
{
{
...
@@ -214,9 +219,9 @@ foreach ($demoprofiles as $profilarray)
...
@@ -214,9 +219,9 @@ foreach ($demoprofiles as $profilarray)
//if ($i % $NBOFCOLS == 0) print '<tr>';
//if ($i % $NBOFCOLS == 0) print '<tr>';
print
'<tr>'
;
print
'<tr>'
;
print
'<td align="left">'
;
print
'<td align="left">'
;
print
'<table style="font-size:14px;" width="100%" class="CTableRow'
.
(
$i
%
2
==
0
?
'1'
:
'2'
)
.
'">'
.
"
\n
"
;
print
'<table
summary="Dolibarr online demonstration for profile '
.
$profilarray
[
'label'
]
.
'"
style="font-size:14px;" width="100%" class="CTableRow'
.
(
$i
%
2
==
0
?
'1'
:
'2'
)
.
'">'
.
"
\n
"
;
print
'<tr>'
;
print
'<tr>'
;
print
'<td align="left" width="50"><a href="'
.
$url
.
'"><img src="'
.
$profilarray
[
'icon'
]
.
'" width="48" border="0"></a></td>'
;
print
'<td align="left" width="50"><a href="'
.
$url
.
'"><img src="'
.
$profilarray
[
'icon'
]
.
'" width="48" border="0"
alt="Demo '
.
$profilarray
[
'label'
]
.
'"
></a></td>'
;
//print '<td><input type="radio" name="demochoice"';
//print '<td><input type="radio" name="demochoice"';
//if ($profilarray['default']) print ' checked="true"';
//if ($profilarray['default']) print ' checked="true"';
//print ' value="'.$profilarray['key'].'"></td>';
//print ' value="'.$profilarray['key'].'"></td>';
...
...
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