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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
e82cd15e
Commit
e82cd15e
authored
17 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
New: On peut voir aperu d'un theme sans valider sons changement
parent
714a3453
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/admin/ihm.php
+10
-1
10 additions, 1 deletion
htdocs/admin/ihm.php
htdocs/langs/en_US/admin.lang
+2
-0
2 additions, 0 deletions
htdocs/langs/en_US/admin.lang
htdocs/langs/fr_FR/admin.lang
+2
-0
2 additions, 0 deletions
htdocs/langs/fr_FR/admin.lang
with
14 additions
and
1 deletion
htdocs/admin/ihm.php
+
10
−
1
View file @
e82cd15e
...
@@ -349,7 +349,16 @@ function show_theme($edit=0)
...
@@ -349,7 +349,16 @@ function show_theme($edit=0)
print
'<td align="center">'
;
print
'<td align="center">'
;
$file
=
$dirtheme
.
"/"
.
$subdir
.
"/thumb.png"
;
$file
=
$dirtheme
.
"/"
.
$subdir
.
"/thumb.png"
;
if
(
!
file_exists
(
$file
))
$file
=
$dirtheme
.
"/common/nophoto.jpg"
;
if
(
!
file_exists
(
$file
))
$file
=
$dirtheme
.
"/common/nophoto.jpg"
;
print
'<table><tr><td><img src="'
.
$file
.
'" width="80" height="60"></td></tr><tr><td align="center">'
;
print
'<table><tr><td>'
;
if
(
$edit
)
print
'<a href="'
.
$_SERVER
[
"PHP_SELF"
]
.
(
$edit
?
'?action=edit&theme='
:
'?theme='
)
.
$subdir
.
'" style="font-weight: normal;" alt="'
.
$langs
->
trans
(
"Preview"
)
.
'">'
;
if
(
$edit
)
{
if
(
$subdir
==
$conf
->
global
->
MAIN_THEME
)
$title
=
$langs
->
trans
(
"ThemeCurrentlyActive"
);
else
$title
=
$langs
->
trans
(
"ShowPreview"
);
}
print
'<img src="'
.
$file
.
'" width="80" height="60" border="0" title="'
.
$title
.
'">'
;
if
(
$edit
)
print
'</a>'
;
print
'</td></tr><tr><td align="center">'
;
if
(
$subdir
==
$conf
->
global
->
MAIN_THEME
)
if
(
$subdir
==
$conf
->
global
->
MAIN_THEME
)
{
{
print
'<input '
.
(
$edit
?
''
:
'disabled'
)
.
' type="radio" '
.
$bc
[
$var
]
.
' style="border: 0px;" checked name="main_theme" value="'
.
$subdir
.
'"> <b>'
.
$subdir
.
'</b>'
;
print
'<input '
.
(
$edit
?
''
:
'disabled'
)
.
' type="radio" '
.
$bc
[
$var
]
.
' style="border: 0px;" checked name="main_theme" value="'
.
$subdir
.
'"> <b>'
.
$subdir
.
'</b>'
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/admin.lang
+
2
−
0
View file @
e82cd15e
...
@@ -26,6 +26,8 @@ NotAvailableWhenAjaxDisabled=Not available when Ajax disabled
...
@@ -26,6 +26,8 @@ NotAvailableWhenAjaxDisabled=Not available when Ajax disabled
JavascriptDisabled=JavaScript disabled
JavascriptDisabled=JavaScript disabled
UsePopupCalendar=Use popup for dates input
UsePopupCalendar=Use popup for dates input
UsePreviewTabs=Use preview tabs
UsePreviewTabs=Use preview tabs
ShowPreview=Show preview
ThemeCurrentlyActive=Theme currently active
NextValue=Next value
NextValue=Next value
NextValueForInvoices=Next value (invoices)
NextValueForInvoices=Next value (invoices)
NextValueForCreditNotes=Next value (credit notes)
NextValueForCreditNotes=Next value (credit notes)
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/fr_FR/admin.lang
+
2
−
0
View file @
e82cd15e
...
@@ -26,6 +26,8 @@ NotAvailableWhenAjaxDisabled=Non disponible quand Ajax d
...
@@ -26,6 +26,8 @@ NotAvailableWhenAjaxDisabled=Non disponible quand Ajax d
JavascriptDisabled=Javascript désactivé
JavascriptDisabled=Javascript désactivé
UsePopupCalendar=Utiliser les popups pour la saisie des dates
UsePopupCalendar=Utiliser les popups pour la saisie des dates
UsePreviewTabs=Afficher les onglets "Aperçu"
UsePreviewTabs=Afficher les onglets "Aperçu"
ShowPreview=Afficher aperçu
ThemeCurrentlyActive=Theme actuellement actif
NextValue=Prochaine valeur
NextValue=Prochaine valeur
NextValueForInvoices=Prochaine valeur (factures)
NextValueForInvoices=Prochaine valeur (factures)
NextValueForCreditNotes=Prochaine valeur (avoirs)
NextValueForCreditNotes=Prochaine valeur (avoirs)
...
...
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