mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
Button style 'cancel' added.
This commit is contained in:
@@ -1256,6 +1256,10 @@ class e_form
|
|||||||
$options['class'] .= 'btn-success';
|
$options['class'] .= 'btn-success';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'cancel':
|
||||||
|
// use this for neutral colors.
|
||||||
|
break;
|
||||||
|
|
||||||
case 'delete':
|
case 'delete':
|
||||||
$options['class'] .= 'btn-danger';
|
$options['class'] .= 'btn-danger';
|
||||||
$options['other'] = 'data-confirm="'.LAN_JSCONFIRM.'"';
|
$options['other'] = 'data-confirm="'.LAN_JSCONFIRM.'"';
|
||||||
|
Reference in New Issue
Block a user