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
33a60bc1
Commit
33a60bc1
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch '3.6' of git@github.com:Dolibarr/dolibarr.git into 3.6
parents
80e8ff8d
977300c6
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/includes/ckeditor/skins/moono/skin.js
+10
-0
10 additions, 0 deletions
htdocs/includes/ckeditor/skins/moono/skin.js
htdocs/societe/consumption.php
+10
-5
10 additions, 5 deletions
htdocs/societe/consumption.php
with
20 additions
and
5 deletions
htdocs/includes/ckeditor/skins/moono/skin.js
0 → 100644
+
10
−
0
View file @
33a60bc1
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR
.
skin
.
name
=
"
moono
"
;
CKEDITOR
.
skin
.
ua_editor
=
"
ie,iequirks,ie7,ie8,gecko
"
;
CKEDITOR
.
skin
.
ua_dialog
=
"
ie,iequirks,ie7,ie8,opera
"
;
CKEDITOR
.
skin
.
chameleon
=
function
(){
var
b
=
function
(){
return
function
(
b
,
e
){
for
(
var
a
=
b
.
match
(
/
[^
#
]
./g
),
c
=
0
;
3
>
c
;
c
++
){
var
f
=
a
,
h
=
c
,
d
;
d
=
parseInt
(
a
[
c
],
16
);
d
=
(
"
0
"
+
(
0
>
e
?
0
|
d
*
(
1
+
e
):
0
|
d
+
(
255
-
d
)
*
e
).
toString
(
16
)).
slice
(
-
2
);
f
[
h
]
=
d
}
return
"
#
"
+
a
.
join
(
""
)}}(),
c
=
function
(){
var
b
=
new
CKEDITOR
.
template
(
"
background:#{to};background-image:-webkit-gradient(linear,lefttop,leftbottom,from({from}),to({to}));background-image:-moz-linear-gradient(top,{from},{to});background-image:-webkit-linear-gradient(top,{from},{to});background-image:-o-linear-gradient(top,{from},{to});background-image:-ms-linear-gradient(top,{from},{to});background-image:linear-gradient(top,{from},{to});filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='{from}',endColorstr='{to}');
"
);
return
function
(
c
,
a
){
return
b
.
output
({
from
:
c
,
to
:
a
})}}(),
f
=
{
editor
:
new
CKEDITOR
.
template
(
"
{id}.cke_chrome [border-color:{defaultBorder};] {id} .cke_top [ {defaultGradient}border-bottom-color:{defaultBorder};] {id} .cke_bottom [{defaultGradient}border-top-color:{defaultBorder};] {id} .cke_resizer [border-right-color:{ckeResizer}] {id} .cke_dialog_title [{defaultGradient}border-bottom-color:{defaultBorder};] {id} .cke_dialog_footer [{defaultGradient}outline-color:{defaultBorder};border-top-color:{defaultBorder};] {id} .cke_dialog_tab [{lightGradient}border-color:{defaultBorder};] {id} .cke_dialog_tab:hover [{mediumGradient}] {id} .cke_dialog_contents [border-top-color:{defaultBorder};] {id} .cke_dialog_tab_selected, {id} .cke_dialog_tab_selected:hover [background:{dialogTabSelected};border-bottom-color:{dialogTabSelectedBorder};] {id} .cke_dialog_body [background:{dialogBody};border-color:{defaultBorder};] {id} .cke_toolgroup [{lightGradient}border-color:{defaultBorder};] {id} a.cke_button_off:hover, {id} a.cke_button_off:focus, {id} a.cke_button_off:active [{mediumGradient}] {id} .cke_button_on [{ckeButtonOn}] {id} .cke_toolbar_separator [background-color: {ckeToolbarSeparator};] {id} .cke_combo_button [border-color:{defaultBorder};{lightGradient}] {id} a.cke_combo_button:hover, {id} a.cke_combo_button:focus, {id} .cke_combo_on a.cke_combo_button [border-color:{defaultBorder};{mediumGradient}] {id} .cke_path_item [color:{elementsPathColor};] {id} a.cke_path_item:hover, {id} a.cke_path_item:focus, {id} a.cke_path_item:active [background-color:{elementsPathBg};] {id}.cke_panel [border-color:{defaultBorder};]
"
),
panel
:
new
CKEDITOR
.
template
(
"
.cke_panel_grouptitle [{lightGradient}border-color:{defaultBorder};] .cke_menubutton_icon [background-color:{menubuttonIcon};] .cke_menubutton:hover .cke_menubutton_icon, .cke_menubutton:focus .cke_menubutton_icon, .cke_menubutton:active .cke_menubutton_icon [background-color:{menubuttonIconHover};] .cke_menuseparator [background-color:{menubuttonIcon};] a:hover.cke_colorbox, a:focus.cke_colorbox, a:active.cke_colorbox [border-color:{defaultBorder};] a:hover.cke_colorauto, a:hover.cke_colormore, a:focus.cke_colorauto, a:focus.cke_colormore, a:active.cke_colorauto, a:active.cke_colormore [background-color:{ckeColorauto};border-color:{defaultBorder};]
"
)};
return
function
(
g
,
e
){
var
a
=
g
.
uiColor
,
a
=
{
id
:
"
.
"
+
g
.
id
,
defaultBorder
:
b
(
a
,
-
0.1
),
defaultGradient
:
c
(
b
(
a
,
0.9
),
a
),
lightGradient
:
c
(
b
(
a
,
1
),
b
(
a
,
0.7
)),
mediumGradient
:
c
(
b
(
a
,
0.8
),
b
(
a
,
0.5
)),
ckeButtonOn
:
c
(
b
(
a
,
0.6
),
b
(
a
,
0.7
)),
ckeResizer
:
b
(
a
,
-
0.4
),
ckeToolbarSeparator
:
b
(
a
,
0.5
),
ckeColorauto
:
b
(
a
,
0.8
),
dialogBody
:
b
(
a
,
0.7
),
dialogTabSelected
:
c
(
"
#FFFFFF
"
,
"
#FFFFFF
"
),
dialogTabSelectedBorder
:
"
#FFF
"
,
elementsPathColor
:
b
(
a
,
-
0.6
),
elementsPathBg
:
a
,
menubuttonIcon
:
b
(
a
,
0.5
),
menubuttonIconHover
:
b
(
a
,
0.3
)};
return
f
[
e
].
output
(
a
).
replace
(
/
\[
/g
,
"
{
"
).
replace
(
/
\]
/g
,
"
}
"
)}}();
\ No newline at end of file
This diff is collapsed.
Click to expand it.
htdocs/societe/consumption.php
+
10
−
5
View file @
33a60bc1
...
@@ -67,7 +67,12 @@ if (GETPOST("button_removefilter"))
...
@@ -67,7 +67,12 @@ if (GETPOST("button_removefilter"))
}
}
// Customer or supplier selected in drop box
// Customer or supplier selected in drop box
$thirdTypeSelect
=
GETPOST
(
"third_select_id"
);
$thirdTypeSelect
=
GETPOST
(
"third_select_id"
);
$type_element
=
GETPOST
(
'type_element'
)
?
GETPOST
(
'type_element'
)
:
'invoice'
;
if
(
$conf
->
facture
->
enabled
&&
$user
->
rights
->
facture
->
lire
)
$type_element
=
'invoice'
;
elseif
(
$conf
->
commande
->
enabled
&&
$user
->
rights
->
commande
->
lire
)
$type_element
=
'order'
;
$type_element
=
GETPOST
(
'type_element'
)
?
GETPOST
(
'type_element'
)
:
$type_element
;
$langs
->
load
(
"companies"
);
$langs
->
load
(
"companies"
);
$langs
->
load
(
"bills"
);
$langs
->
load
(
"bills"
);
...
@@ -126,8 +131,8 @@ if ($object->client)
...
@@ -126,8 +131,8 @@ if ($object->client)
$obj
=
$db
->
fetch_object
(
$resql
);
$obj
=
$db
->
fetch_object
(
$resql
);
$nbFactsClient
=
$obj
->
nb
;
$nbFactsClient
=
$obj
->
nb
;
$thirdTypeArray
[
'customer'
]
=
$langs
->
trans
(
"customer"
);
$thirdTypeArray
[
'customer'
]
=
$langs
->
trans
(
"customer"
);
if
(
$conf
->
facture
->
enabled
)
$elementTypeArray
[
'invoice'
]
=
$langs
->
trans
(
'Invoices'
);
if
(
$conf
->
facture
->
enabled
&&
$user
->
rights
->
facture
->
lire
)
$elementTypeArray
[
'invoice'
]
=
$langs
->
trans
(
'Invoices'
);
if
(
$conf
->
commande
->
enabled
)
$elementTypeArray
[
'order'
]
=
$langs
->
trans
(
'Orders'
);
if
(
$conf
->
commande
->
enabled
&&
$user
->
rights
->
commande
->
lire
)
$elementTypeArray
[
'order'
]
=
$langs
->
trans
(
'Orders'
);
}
}
if
(
$object
->
fournisseur
)
if
(
$object
->
fournisseur
)
...
@@ -144,8 +149,8 @@ if ($object->fournisseur)
...
@@ -144,8 +149,8 @@ if ($object->fournisseur)
$obj
=
$db
->
fetch_object
(
$resql
);
$obj
=
$db
->
fetch_object
(
$resql
);
$nbCmdsFourn
=
$obj
->
nb
;
$nbCmdsFourn
=
$obj
->
nb
;
$thirdTypeArray
[
'supplier'
]
=
$langs
->
trans
(
"supplier"
);
$thirdTypeArray
[
'supplier'
]
=
$langs
->
trans
(
"supplier"
);
if
(
$conf
->
fournisseur
->
enabled
)
$elementTypeArray
[
'supplier_invoice'
]
=
$langs
->
trans
(
'SuppliersInvoices'
);
if
(
$conf
->
fournisseur
->
enabled
&&
$user
->
rights
->
fournisseur
->
facture
->
lire
)
$elementTypeArray
[
'supplier_invoice'
]
=
$langs
->
trans
(
'SuppliersInvoices'
);
if
(
$conf
->
fournisseur
->
enabled
)
$elementTypeArray
[
'supplier_order'
]
=
$langs
->
trans
(
'SuppliersOrders'
);
if
(
$conf
->
fournisseur
->
enabled
&&
$user
->
rights
->
fournisseur
->
commande
->
lire
)
$elementTypeArray
[
'supplier_order'
]
=
$langs
->
trans
(
'SuppliersOrders'
);
}
}
print
'</table>'
;
print
'</table>'
;
...
...
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