fixed minor error in visual console favourite
This commit is contained in:
parent
7c928e9cc1
commit
4c908dd8ad
|
@ -177,7 +177,7 @@ $table->data[5][1] .= '<span class="opt" style="visibility:hidden;">
|
|||
value="modsize">' . __('Get default image size') .
|
||||
'</button></span>';
|
||||
|
||||
$table->data[6][0] = __('Fovourite visual console');
|
||||
$table->data[6][0] = __('Favourite visual console');
|
||||
$table->data[6][1] = html_print_checkbox('is_favourite', 0, $is_favourite, true);
|
||||
|
||||
if ($action == 'new') {
|
||||
|
|
|
@ -528,7 +528,7 @@ function config_update_config () {
|
|||
|
||||
if (!config_update_value ('vc_refr', get_parameter('vc_refr')))
|
||||
$error_update[] = __('Default interval for refresh on Visual Console');
|
||||
if (!config_update_value ('vc_favourite_view', (int) get_parameter('vc_favourite_view', 0)))
|
||||
if (!config_update_value ('vc_favourite_view', (int) get_parameter('vc_favourite_view', 5)))
|
||||
$error_update[] = __('Default line favourite_view for the Visual Console');
|
||||
if (!config_update_value ('vc_menu_items', (int) get_parameter('vc_menu_items', 10)))
|
||||
$error_update[] = __('Default line menu items for the Visual Console');
|
||||
|
|
Loading…
Reference in New Issue