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
aab31bc9
Commit
aab31bc9
authored
May 1, 2011
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Doxygen
parent
3451d03f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/lib/functions.lib.php
+9
-9
9 additions, 9 deletions
htdocs/lib/functions.lib.php
with
9 additions
and
9 deletions
htdocs/lib/functions.lib.php
+
9
−
9
View file @
aab31bc9
...
@@ -305,9 +305,9 @@ function dol_string_nospecial($str,$newstr='_',$badchars='')
...
@@ -305,9 +305,9 @@ function dol_string_nospecial($str,$newstr='_',$badchars='')
}
}
/**
/**
*
\brief
Returns text escaped for inclusion in javascript code
* Returns text escaped for inclusion in
to
javascript code
*
\
param $stringtoescape String to escape
*
@
param $stringtoescape String to escape
*
\
return string Escaped string
*
@
return string Escaped string
*/
*/
function
dol_escape_js
(
$stringtoescape
)
function
dol_escape_js
(
$stringtoescape
)
{
{
...
@@ -3372,9 +3372,9 @@ function get_date_range($date_start,$date_end,$format = '',$outputlangs='')
...
@@ -3372,9 +3372,9 @@ function get_date_range($date_start,$date_end,$format = '',$outputlangs='')
/**
/**
*
\brief
Retourne un tableau des mois ou le mois selectionne
* Retourne un tableau des mois ou le mois selectionne
*
\
param selected Mois a selectionner ou -1
*
@
param selected Mois a selectionner ou -1
*
\
return string or array Month string or array if selected < 0
*
@
return string or array Month string or array if selected < 0
*/
*/
function
monthArrayOrSelected
(
$selected
=
0
)
function
monthArrayOrSelected
(
$selected
=
0
)
{
{
...
@@ -3415,7 +3415,7 @@ function monthArrayOrSelected($selected=0)
...
@@ -3415,7 +3415,7 @@ function monthArrayOrSelected($selected=0)
/**
/**
*
Returns
formated messages (Used to show messages on html output)
*
Print
formated messages
to output
(Used to show messages on html output)
* @param mesgstring Message
* @param mesgstring Message
* @param mesgarray Messages array
* @param mesgarray Messages array
* @param style Style of message output
* @param style Style of message output
...
@@ -3453,7 +3453,7 @@ function dol_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok')
...
@@ -3453,7 +3453,7 @@ function dol_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok')
{
{
print
'<script type="text/javascript">
print
'<script type="text/javascript">
jQuery(document).ready(function() {
jQuery(document).ready(function() {
jQuery.jnotify("'
.
$out
.
'", "'
.
(
$style
==
"ok"
?
3000
:
$style
)
.
'", '
.
(
$style
==
"ok"
?
"false"
:
"true"
)
.
');
jQuery.jnotify("'
.
dol_escape_js
(
$out
)
.
'", "'
.
(
$style
==
"ok"
?
3000
:
$style
)
.
'", '
.
(
$style
==
"ok"
?
"false"
:
"true"
)
.
');
});
});
</script>'
;
</script>'
;
}
}
...
@@ -3466,7 +3466,7 @@ function dol_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok')
...
@@ -3466,7 +3466,7 @@ function dol_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok')
}
}
/**
/**
*
Returns
formated error
s
messages (Used to show
error
s on html output)
*
Print
formated error messages
to output
(Used to show
message
s on html output)
* @param mesgstring Error message
* @param mesgstring Error message
* @param mesgarray Error messages array
* @param mesgarray Error messages array
* @return html Return html output
* @return html Return html output
...
...
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