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
6190ea6c
Commit
6190ea6c
authored
14 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Hide arrows if we use the jquery drag and drop
parent
175e7dfe
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/comm/propal.php
+9
-7
9 additions, 7 deletions
htdocs/comm/propal.php
htdocs/lib/functions.lib.php
+12
-12
12 additions, 12 deletions
htdocs/lib/functions.lib.php
with
21 additions
and
19 deletions
htdocs/comm/propal.php
+
9
−
7
View file @
6190ea6c
...
@@ -1372,6 +1372,8 @@ if ($id > 0 || ! empty($ref))
...
@@ -1372,6 +1372,8 @@ if ($id > 0 || ! empty($ref))
print
'<script>
print
'<script>
jQuery(document).ready(function(){
jQuery(document).ready(function(){
jQuery("#objectline").tableDnD();
jQuery("#objectline").tableDnD();
jQuery(".imgup").hide();
jQuery(".imgdown").hide();
});
});
</script>'
;
</script>'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
htdocs/lib/functions.lib.php
+
12
−
12
View file @
6190ea6c
...
@@ -1397,31 +1397,31 @@ function img_previous($alt = "default")
...
@@ -1397,31 +1397,31 @@ function img_previous($alt = "default")
}
}
/**
/**
*
\brief Affiche logo bas
*
Show logo down arrow
*
\
param alt Texte sur le alt de l'image
*
@
param alt Texte sur le alt de l'image
*
\
param selected Affiche version "selected" du logo
*
@
param selected Affiche version "selected" du logo
*
\
return string Retourne tag img
*
@
return string Retourne tag img
*/
*/
function
img_down
(
$alt
=
"default"
,
$selected
=
0
)
function
img_down
(
$alt
=
"default"
,
$selected
=
0
)
{
{
global
$conf
,
$langs
;
global
$conf
,
$langs
;
if
(
$alt
==
"default"
)
$alt
=
$langs
->
trans
(
"Down"
);
if
(
$alt
==
"default"
)
$alt
=
$langs
->
trans
(
"Down"
);
if
(
$selected
)
return
'<img src="'
.
DOL_URL_ROOT
.
'/theme/'
.
$conf
->
theme
.
'/img/1downarrow_selected.png" border="0" alt="'
.
dol_escape_htmltag
(
$alt
)
.
'" title="'
.
dol_escape_htmltag
(
$alt
)
.
'">'
;
if
(
$selected
)
return
'<img src="'
.
DOL_URL_ROOT
.
'/theme/'
.
$conf
->
theme
.
'/img/1downarrow_selected.png" border="0" alt="'
.
dol_escape_htmltag
(
$alt
)
.
'" title="'
.
dol_escape_htmltag
(
$alt
)
.
'"
class="imgdown"
>'
;
else
return
'<img src="'
.
DOL_URL_ROOT
.
'/theme/'
.
$conf
->
theme
.
'/img/1downarrow.png" border="0" alt="'
.
dol_escape_htmltag
(
$alt
)
.
'" title="'
.
dol_escape_htmltag
(
$alt
)
.
'">'
;
else
return
'<img src="'
.
DOL_URL_ROOT
.
'/theme/'
.
$conf
->
theme
.
'/img/1downarrow.png" border="0" alt="'
.
dol_escape_htmltag
(
$alt
)
.
'" title="'
.
dol_escape_htmltag
(
$alt
)
.
'"
class="imgdown"
>'
;
}
}
/**
/**
*
\brief Affiche logo haut
*
Show logo top arrow
*
\
param alt Texte sur le alt de l'image
*
@
param alt Texte sur le alt de l'image
*
\
param selected Affiche version "selected" du logo
*
@
param selected Affiche version "selected" du logo
*
\
return string Retourne tag img
*
@
return string Retourne tag img
*/
*/
function
img_up
(
$alt
=
"default"
,
$selected
=
0
)
function
img_up
(
$alt
=
"default"
,
$selected
=
0
)
{
{
global
$conf
,
$langs
;
global
$conf
,
$langs
;
if
(
$alt
==
"default"
)
$alt
=
$langs
->
trans
(
"Up"
);
if
(
$alt
==
"default"
)
$alt
=
$langs
->
trans
(
"Up"
);
if
(
$selected
)
return
'<img src="'
.
DOL_URL_ROOT
.
'/theme/'
.
$conf
->
theme
.
'/img/1uparrow_selected.png" border="0" alt="'
.
dol_escape_htmltag
(
$alt
)
.
'" title="'
.
dol_escape_htmltag
(
$alt
)
.
'">'
;
if
(
$selected
)
return
'<img src="'
.
DOL_URL_ROOT
.
'/theme/'
.
$conf
->
theme
.
'/img/1uparrow_selected.png" border="0" alt="'
.
dol_escape_htmltag
(
$alt
)
.
'" title="'
.
dol_escape_htmltag
(
$alt
)
.
'"
class="imgup"
>'
;
else
return
'<img src="'
.
DOL_URL_ROOT
.
'/theme/'
.
$conf
->
theme
.
'/img/1uparrow.png" border="0" alt="'
.
dol_escape_htmltag
(
$alt
)
.
'" title="'
.
dol_escape_htmltag
(
$alt
)
.
'">'
;
else
return
'<img src="'
.
DOL_URL_ROOT
.
'/theme/'
.
$conf
->
theme
.
'/img/1uparrow.png" border="0" alt="'
.
dol_escape_htmltag
(
$alt
)
.
'" title="'
.
dol_escape_htmltag
(
$alt
)
.
'"
class="imgup"
>'
;
}
}
/**
/**
...
...
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