refactor: finish ‘Referrers and Tooltips’ settings section
This commit is contained in:
parent
b14fbad0e5
commit
1183794170
27 changed files with 1965 additions and 1586 deletions
|
@ -473,6 +473,17 @@ abstract class Engine {
|
|||
);
|
||||
}
|
||||
|
||||
protected function add_input_color( array $args ): void {
|
||||
extract( $args );
|
||||
|
||||
echo sprintf(
|
||||
'<input type="color" name="%s" id="%s"%s/>',
|
||||
$name,
|
||||
$name,
|
||||
$disabled ? ' disabled': ''
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
* NEW METHODS END
|
||||
|
|
Reference in a new issue