Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ae95b90a
authored
2015-01-27 14:01:39 -0500
by
Marty Penner
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Translate user prefixes
1 parent
5b929610
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
com/HTML/HTML.php
com/HTML/HTML.php
View file @
ae95b90
...
...
@@ -66,7 +66,8 @@ function selectOptsPrefixesNoBlank($selected = null)
continue
;
}
$sel
=
(
$val
==
$selected
?
' selected'
:
''
);
$label
=
tz_
(
$label
);
$sel
=
$val
==
$selected
?
' selected'
:
''
;
$string
=
'<option value="'
.
$val
.
'"'
.
$sel
.
'>'
.
$label
.
'</option>'
;
$return
.=
$string
;
...
...
@@ -453,10 +454,9 @@ if (!function_exists('url_title')) {
class
Vars
{
public
static
$prefixes
=
[
''
=>
'-- select --'
,
'Mr.'
=>
'Mr'
,
'Mr.'
=>
'Mr
.
'
,
'Mrs.'
=>
'Mrs.'
,
'Ms.'
=>
'Ms.'
,
'Miss'
=>
'Miss'
,
...
...
Please
register
or
sign in
to post a comment