Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
2b89dab9
Commit
2b89dab9
authored
Dec 15, 2014
by
Benoit Mortier
Browse files
Fixes:
#3516
removing no longe user setButton function
parent
b8694ed1
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/class_msgPool.inc
View file @
2b89dab9
...
...
@@ -423,7 +423,7 @@ class msgPool {
{
/* Stylize example */
if
(
$example
!=
""
)
{
$example
=
"<br><br><i>"
.
_
(
"Example"
)
.
"
:
</i> "
.
$example
;
$example
=
"<br><br><i>"
.
_
(
"Example
:
"
)
.
"</i> "
.
$example
;
}
/* If validChars are posted, take data and paint all invalid
...
...
@@ -443,11 +443,11 @@ class msgPool {
}
}
return
sprintf
(
_
(
"The
F
ield '%s' contains invalid characters"
),
$name
)
.
". "
.
return
sprintf
(
_
(
"The
f
ield '%s' contains invalid characters"
),
$name
)
.
". "
.
(
strlen
(
$mismatch
)
==
1
?
sprintf
(
_
(
"'%s' is not allowed:"
),
$mismatch
)
:
sprintf
(
_
(
"'%s' are not allowed!"
),
$mismatch
))
.
"<br><br>
\"
$result
\"
$example
"
;
}
else
{
return
sprintf
(
_
(
"The
F
ield '%s' contains invalid characters
!
"
),
$name
)
.
"!
$example
"
;
return
sprintf
(
_
(
"The
f
ield '%s' contains invalid characters"
),
$name
)
.
"!
$example
"
;
}
}
...
...
@@ -513,16 +513,6 @@ class msgPool {
return
(
$what
==
""
?
sprintf
(
_
(
"Delete"
))
:
sprintf
(
_
(
"Delete %s"
),
$what
));
}
/*!
* \brief Text for an set button
*
* \param string $what Text for the button
*/
public
static
function
setButton
(
$what
=
""
)
{
return
(
$what
==
""
?
sprintf
(
_
(
"Set"
))
:
sprintf
(
_
(
"Set %s"
),
$what
));
}
/*!
* \brief Text for an edit button
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment