Update bridges.php

This commit is contained in:
Nate 2019-10-19 19:13:15 -06:00
parent c531353bee
commit 22b68771d8
1 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@
}
echo th_order_by('bridge_name', $text['label-bridge_name'], $order_by, $order);
echo th_order_by('bridge_destination', $text['label-bridge_destination'], $order_by, $order);
echo th_order_by('bridge_enabled', $text['label-bridge_enabled'], $order_by, $order, null, "style='text-align: center;'");
echo th_order_by('bridge_enabled', $text['label-bridge_enabled'], $order_by, $order, null, "class='center'");
echo " <th>".$text['label-description']."</th>\n";
if (permission_exists('bridge_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
echo " <td class='action-button'>&nbsp;</td>\n";
@ -222,7 +222,7 @@
}
echo " </td>\n";
echo " <td>".escape($row['bridge_destination'])."</td>\n";
echo " <td class='no-link' style='text-align: center;'>";
echo " <td class='no-link center'>";
echo button::create(['type'=>'submit','class'=>'link','label'=>$text['label-'.$row['bridge_enabled']],'title'=>$text['button-toggle'],'onclick'=>"list_self_check('checkbox_".$x."'); list_action_set('toggle'); list_form_submit('form_list')"]);
echo " </td>\n";
echo " <td class='description overflow'>".escape($row['bridge_description'])."</td>\n";