Revision e6f78714
Added by Marcos M over 1 year ago
src/usr/local/www/interfaces.php | ||
---|---|---|
2138 | 2138 |
'addgw4', |
2139 | 2139 |
'Add a new gateway', |
2140 | 2140 |
null, |
2141 |
'fa-plus' |
|
2141 |
'fa-solid fa-plus'
|
|
2142 | 2142 |
))->setAttribute('type','button')->addClass('btn-success')->setAttribute('data-target', '#newgateway4')->setAttribute('data-toggle', 'modal'); |
2143 | 2143 |
|
2144 | 2144 |
$group->setHelp('If this interface is an Internet connection, select an existing Gateway from the list or add a new one using the "Add" button.%1$s' . |
... | ... | |
2192 | 2192 |
'addgw6', |
2193 | 2193 |
'Add a new gateway', |
2194 | 2194 |
null, |
2195 |
'fa-plus' |
|
2195 |
'fa-solid fa-plus'
|
|
2196 | 2196 |
))->setAttribute('type','button')->addClass('btn-success')->setAttribute('data-target', '#newgateway6')->setAttribute('data-toggle', 'modal'); |
2197 | 2197 |
|
2198 | 2198 |
$group->setHelp('If this interface is an Internet connection, select an existing Gateway from the list or add a new one using the "Add" button.%s' . |
... | ... | |
2236 | 2236 |
'add6', |
2237 | 2237 |
'Add', |
2238 | 2238 |
null, |
2239 |
'fa-plus' |
|
2239 |
'fa-solid fa-plus'
|
|
2240 | 2240 |
); |
2241 | 2241 |
|
2242 | 2242 |
$btnaddgw6->setAttribute('type','button')->addClass('btn-success'); |
... | ... | |
2245 | 2245 |
'cnx6', |
2246 | 2246 |
'Cancel', |
2247 | 2247 |
null, |
2248 |
'fa-undo' |
|
2248 |
'fa-solid fa-undo'
|
|
2249 | 2249 |
); |
2250 | 2250 |
|
2251 | 2251 |
$btncnxgw6->setAttribute('type','button')->addClass('btn-warning'); |
... | ... | |
2957 | 2957 |
'btnadvppp', |
2958 | 2958 |
'Advanced PPP', |
2959 | 2959 |
array_path_enabled($pconfig, '', 'pppid') ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars(array_get_path($pconfig, 'pppid')) : 'interfaces_ppps_edit.php', |
2960 |
'fa-cog' |
|
2960 |
'fa-solid fa-cog'
|
|
2961 | 2961 |
))->setAttribute('type','button')->addClass('btn-info')->setAttribute('id')->setHelp('Create a new PPP configuration.'); |
2962 | 2962 |
|
2963 | 2963 |
$form->add($section); |
... | ... | |
3090 | 3090 |
'btnadvppp', |
3091 | 3091 |
'Advanced and MLPPP', |
3092 | 3092 |
array_path_enabled($pconfig, '', 'pppid') ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars(array_get_path($pconfig, 'pppid')) : 'interfaces_ppps_edit.php', |
3093 |
'fa-cog' |
|
3093 |
'fa-solid fa-cog'
|
|
3094 | 3094 |
))->setAttribute('type','button')->addClass('btn-info')->setAttribute('id')->setHelp('Click for additional PPPoE configuration options. Save first if changes have been made.'); |
3095 | 3095 |
|
3096 | 3096 |
$form->add($section); |
... | ... | |
3171 | 3171 |
'btnadvppp', |
3172 | 3172 |
'Advanced and MLPPP', |
3173 | 3173 |
array_path_enabled($pconfig, '', 'pppid') ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars(array_get_path($pconfig, 'pppid')) : 'interfaces_ppps_edit.php', |
3174 |
'fa-cog' |
|
3174 |
'fa-solid fa-cog'
|
|
3175 | 3175 |
))->setAttribute('type','button')->addClass('btn-info')->setAttribute('id')->setHelp('%sClick for additional PPTP and L2TP configuration options. Save first if changes have been made.', $mlppp_text); |
3176 | 3176 |
|
3177 | 3177 |
$form->add($section); |
... | ... | |
3680 | 3680 |
'add4', |
3681 | 3681 |
'Add', |
3682 | 3682 |
null, |
3683 |
'fa-plus' |
|
3683 |
'fa-solid fa-plus'
|
|
3684 | 3684 |
); |
3685 | 3685 |
|
3686 | 3686 |
$btnaddgw4->setAttribute('type','button')->addClass('btn-success'); |
... | ... | |
3689 | 3689 |
'cnx4', |
3690 | 3690 |
'Cancel', |
3691 | 3691 |
null, |
3692 |
'fa-undo' |
|
3692 |
'fa-solid fa-undo'
|
|
3693 | 3693 |
); |
3694 | 3694 |
|
3695 | 3695 |
$btncnxgw4->setAttribute('type','button')->addClass('btn-warning'); |
Also available in: Unified diff
Update fontawesome references in form buttons