changes default color
parent
9dac09b453
commit
1dfe6948be
|
@ -2,7 +2,7 @@
|
|||
die('This file cannot be directly accessed.');
|
||||
} ?>
|
||||
<?php
|
||||
$default_color = '#00A7DA';
|
||||
$default_color = '#ff1ab2';
|
||||
$color = CHV\getSetting('theme_main_color');
|
||||
|
||||
if (!G\is_valid_hex_color($color)) {
|
||||
|
|
|
@ -1930,7 +1930,7 @@ function free_version_warning($wrap=true)
|
|||
|
||||
<div class="input-label">
|
||||
<label for="theme_main_color"><?php _se('Main color'); ?></label>
|
||||
<div class="c4"><input type="text" name="theme_main_color" id="theme_main_color" class="text-input" value="<?php echo CHV\Settings::get('theme_main_color', true); ?>" placeholder="#00A7DA" pattern="#?([\da-fA-F]{2})([\da-fA-F]{2})([\da-fA-F]{2})" title="<?php _se('Hexadecimal color value'); ?>" rel="toolTip" data-tipTip="right"></div>
|
||||
<div class="c4"><input type="text" name="theme_main_color" id="theme_main_color" class="text-input" value="<?php echo CHV\Settings::get('theme_main_color', true); ?>" placeholder="#ff1ab2" pattern="#?([\da-fA-F]{2})([\da-fA-F]{2})([\da-fA-F]{2})" title="<?php _se('Hexadecimal color value'); ?>" rel="toolTip" data-tipTip="right"></div>
|
||||
<div class="input-below input-warning red-warning"><?php echo get_input_errors()['theme_main_color']; ?></div>
|
||||
<div class="input-below"><?php _se('Use this to set the main theme color. Value must be in <a href="%s" target="_blank">hex format</a>.', 'http://www.color-hex.com/'); ?></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue