Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AdminLTE renderer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
IML Open Source
AdminLTE renderer
Merge requests
!19
update type declarations
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
update type declarations
update_renderer_class
into
main
Overview
0
Commits
2
Pipelines
0
Changes
2
Merged
Hahn Axel (hahn)
requested to merge
update_renderer_class
into
main
10 months ago
Overview
0
Commits
2
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
main
version 1
9275ab14
10 months ago
main (base)
and
latest version
latest version
4b6a0825
2 commits,
10 months ago
version 1
9275ab14
1 commit,
10 months ago
2 files
+
7
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
public_html/classes/htmlelements.class.php
+
6
−
6
Options
@@ -25,9 +25,9 @@ class htmlelements
* set of auto generated icon prefixes
* @var array
*/
var
$_aIcons
=
array
(
var
$_aIcons
=
[
// 'fa-'=>'fa ',
)
;
]
;
/**
* label of an html tag (pseudo attribute)
@@ -39,7 +39,7 @@ class htmlelements
* hash of attributes and values of an html tag
* @var array
*/
var
$_aAttributes
=
array
()
;
var
$_aAttributes
=
[]
;
// ----------------------------------------------------------------------
@@ -166,7 +166,7 @@ class htmlelements
* @param array $aAttributes attributes of the select tag
* @return string
*/
public
function
getFormInput
(
$aAttributes
)
public
function
getFormInput
(
array
$aAttributes
)
:
string
{
$sTpl
=
'<input %s/>'
;
$this
->
_setAttributes
(
$aAttributes
);
@@ -191,12 +191,12 @@ class htmlelements
* @param array $aOptions array for all option fields
* @return string
*/
public
function
getFormSelect
(
array
$aAttributes
,
array
$aOptions
=
array
())
public
function
getFormSelect
(
array
$aAttributes
,
array
$aOptions
=
[]):
string
{
// $sTpl = '<select %s>%s</select>';
if
(
!
count
(
$aOptions
))
{
return
false
;
return
''
;
}
$sOptions
=
''
;
foreach
(
$aOptions
as
$aOptionAttributes
)
{
Loading