refactor: finish ‘Referrers and Tooltips’ settings section

This commit is contained in:
Ben Goldsworthy 2021-08-07 16:45:47 +01:00
parent b14fbad0e5
commit 1183794170
27 changed files with 1965 additions and 1586 deletions

View file

@ -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